I would suspect lilo is not writing boot info to both disks.

Try "/sbin/lilo -v -v -v <other options> " to see what lilo is actually 
writing to which disk. This may shed some light on the problem.

I upgraded lilo to the RH6.2 version (lilo-21.15). The RPM includes 
the raid-1 patch. It works for me (RH6.0) booting from /dev/md0.
It can boot OK from either disk in the array - with the other 
unplugged.

Also add "default=Linux" (or whatever label you have given to the
default image set-up) to lilo.conf. Even lilo-21.15 doesn't
fully duplicate all information on both disks in the array and
on one disk it needs some help to find the image to boot.
(Thanks to Dave Meythaler [[EMAIL PROTECTED]]
for this tip)

There is also a possible issue with the order of /dev/hda5 and 
/dev/hdb5 in the array. See the "Lilo RAID-1 woes" thread in 
the archive http://kernelnotes.org/lnxlists/linux-raid/ 
between May 8th & 10th this year.

Regards
Martin Munt

Draugen Project, SubSea Offshore Limited
Rockwater Building, Stoneywood Park, Dyce, Aberdeen, AB21 7DZ
Tel: +44 1224 795433  Fax: +44 1224 795582
mailto:[EMAIL PROTECTED]

> -----Original Message-----
> From: John Saunders [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 23, 2000 11:54 AM
> To:   Thomas Scheuermann
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: Recovery problems with raid1
> 
> Hi
> 
> I have a similar problem.....
> 
> /dev/md1 consists of /dev/hda5 and /dev/hdb5
> 
> When running LILO only /dev/hdb is updated.
> 
> Should /dev/hdb fail, I cannot boot from /dev/hda and get a message that
> no valid boot disk was found.
> 
> I have tried installing a new /dev/hda, fdisk'd and raidhotadd'd the
> drive.
> 
> After array resonstruction I ran LILO again with the same result.
> 
> Anyone have any ideas ?.
> 
> Regards
> 
> John
> 
> On Tue, 23 May 2000, Thomas Scheuermann wrote:
> 
> > Hello,
> > 
> > I have some recovery problems with RAID1.
> > (raidtools 0.90)
> > I use Red Hat Linux 6.1 and I have two partitions mirrored (hda8 and
> hdc8).
> > If I loose the second part of the mirror I don't have any problems.
> > I can recreate the RAID1 with raidhotadd /dev/md0 /dev/hdc8.
> > But if I loose the first mirror Red Hat Linux fails to boot because
> > of an invalid RAID configuration.
> > Does anybody know that problem and has maybe a solution ?
> > 
> > Thanks
> > Thomas
> > 
> > -- 
> > Thomas Scheuermann      Software Design Engineer
> > BARCO Control Rooms     Dr. Seufert GmbH
> > 
> > [EMAIL PROTECTED]
> > 

Reply via email to