[Kernel-packages] [Bug 1688890] [NEW] initramfs-zfs should support misc /dev dirs

2017-05-06 Thread Jens Elkner
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


[Kernel-packages] [Bug 1688890] [NEW] initramfs-zfs should support misc /dev dirs

2017-05-06 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

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

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

-- 
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