grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] just skip over invalid/unsupported RAID


From: Felix Zielcke
Subject: [PATCH] just skip over invalid/unsupported RAID
Date: Mon, 11 Aug 2008 13:42:16 +0200

I said this already on Bean's RAID topic, but I think I just make now a
new topic instead of messing him's up.

So here's again a patch which changes grub_error into grub_dprintf,
it's the same reason as with these invalid BSD disklabels/partitions

See [0] for a good reason.
GRUB shouldn't fail to rescue mode, if an unsupport RAID (in this case
6) is used on disks which GRUB doestn't even need to access.
Reporter has / and /boot on a raid1 and his raid6 is at the time of the
report not even mounted.

I wasn't that sure about the last case, I changed.
I had this too with my raid 1 experiments, as I forgot to
--zero-superblock the second disk.

Normaly it sohuld never happen that you have more disks for an array as
the super block says you have.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494501

2008-08-11  Felix Zielcke  <address@hidden>

        * disk/raid.c (grub_raid_scan_device): Do not abort on unsupported RAID
        levels or if something is wrong, use grub_dprintf to issue a warning.

Attachment: raid_dprintf.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]