On Sat, May 17, 2014 at 8:56 AM, Stefan G. Weichinger <li...@xunil.at>wrote:

> It seems to not detect or interpret correctly the fact that there are 2
> physical devices in there and then the "linux ..." line for grub.cfg
> gets messed up, at least for me here.
>

ACK, genkernel initramfs doesn't "btrfs scan" and TSHTF.  genkernel-next
works though.  But if you have it working now without any initramfs then
obviously that is full of win (the LA kind, not the Redmond variety)!

I am a bit mystified -- or perhaps ignorant -- as to how it came to be that
btrfs has no option to automatically initiate a scan (like md raid does,
when it's built into the kernel as a non-module).  Surely people must want
that feature.  I can see how scanning the wrong partitions could lead to
terrible mayhem, though, say, in a disaster recovery scenario where you
binary-cloned a failing drive and forgot to take the old one out before
booting or whatever.... but btrfs has the secret sauce to most likely
figure stuff like that out auto-magically anyhow, using the genid... so
what gives?  Anyone know?

Perhaps the option really is there and I simply never found it; admittedly
I didn't look very hard -- regardless, I can't imagine the btrfs people
just "never thought of it".  If i's really not implemented, there must be a
reason... and if that reason doesn't apply to my situation I might consider
patching such a feature into my kernels as this is the only thing tying my
workstation to an initramfs.

-gmt

Reply via email to