On Mon, 24 Feb 2020 at 18:58, Rocky Hotas <[email protected]> wrote: > > - If you make a zfs filesystem on a disklabel partition (eg wd0f) and > > the disk moves zfs does not seem to be able to find it again. > > Do you mean if the disk is removed from the system and then plugged > there again?
Or if another disk is plugged in that appears as a lower numbered device, for example making the disk switch from wd1 to wd2. > > zfs best practice is to use raw devices, so this shouldn't be an issue > > for most people > > For example, assume that you would like to create a new pool called > `newpool' using disk /dev/wd0. > By `using the raw device', are you meaning `zpool create newpool rwd0'? Apologies, poor phrasing on my part - I meant whole devices rather than partition within a device - so wd4, ld0, sd3, as opposed to wd1e or raid2f. I suspect wedges such as dk3 should be fine, but again, better to give zfs the whole device. (on a note of light amusement I have used all of the mentioned devices in zfs pools at least once :) David
