Public bug reported:

Right now 'zfs-initramfs', i.e. /usr/share/initramfs-tools/scripts/zfs
does not support any other directory than /dev for "zpool import ...".
Therefore even if a pool gets created from a different directory like
/dev, say /dev/disk/by-id or /dev/chassis/SYS on next reboot /dev will
be used and thus zpool status will show the /dev/sd* etc. on successful
import. Beside that now a user does not see the original names used in
"zpool create ..." the unstable names like "/dev/sd*" are shown, which
is explicitly NOT recommended.

The following patch introduces the "pseudo" kernel param named "zdirs" -
a comma separated list of dev dirs to scan on import - which gets used
by /usr/share/initramfs-tools/scripts/zfs to honor it.

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: grub2 (Ubuntu) => zfs-linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1688890

Title:
  initramfs-zfs should support misc /dev dirs

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  Right now 'zfs-initramfs', i.e. /usr/share/initramfs-tools/scripts/zfs
  does not support any other directory than /dev for "zpool import ...".
  Therefore even if a pool gets created from a different directory like
  /dev, say /dev/disk/by-id or /dev/chassis/SYS on next reboot /dev will
  be used and thus zpool status will show the /dev/sd* etc. on
  successful import. Beside that now a user does not see the original
  names used in "zpool create ..." the unstable names like "/dev/sd*"
  are shown, which is explicitly NOT recommended.

  The following patch introduces the "pseudo" kernel param named "zdirs"
  - a comma separated list of dev dirs to scan on import - which gets
  used by /usr/share/initramfs-tools/scripts/zfs to honor it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1688890/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to