wildwizard |
04-26-2013 06:01 PM |
Quote:
Originally Posted by xj25vm
(Post 4939257)
Looking at the man page for lilo.conf, it seems that raid-extra-boot mainly deals with where the boot record will be written.
|
Given a RAID1 setup with 2 disks the correct use of this option will enable lilo to write itself to both disks so that when a disk is removed lilo will still be on the remaining disk.
Quote:
I'm not sure how lilo would be dealing with being able to point to the kernel or initrd on *either* /boot partition - to cope with one hdd going missing.
|
The way lilo writes it's records to each disk is such that if the disks are different or have partitions in different locations each record is unique to the disk it sits on.
When a disk is removed from a computer the remaining disks are reordered in sequence, all lilo has to do is assume it is on the first disk and it will load.
Quote:
Actually, thinking about it, I'm not sure how lilo copes even at the moment with loading the kernel or the initrd off a /boot partition which sits on top of RAID 1.
|
So long as it is only RAID1 and a v0.9 superblock and does not have partitions inside the RAID device then lilo can create a sector map of the files it needs to load.
This is no different to booting off a non RAID device, it just has extra options to enable creating the extra boot records on the second and later disks in case of the first disk suffering a failure.
I should also point out that RAID is not designed to deal with data corruption on a disk only the total failure of a disk, data corruption can only be dealt with via backups.
|