Re: array went wonky

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

 



On Apr 29, 2013, at 4:33 PM, "Gimpbully" <gimpbully@xxxxxxxxx> wrote:

> 
> On Apr 13, 2013, at 7:20 AM, Sam Bingner <sam@xxxxxxxxxxx> wrote:
> 
>> After that you can try to recreate the array with the proper order (sdc1, sdb1, sde1, missing, sda1) and copy data off or add the spare in again depending on if you were able to recover all the data wih GNU ddrescue.
> 
> 
> What do you mean recreate?  what's the specific command?  something like:
> mdadm --create --assume-clean --level=5 --raid-devices=5 /dev/md127 /dev/sdc1 /dev/sdb1 /sdv/sde1 missing  /dev/sda1

Don't recreate it - I said the wrong thing... You want to do an assemble on them with force if possible... Recreate is last ditch and make sure you have another copy if you do the previous command in case it doesn't work right due to offsets etc...

try:
mdadm --stop /dev/md127
mdadm --assemble --force /dev/md127 /dev/sd{c,b,e,a}1

If you DO need to recreate it, what you showed looks correct.

Sam--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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