On Wed, 2002-06-26 at 13:09, Neil Brown wrote: > On June 26, ken@ineffable.com wrote: > > Hi, > > > > Interesting problem. I'm setting up an all software RAID system and > > after a few fits and starts have reached some success. I started to do > > some testing and have run into a problem. What I was doing is I was one > > by one unplugging one of the SCSI drives and then powering up the system > > to make sure it would power up properly. The first time I did this > > everything worked great. I plugged the drive back up and used > > raidhotadd to recover and got everything to UUU. I then powered off and > > unplugged another drive, system boots up great with only two drives. > > Now its time to plug the drive back in and rebuild the array to be ready > > to unplug the last of the three drives for a thorough test. Only, now I > > can ONLY boot up if I DO NOT have the missing drive plugged in. This is > > really weird. If I have all three devices attached then it claims that > > 2/3 of the devices that make up md2 (my root) are unavailable and well > > then we are screwed. WTF? > > Let me guess... you are using "raidstart" to start the arrays? Exactly. > If so, that is your problem. It is broken. Ok. Good to know. > Either change the partition type to use auto-detect, or use > mdadm: > http://www.cse.unsw.edu.au/~neilb/source/mdadm/ > mdadm it will have to be. I'm using an initrd kernel and autodetection is very specifically removed in the raid modules. > If you aren't using raidstart, tell me and I try harder. This is a very good start and I suspect it will fix me. Now if only mkinitrd would use mdadm automatically rather than raidstart... Oh well, that's a battle for another day. Ken Causey > > NeilBrown > - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html