On Fri Sep 16, 2011 at 09:56:58AM -0400, Alex wrote: > Hi, > > For completeness, these are the steps I have followed, assuming a > RAID1 array is md0: > > # mdadm --grow /dev/md0 --bitmap=none > # mdadm --grow /dev/md0 --level=5 --raid-devices=3 > - wait for reshape to complete > # mdadm --grow /dev/md0 --bitmap=internal > > I noticed there is a difference between one array and another: > > md125 : active raid5 sdb1[0] sda1[2] sdc1[1] > 1023976 blocks super 1.0 level 5, 4k chunk, algorithm 2 [3/3] [UUU] > bitmap: 0/1 pages [0KB], 65536KB chunk > > md126 : active raid5 sdb2[0] sda2[2] sdc2[1] > 102397816 blocks super 1.1 level 5, 4k chunk, algorithm 2 [3/3] [UUU] > bitmap: 0/1 pages [0KB], 65536KB chunk > > Is that a reference to the superblock? Why would they be different? > They were both created at the same time with the same fedora15 > versions. This is created at the time the filesystem is created, > correct? > I assume md125 is /boot? This showed up as superblock 1.0 earlier anyway. You need to use either 0.9 or 1.0 with grub (grub 1 anyway, I've never used grub 2 so I'm not sure what that handles) as they place the RAID metadata at the end of the drives. This means grub can access the drives as though they were independent disks, ignoring the RAID. If you set these up at install time then I assume Fedora automatically used the correct superblock. > It looks like this has also now affected grub, as the system no longer > boots. Is this expected? > > When I try to reinstall grub, it fails with an error relating to /boot: > > # grub-install --recheck --root-directory=/mnt/disk /dev/sda > Probing devices to guess BIOS drives. This may take a long time. > /dev/md125 does not have any corresponding BIOS drive. > > Maybe /boot should be left as RAID1? > Yes, grub 1 can only boot from (what it sees as) standalone drives, (so RAID1 with superblock 0.9 or 1.0 will work as the filesystem is in exactly the same position as on a non-RAID drive). You'll need to convert this back, though you can set it up as a 3-disk RAID1, giving you extra redundancy. I doubt you'd need the extra space there anyway. Cheers, Robin -- ___ ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" |
Attachment:
pgpur4ZOq0Yam.pgp
Description: PGP signature