Re: HELP - need more documentation on using partitioned (mdp-type) md devices

2 messages, 2 authors, 2002-11-05 · open the first message on its own page

Re: HELP - need more documentation on using partitioned (mdp-type) md devices

From: Neil Brown <hidden>
Date: 2002-11-05 04:33:04

On Monday November 4, listacct1@lvwnet.com wrote:
If anybody (Neil?) can offer some advice on how to get LILO to write a 
boot sector to the RAID1 array pair, it would be greatly appreciated.  I 
am so close to getting this working!!!
First, lilo thinks it knows what "/dev/md*" means, and gets all
confused when it turns out to be different.
So create device names that *don't* start /dev/md.
e.g.
   /dev/MDa == 60,0
   /dev/MDa1 == 60,1
   etc

Second, you have to tell lilo about the geometry of /dev/MD*, because
it doesn't know:

   boot=/dev/MDa
   disk=/dev/MDa
     bios=0x80
     sectors=63
     heads=255
     cylinders=1024
     partitions=/dev/MDa1
      start=63

The "start" is very important.  check what the start sector of MDa1
is, and use that.

Lilo should then work.

NeilBrown

Re: HELP - need more documentation on using partitioned (mdp-type) md devices

From: Vinnie <hidden>
Date: 2002-11-05 05:59:17

Neil Brown wrote:

 > On Monday November 4, listacct1@lvwnet.com wrote:
 >
 >>If anybody (Neil?) can offer some advice on how to get LILO to write a
 >>boot sector to the RAID1 array pair, it would be greatly appreciated.  I
 >>am so close to getting this working!!!
 >>
 >>
 >
 > First, lilo thinks it knows what "/dev/md*" means, and gets all
 > confused when it turns out to be different.
 > So create device names that *don't* start /dev/md.
 > e.g.
 >    /dev/MDa == 60,0
 >    /dev/MDa1 == 60,1
 >    etc
 >
 > Second, you have to tell lilo about the geometry of /dev/MD*, because
 > it doesn't know:
 >
 >    boot=/dev/MDa
 >    disk=/dev/MDa
 >      bios=0x80
 >      sectors=63
 >      heads=255
 >      cylinders=1024
 >      partitions=/dev/MDa1
 >       start=63
 >
 > The "start" is very important.  check what the start sector of MDa1
 > is, and use that.
 >
 > Lilo should then work.
 >
 > NeilBrown


thanks Neil!  Getting ready to try this out.  This looks really
promising, makes a lot of sense.

Vince




Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help