Hi;
I am looking for a simple emergency procedure for one of our Linux
Servers.
My idea is to mirror the whole Disk so i can simply switch to the
mirror disk in case of a device failure. The procedure has to be as
simple and fast
as possible (no case opening,Jumper changing etc)!
I have 3 disks
sda: / /usr /opt
sdb: mirror
sdc: not really important ...
I case of a failure i would perhaps replace the disk if one is available
at that time ...
or just boot from sdb. _Worst_case_ is no news disk is available or no
time to dd the stuff to the new disk !
Procedure :
a) change /etc/fstab (with bootable INSTALL CD)
b) make sdb the first bootable disk (via Adapetec BIOS)
CTRL D and go
I verified that dd works - did a fsck - also ok. The only think i am not
sure
about is how lilo looks at disks (didn't test this). I have written lilo
to the MBR
of sda so this is also on sdb. This would work if lilo operates with an
idea
where to boot from like: this.disk:this.slice and not
dev(targetID).slice
If the 2nd is true what can i do ??? Is there a way to run lilo from the
RH6 bootable CDROM or better before and how does the cmdline should look
????
Thanks in advance
hb