Andy, You should be using lilo version 22.1 to write to both device boot records with the same lilo operation. Thanks. Cress, Andrew R wrote: >My RAID-1 root mirror seems to be ok, except that the second disk (/dev/sdb) >doesn't get tagged when I run lilo. I've never seen this before, and I >wondered how to fix it? > >I'm running kernel 2.4.16 and a RH7.1 base distro. >I did do an "mdctl --examine" on it also, results below. > >Andy >-----------info following---------- ># lilo >boot = /dev/sda, map = /boot/map.0801 >Added linux >Added linux-up >Added linux242-orig >Added linux-16 >Added linux-tlt * >Added linux-orig > ># cat /etc/lilo.conf >boot=/dev/md1 >map=/boot/map >install=/boot/boot.b >prompt >timeout=50 >append="panic=5 " >message=/boot/message >linear >default=linux-tlt > >image=/boot/vmlinuz-2.4.2-2smp > label=linux > initrd=/boot/initrd-2.4.2-2smp.img > read-only > root=/dev/md0 > >image=/boot/vmlinuz-2.4.2-2 > label=linux-up > initrd=/boot/initrd-2.4.2-2.img > read-only > root=/dev/md0 > >image=/boot/vmlinuz-2.4.2-2orig > label=linux242-orig > initrd=/boot/initrd-2.4.2-2orig.img > read-only > root=/dev/md0 > >image=/boot/vmlinuz-2.4.16-1smp > label=linux-16 > initrd=/boot/initrd-2.4.16-1smp.img > read-only > root=/dev/md0 > >image=/boot/vmlinuz-2.4.16 > label=linux-tlt > initrd=/boot/initrd-2.4.16.img > read-only > root=/dev/md0 > >image=/boot/vmlinuz-2.4.16-orig > label=linux-orig > initrd=/boot/initrd-2.4.16-orig.img > read-only > root=/dev/md0 > ># cat /proc/mdstat >Personalities : [raid1] >read_ahead 1024 sectors >md1 : active raid1 sdb1[1] sda1[0] > 72192 blocks [2/2] [UU] > >md2 : active raid1 sdb5[1] sda5[0] > 136448 blocks [2/2] [UU] > >md0 : active raid1 sdb6[1] sda6[0] > 8747264 blocks [2/2] [UU] > >unused devices: <none> > ># fdisk -l >Disk /dev/sda: 255 heads, 63 sectors, 1115 cylinders >Units = cylinders of 16065 * 512 bytes > > Device Boot Start End Blocks Id System >/dev/sda1 * 1 9 72261 fd Linux raid autodetect >/dev/sda2 10 1115 8883945 5 Extended >/dev/sda5 10 26 136521 fd Linux raid autodetect >/dev/sda6 27 1115 8747361 fd Linux raid autodetect > >Disk /dev/sdb: 255 heads, 63 sectors, 4462 cylinders >Units = cylinders of 16065 * 512 bytes > > Device Boot Start End Blocks Id System >/dev/sdb1 * 1 9 72261 fd Linux raid autodetect >/dev/sdb2 10 1115 8883945 5 Extended >/dev/sdb5 10 26 136521 fd Linux raid autodetect >/dev/sdb6 27 1115 8747361 fd Linux raid autodetect > ># mdctl --examine output for [sda6,sdb6,sda1,sdb1] (root & boot partitions) > >/dev/sda6: > Magic : a92b4efc > Version : 00.90.00 > UUID : 11247060:d0592382:538c7980:c9ad93c2 > Creation Time : Tue Aug 28 17:32:40 2001 > Raid Level : raid1 > Size : 8747264 > Raid Disks : 2 > Total Disks : 1 >Preferred Minor : 0 > > Update Time : Mon Feb 4 12:40:50 2002 > State : dirty, no-errors > Active Drives : 2 > Working Drives : 2 > Failed Drives : -1 > Spare Drives : 4 > Checksum : 205440b8 - correct > Events : 0.218 > > > Number Major Minor RaidDisk State >this 0 8 6 0 active sync /dev/sda6 > 0 0 8 6 0 active sync /dev/sda6 > 1 1 8 22 1 active sync /dev/sdb6 > 2 2 0 0 2 faulty removed > 3 0 0 0 0 sync > 4 0 0 0 0 sync > 5 0 0 0 0 sync >/dev/sdb6: > Magic : a92b4efc > Version : 00.90.00 > UUID : 11247060:d0592382:538c7980:c9ad93c2 > Creation Time : Tue Aug 28 17:32:40 2001 > Raid Level : raid1 > Size : 8747264 > Raid Disks : 2 > Total Disks : 1 >Preferred Minor : 0 > > Update Time : Mon Feb 4 12:40:50 2002 > State : dirty, no-errors > Active Drives : 2 > Working Drives : 2 > Failed Drives : -1 > Spare Drives : 4 > Checksum : 205440ca - correct > Events : 0.218 > > > Number Major Minor RaidDisk State >this 1 8 22 1 active sync /dev/sdb6 > 0 0 8 6 0 active sync /dev/sda6 > 1 1 8 22 1 active sync /dev/sdb6 > 2 2 0 0 2 faulty removed > 3 0 0 0 0 sync > 4 0 0 0 0 sync > 5 0 0 0 0 sync >/dev/sda1: > Magic : a92b4efc > Version : 00.90.00 > UUID : d7557de6:363404e9:468308b6:5a33c779 > Creation Time : Tue Aug 28 17:32:29 2001 > Raid Level : raid1 > Size : 72192 > Raid Disks : 2 > Total Disks : 1 >Preferred Minor : 1 > > Update Time : Mon Feb 4 16:18:39 2002 > State : dirty, no-errors > Active Drives : 2 > Working Drives : 2 > Failed Drives : -1 > Spare Drives : 1 > Checksum : cf58c674 - correct > Events : 0.204 > > > Number Major Minor RaidDisk State >this 0 8 1 0 active sync /dev/sda1 > 0 0 8 1 0 active sync /dev/sda1 > 1 1 8 17 1 active sync /dev/sdb1 > 2 2 0 0 2 faulty removed >/dev/sdb1: > Magic : a92b4efc > Version : 00.90.00 > UUID : d7557de6:363404e9:468308b6:5a33c779 > Creation Time : Tue Aug 28 17:32:29 2001 > Raid Level : raid1 > Size : 72192 > Raid Disks : 2 > Total Disks : 1 >Preferred Minor : 1 > > Update Time : Mon Feb 4 16:18:39 2002 > State : dirty, no-errors > Active Drives : 2 > Working Drives : 2 > Failed Drives : -1 > Spare Drives : 1 > Checksum : cf58c686 - correct > Events : 0.204 > > > Number Major Minor RaidDisk State >this 1 8 17 1 active sync /dev/sdb1 > 0 0 8 1 0 active sync /dev/sda1 > 1 1 8 17 1 active sync /dev/sdb1 > 2 2 0 0 2 faulty removed > >- >To unsubscribe from this list: send the line "unsubscribe linux-raid" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html