> > > How does MD/RAID0 know which array should be /dev/md0? What if you had a
> > > second array on /dev/hdb and /dev/hdd, would that become /dev/md0 (assuming
> > > it had a kernel/boot sector)?
> >
> > /etc/raidtab specifies which drives belong in which array, but I only have
> > hda and hdc so I can't really answer the question
>
> What happens if /dev/md0 is /dev/sda and /dev/sdc ( the system also has
> sdb )
> and sda fails or is removed ?
> the old sdb will now be sda and old-sdc will be sdb.
> md0 will look into sda , which is now the non-md disk , and
> sdc , which doesn't exists any more ???
This is when devfs comes into its own, as the disks are refered to by
their device/controller id not by the /dev/sd{a,b,c,etc} numbering, hence
when one fails the others don't change. Also I think the kernel autodetect
code for scsi devices will deal with this case, but I'm not sure.
-- Tim Fletcher - Network manager .~. /V\ L I N U X nightshade@solanum.net // \\ >Don't fear the penguin< tim@parrswood.manchester.sch.uk /( )\ irc: Night-Shade on quakenet ^^-^^Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam (For non-latiners: "I have a catapult. Give me all the money, or I will fling an enormous rock at your head.")
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:17 EST