Closed rwanyoike closed 7 years ago
This idea comes from the ZFS ArchWiki recommendation against importing pools using /dev/sd? and https://github.com/zfsonlinux/zfs/wiki/FAQ#selecting-dev-names-when-creating-a-pool.
/dev/sd?
The zfs mkinitcpio hook on Archlinux for example has:
zfs
To search for devices in a directory other than "/dev": zfs_import_dir=/dev/disk/by-uuid or zfs_import_dir=/dev/disk/by-partuuid or zfs_import_dir=/dev/disk/by-path etc.
ZFS searches the devices recursively, I use /dev/mapper paths. So I don't think there is any reason to specify the directory.
/dev/mapper
This idea comes from the ZFS ArchWiki recommendation against importing pools using
/dev/sd?
and https://github.com/zfsonlinux/zfs/wiki/FAQ#selecting-dev-names-when-creating-a-pool.The
zfs
mkinitcpio hook on Archlinux for example has: