Re: raid 5 problems-- won't start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday February 21, sam@milagro.lanl.gov wrote:
> 
> 
> I had a raid array that was rebuilding when the system crashed.
> I brought the system back up and 
> when I try to start my RAID5 array with mdctl:
> > mdctl --assemble --uuid 60f4d8c1:ed98d6ba:bafc1a88:226a3ef6 /dev/md0 /devfs/scsi/host?/*/*/*/part?
> 
> I get:
>  mdctl: failed to RUN_ARRAY /dev/md0: Invalid argument

Your raid array seems to have two failed devices: slot 2 and slot 7.
I think I know why mdctl didn't pick this up.  I'll try to find time
to sort it out...
I would suggest that you 
   mdctl --create /dev/md0 -l 5 -n 9 -p left_asymmetric -c 256 \
    /dev/sdi1 /dev/sdf1 missing /dev/sda1 /dev/sdd1 /dev/sde1 \
    /dev/sdg1 /dev/sdb1 /dev/sdc1

and then
   mdctl --add /dev/md0 /dev/sdh1

That should re-create the array and preserve any data that is on it.
However, these is a suggesting that /dev/sdb had some sort of error.
You should look in the kernel logs to find out more 
about it.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux