Thread (2 messages) 2 messages, 2 authors, 2004-02-04

Re: Root Drive Mirroring and LVM.

flat view

From: <hidden>
Date: 2004-02-04 18:23:17
Also in: linuxppc-dev

On Wed, Jan 28, 2004 at 12:42:18PM +1100, Neil Brown wrote:
solution and is (I think) the preferred long-term solution. However
you can also boot from raid with kernel-parameters like:

   md=0,/dev/hda1,/dev/hdc1 boot=/dev/md0

where '0' indicated which md device (md0 in this case), and the
remaining words are the devices to assemble it from.

I personally think auto-detect is the wrong approach and have no
desire to extend it to other partition types (I cannot remove it from
DOS partitions as that breaks back-compatability).
Just use "md=..."
What's wrong with autodetect?  Its saved my butt a number of times.

My recurring nightmare is involves a failed ide controller.  If the 
failed controller is on the motherboard, then plugging in a store-bought
ide controller causes the BIOS to "randomly" renumber to hard drives.
(yes, sorry this is a PC issue, but I would guess that similar issues 
lurk in open firmware, etc). 

Thus, any sort of mounting that explictly references /dev/hdanything
is guarenteed to screw up (sometimes catastrophically) when trying
to recover from failed controllers (and sometimes even failed disks,
if you are trying to bootstrap your way through by temporarily putting 
the replacement disk somewhere other than its permanent home). 

And I'm a comp sci geek who wrote the original linux RAID HOWTO,
I pity the mere mortal sysadmin who has to go through this ... 

So what's wrong with autodetect, again?

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