Re: md multipath with disk missing ?

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Tue Sep 10 2002 - 17:51:56 EST


On Monday September 9, oktay.akbal@s-tec.de wrote:
> > > Does this only work with raid-autodetection ?
> > > When no autodetection is done and a drive is missing, would a raidstart
> > > kill the raid, since the drives are now available with other devices (sda
> > > instead of former sdb...) ?
> >
> > I don't understand your question, sorry.
>
> Example:
>
> We have sda - sdb (8 drives) and setup up a raidtab to tell linux that
> sda and sde are the same sdc - sdd etc.
> Now for some random error the server restarts and the former sda (path to
> that drive) is no longer available. So now we have sda,sdb...sdg.
> We do not use autodetect, but raidstart to activate the raid.

raidstart is broken by design and cannot cope with devices that change
device number (whether name in /dev is preserved or not. There are
device numbers in the superblock which raidstart trusts).

This is one of the reasons that I wrote mdadm
   http://www.cse.unsw.edu.au/~neilb/source/mdadm/

This affects all raid levels, not just multipath.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:23 EST