hi philippe

since i am typing from memory...

if you have access to rh-7.1... try it...
        - be sure you have selected "fd" type...NOT linux ( type 82 )

and i would NOT separate / and /boot
my standard partitions was/is...

        name    size            ------- -- raid 1 ---------
        -----   ------
        /       96Mb            /dev/hda1       /dev/hdb1   --> /dev/md0
        /tmp    128Mb           /dev/hda2       /dev/hdb2   --> /dev/md1
        /var    512M            /dev/hda3       /dev/hdb3   --> /dev/md2
        /usr    4096M           /dev/hda5       /dev/hdb5   --> /dev/md3
        swap    512M            /dev/hda6       /dev/hdb6   swap
        /opt    rest of disk    /dev/hda7       /dev/hda7   --> /dev/md4


than try to connect/disconnect hda or hdb  and see
if it still boots...


if one dirve fails...you should be able to boot from the other one

have fun
alvin


On Thu, 10 May 2001, Philippe Trolliet wrote:

> hi alvin,
> that is already my setup. root points to /dev/hda1. but when i unplug one hd
> then lilo doesn?t boot.
> i also want to have the ability to boot with lilo when one hd fails, no
> matter if it is hda or hdc.
> my raidtab setup is the following:
> /dev/md0 mounted as / consists of /dev/hda3 and /dev/hdc3.
> /dev/md1 mounted as /boot consists of /dev/hda1 and /dev/hdc1.
> in lilo i tried to set root=/dev/md0, but this doesn?t work.
> i heard that there is a patch for lilo to boot from md.
> thanks
> regards
> phil
> 
> -----Original Message-----
> From: Alvin Oga [mailto:[EMAIL PROTECTED]]
> Sent: Donnerstag, 10. Mai 2001 00:02
> To: Philippe Trolliet
> Cc: Alvin Oga; [EMAIL PROTECTED]
> Subject: RE: lilo and raid1
> 
> 
> 
> hi philippe...
> 
> unfortunately... i didnt keep that lilo.conf setup
> or raidtab... ( nothng fancy in it )
>       - i did NOT change it from the rh-7.1 install
> 
> - during your install be sure to select /dev/hda1 and /dev/hdb1  and
>   'linux-raid" for filesystem type for your /  partition
>       ( NOT default ext2 fs type )
> 
> == you need to be able to login into your system.... somehow...
>       --
>       -- unfortunately...i dont know how you can do that
>       -- since yu have root-raid and lilo did NTO work for you
>       --
>       -- see if you can boot single user mode off of floppy (
>       -- ( hope you made one  )
>       --
>       -- you will most likely, have to re-install your root-raid
>       -- and MAKE a booot floppy when it asks you !!!
>       --
> 
> - your /etc/raidtab should be something like...( key points )
>       raiddev                 /dev/md0
>       raid-level              1
>       device                  /dev/hda1
>       raid-disk               0
>       device                  /dev/hdb1
>       raid-disk               1
>       .....
> 
> - your /etc/fstab ( key points )
>       /       /dev/md0
> 
>       ( and in my case .. more stuff )
>       /tmp    /dev/md1
>       /var    /dev/md2
>       /usr    /dev/md3
>       /opt    /dev/md4
> 
> - your /etc/lilo.conf ( key points )
>       ...
>       boot=/dev/hda1
>       ....
> 
>       image=/boot/vmlinuz-2.4.2
>       ...
>       root=/dev/hda1
>       ...
> 
> than rerun lilo
> 
> have fun
> alvin
> 
> == i suppose i can try to build a suse-7.2(?) root raid and see
>    if it works... over the weekend...
> 
> 
> On Wed, 9 May 2001, Philippe Trolliet wrote:
> 
> > hi olga,
> > my lilo doesn?t boot when a hd is unplugged. it says LIL-. could you send
> me
> > your lilo.conf file or can you help me?
> > thanks
> > regards
> > ph. trolliet
> >
> >
> > hi philippe
> >
> > i just built and booted a raid1 root-boot system...
> > no problem....it was with redhat-7.1 ( installed and works clean, first
> > time thru ) with the default setup/config
> >     linux-2.4.2-redhat permutation
> >     lilo-21.4-4
> >
> > - i unplugged hda  ( master )... and it booted off the slave !!!!
> >     magic !!! thanx guys .. it works !!!
> >     - booted in degraded mode, as it should
> >
> >     - re-plugged in hda  and  hotadd'd hda and rebooted
> >     and alls back to normal
> >
> > what kind of problems are you having ???
> >     - lilo problem - LI- LIL- ??
> >     - it boots but cant loging???
> >     - what doesn't work for you ?
> >
> > - i have NOT tried it with suse-7.1....
> >     - if you are in san jhose area... we can try suse-7.1
> >     too to see what the problem is
> >
> > - i dont understand why redhat would only want /  to be on the 1st
> >   two drives ( hda, hdb )...
> >     if the ide0 cable is bad.. you cant boot off the mirror
> >
> >
> > have fun
> > alvin
> > http://wwww.Linux-1U.net .... 500Gb Raid5 ...
> >
> >
> > On Tue, 8 May 2001, Philippe Trolliet wrote:
> >
> > > hello,
> > > i tried some lilo configurations one of them was the configuration from
> > the
> > > Boot+Root+Raid1+Lilo-HOW-TO but it didn4t work.
> > > how do i have to setup lilo (21.6) to boot from a raid1 device?
> > > where can i find the lilo raid1 patch? do i need it for my lilo version
> ?
> > > version:
> > > LILO version 21.6
> > >
> > > thanks a lot
> > > regards
> > > phil
> > > PS: i have a suse linux distribution 7.1.
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > > the body of a message to [EMAIL PROTECTED]
> > >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to [EMAIL PROTECTED]
> >
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to