Hi,
2 disks with RH 5.2, kernel 2.2.14 + RAID-patch: root and swap are
regular partitions, while /tmp, /var and /usr are mirrored. Yesterday
I installed a new bootdisk (the other one had medium errors in the
root-partition) and of course the new disk has a different
geometry. Anyway, I managed to partition the whole thing so that the
new partitions are slightly larger than the old ones and it
worked. OTOH the partition numbers have changed, so that md0 consists
of sda5 and sdb7. Well, anything works fine, but...
Today I received a call, that some strange noises come out of the
harddisk case, maybe this is a sign of an upcoming disk failure so I
started wondering what happens, if one of the disks really fails. If
the second disk fails - well, this could wait 3 weeks, I won't
interrupt my holiday for it, at least I could send someone else to the
customer, let him change the disks and would do the configuration
stuff via ssh.
But what happens if the first disk fails? I copied the root-filesystem
with tar to the second disk, so that it would be possible to boot via
floppy. Will the RAID-system recognize, that md0 comes from sda7
instead of sda5/sdb7? If not, how could I change this?
BTW, how do I tell LILO that it should write the bootsector to the
second disk to make it bootable? "lilo -r /mnt/tmp -b /dev/sdb"
(/dev/sda1 was mounted on /mnt/tmp and contained a copy of /) produced
many errors ("81" AFAIR) on reboot.
Thanks,
Jochen
P.S.: after all the RAID-stuff works quite nice, good work! :)
--
# mgm ComputerSysteme und -Service GmbH
# Sophienstr. 26 / 70178 Stuttgart / Germany / Voice: +49.711.96683-5
The Internet treats censorship as a malfunction and routes around it.
--John Perry Barlow