On Mon, Dec 31, 2012 at 2:28 PM, Bruce Hill
<[email protected]> wrote:
> On Mon, Dec 31, 2012 at 02:09:35PM -0800, Mark Knecht wrote:
>>
>> I don't know if you're right but it makes sense. If I need e2label to
>> read labels from the CLI then I probably need all the same stuff in
>> the initramfs which this one doesn't have.
>>
>> The problem I have with that idea is that all I put in the RAID6 which
>> does have an initramfs is e2fsck, not e2label or anything else.
>> However maybe e2fsck has that capability and that's why it's working?
>>
>> Good catch!
>>
>> Thanks, and best wishes for the new year and a safe New Year's eve to all.
>>
>> Cheers,
>> Mark
>
> I've deleted your OP (sorry), but also, the kernel autodetects RAID using
> metadata 0.90 superblocks, but not 1.2 superblock (seems your output had some
> of each?).
> --

Hi Bruce,
   Yes, in the first and older Gentoo build I'm letting the kernel
autodetect RAID1 to find /. That's the install that does NOT work
mounting by label.

   In the second install I use an initramfs, / is on a RAID6 and is
not autodetected. Rather I assemble the RAID6 within the initramfs
using mdadm --assemble ####. The initramfs has both e2fsck & mdadm so
it's able to assemble the RAID. It's also able to mount by label
without any problems.

   Joost is suggesting that there might have been a thread earlier
this year that said you must use an initramfs to mount by label, but I
cannot find any grub documentation that supports that, and so far have
not discovered the thread he's remembering.

HTH, and thanks!
Mark

Reply via email to