Re: Recovering RAID5 with 2, actually 1, faulty disks.

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

 



On 11/25/2015 11:29 AM, Semyon Enskiy wrote:
>>>  Maybe assemble command should include sdj3 device too?
>>>  Like
>>>  # mdadm -v --assemble --update=revert-reshape /dev/md3 /dev/sd[a-j]3
>>>  not
>>>  # mdadm -v --assemble --update=revert-reshape /dev/md3 /dev/sd[a-i]3
>>
>> Yes, my mistake. :-( Try again, including 'sdj3'.
>>
>> Phil
> 
> # mdadm -v --assemble --update=revert-reshape /dev/md3 /dev/sd[a-j]3
> mdadm: looking for devices for /dev/md3
> mdadm: superblock on /dev/sdj3 doesn't match others - assembly aborted
> 
> # mdadm -v --assemble --update=revert-reshape --force /dev/md3 /dev/sd[a-j]3
> mdadm: looking for devices for /dev/md3
> mdadm: superblock on /dev/sdj3 doesn't match others - assembly aborted
> 
> Note, that --examine in previous message shows delta devices value "-1" for
> all members of array, excepting sdj3, which has value "1", without minus
> symbol.

Hmmm. That's interesting.  That means mdadm wrote the revert-reshape
before it finished assembly.  Try this:

mdadm --stop /dev/md3

mdadm --assemble --update=revert-reshape /dev/md3 /dev/sdj3

That should fail w/ not enough to start, but apply the revert to that
one drive.  Then --stop again, and try with [a-j].

Phil

--
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