ok i am responding inside....

"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera

On Tue, 2 Mar 1999, paolo furieri wrote:

> I have installed raid 0.90 & kernel 2.0.36, I have 2 md mirror partition,
> / and /u (all partition type fd)
> 
> all runs ok, configuration is quite complex but not impossible, thanks to mail
> on this mailing-list.
> 
> 1) only 1 problem:
> ---- if I run an "halt", all is ok, md stops correctly, so on
> reboot I have no reconstruction.
> 
> ---- if I run "reboot", raid doesn't stop, so at reboot, I have a
> reconstruction of raid. from some test (but without / on raid) it seems tat
> kernel 2.2 doesn't have problem (may be). 

did you setup for auto configure, or are you using redhat 5.2's halt
(raid commands in the halt script)?

> 
> and 2 questions:
> 2) lilo does not run on raid partition. but why ? (in particular for mirrored
> partitions I don't see any "big" counter indication in handling md partition -
> no read from multiple disks - no strange fs structure - only some space
> reserved at end of partition). If lilo could handle mirrored partition, life
> during installation could be easier ! 

lilo uses bios routines to access the disk. it does not care about the
file system at boot time, it cares about raw blocks. (this is why you must
run lilo from prompt after any changes)

however, things like mke2fs interrogate the kernel (via the devices in
dev) about info they need. therefor, they can use things on md.

lilo can theoretically read from a raid 1 setup, i had that work on
accident once. basically, one could fool it. however, you will never get
lilo to "read" an md device, cause you would have to have the kernel for
that, but you need lilo for the kernel :)

> 
> 3) I have an "hot swap" computer (in sense that I can extract and reinsert
> disks without power off). When I extrace 1 disk, kernel hangs.
> 
> May be because I have swaps on both of my disks ? and in this case what is the
> safe response to this ? no swap and a lot of memory ? (I think this is not
> good :) 

you need the swap space, just in case. but yes, lots of ram is better than
swap anyway. but, if you are swapping, and you lose the disk, the system
WILL die. you can't put a raid partition as a swap file, if the raid level
is >= 1 . this is a limitation you will have to live with. (for now)

> I have swapoffed, and kernel has not hanged when I have plugged off 1 disk -
> only some "freeze", then I had my system running correctly (obviously in
> degraded mode).
> 
> P.S. I am not on the list, I read from archive, so if some one want other
> info, please replay to email address to.
> 
> thanks
> 
> 
allan

Reply via email to