Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474694

Summary: sys-kernel/genkernel-3.4.45.1 and sys-kernel/dracut-029 do not support udev or RaidZ ZFS due to disk reordering?
Product: Gentoo Hosted Projects Reporter: wxy
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, bkohler, nikoli, tobias.pal, tsmksubc
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description wxy 2013-06-25 08:42:23 UTC
It appears only Genkernel-next can produce an initramfs that creates the /dev/disks/by-id symblinks. Without these it is impossible to deploy large ZFS raid arrays on controllers that attaches disks asynchronously.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2013-07-06 13:33:43 UTC
This is a genkernel bug. I am part of the genkernl team, so assigning this to me was not necessarily wrong. My plan is to merge udev support into genkernel to resolve this, but my time is limited. I will do it when I find time unless someone else beats me to it.
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-07-06 14:16:12 UTC
and Dracut? Dracut doesn't officially support ZFS, yet.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2015-08-26 18:04:28 UTC
genkernel HEAD has support for generating /dev/disk/by-id/ata-* and  /dev/disk/by-id/virtio-* symlinks during boot:

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=876782989c5bc190ecc37faad40b2c2adc544c12

It will be in v3.4.53. I am marking this as IN_PROGRESS until the next release.
Comment 4 Ben Kohler gentoo-dev 2017-09-07 18:21:44 UTC
This fix appears to be in current stable 3.4.52.4-r2 already, please reopen with details if this is still a problem for you