Steven J. Long posted on Fri, 02 Aug 2013 12:31:08 +0100 as excerpted:

> As Rich said, lvm doesn't link outside rootfs so it's not an issue: you
> only really need an initramfs if rootfs is on lvm/encrypted/raid, or you
> need udev to get through localmount.

Or, unfortunately, for root on mult-device btrfs[1], since the usual 
kernel commandline rootflags=device=/dev/whatever doesn't seem to work 
for some reason.[2]

Tho hopefully that bug will be fixed before the "experimental" label is 
stripped from btrfs...

---
[1] Yes, as appropriate for running on an experimental fs, I have 
backups, tho the dual-device raid1 mode I'm using is /reasonably/ stable, 
now.  I switched to btrfs when I upgraded to ssd, both for the ssd 
support and for checksummed data/metadata with a second copy to retrieve 
from if the first fails the checksum.

[2] I tried with a btrfs raid1 and could mount either device with root= 
and rootflags=degraded, so it was definitely parsing rootflags, but no 
way was it taking rootflags=device= to mount them undegraded without a 
userspace btrfs device scan first, and that requires an initr*.  Maybe it 
was a problem with the kernel splitting at the second = instead of the 
first, I don't know, but it definitely wasn't working.  So now I'm 
running dracut with several of its default modules stripped via 
INSTALL_MASK including the one pulling in kmod since I'm running 
monolithic kernel and have kmod package.provided, and USE=btrfs plus 
adding it to the module config.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to