Hi everyone,
I have a RH 9 box set up with software RAID 1 with two IDE disks. They
appear to be mirroring fine but when I test the disk by sapping the
primary for the secondary the mirrored disk does not boot. All that
appears on screen is then the BIOS (POST) boot sequence and the the
letters "LIL" on screen. It doesnt want to boot an further. I am using
LILO boot loader but also got the same when I was using GRUB. Once I
swap the disks back it works fine and it works fine with just the
primary disk in the box. Secondary just doesnt want to boot.
If i do a dmesg there is quite a bit in there about raid 1 but towards
the end it says that both disks are mirroring ok:
raid1: device hda2 operational as mirror 0
raid1: device hdc2 operational as mirror 1
raid1: raid set md1 active with 2 out of 2 mirrors
md: updating md1 RAID superblock on device
md: hda2 [events: 0000000f]<6>(write) hda2's sb offset: 1330496
md: hdc2 [events: 0000000f]<6>(write) hdc2's sb offset: 1330944
md: ... autorun DONE.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
________________________________
cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 hda2[0] hdc2[1]
1330496 blocks [2/2] [UU]
md0 : active raid1 hda1[0] hdc1[1]
2559872 blocks [2/2] [UU]
unused devices: <none>
_________________________________
cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda2
raid-disk 0
device /dev/hdc2
raid-disk 1
Does anyone know what I am doing wrong. I am new to RAID and fairly
new to Linux so go easy on me ;)
Thanks
Dan