Linux RAID Mdadm Cheat Sheet
Linux RAID Mdadm Cheat Sheet
Mdadm is the modern tool most Linux distributions use these days to manage software RAID arrays; in the past raidtools was the tool we have used for this. This cheat sheet will show the most common usages of mdadm to manage software raid arrays; it assumes you …Read More
Software Raid Grub issues
raid (mdadm / software raid) issues with grub
Playing around on my labrat I realized that sometimes EL/Centos (6.5 when writing this) messes up booting when using Software raid.
When typical stuff like grub-install from a rescue console doesn’t work:
1 2 3 4 5 |
# chroot /mnt/sysimage/ # grub-install /dev/sda /dev/md0 does not have any corresponding BIOS drive # grub-install --recheck /dev/sda /dev/md0 does not have any corresponding BIOS drive |
Or trying to boot from /boot (/dev/md0):
# grub-install /dev/md0
Let’s try something else:
grub> root (hd0,0)
root …Read More