/boot on RAID1 with fedora21
Sam Varshavchik
mrsam at courier-mta.com
Sat May 16 13:36:31 UTC 2015
Alex Regan writes:
> Hi,
>
>> In the past, it's had a tendency to always put /boot only on
>> /dev/sda, meaning if the first disk dies, the system becomes unable
>> to boot.
>>
>> I have a software RAID for /boot working on CentOS 6 servers at work, so
>> I would be very surprised if it could not also be done in Fedora. It
>> does require you to be somewhat familiar with RAID and disk partitioning
>> concepts to make it work.
>
> It appears to work, but...
>
>> Also, you have to look out for the boot block install (what
>> "grub2-install" puts on the disk). It doesn't do you any good to have a
>> RAID for /boot if the boot block isn't also present on both disks.
>
> Installing to /dev/md0 has also been a problem. Is the procedure to install
> /dev/sda and /dev/sdb, then switch the boot order in the BIOS when sda dies?
>
> Often times when it dies, it won't automatically switch to another disk, it
> seems.
Did you install grub both on /dev/sda and /dev/sdb?
Just using RAID1 for /boot on two drives isn't sufficient to be able to boot
off the other drive, when swapped. grub also needs to be installed on both
drives. And, yes, grub only gets installed on /dev/sda by default.
After installing Fedora, you need to manually execute
/sbin/grub2-install /dev/sdb
Hopefully, the lobotomized partitioner in recent versions of Fedora, which
now hides all partitioning details from the idiot user, except for the total
partition size, leaves sufficient room for grub2 on /dev/sdb and /dev/sda.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150516/4606072d/attachment.sig>
More information about the users
mailing list