Re: mdadm reshaping stuck problem

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

 



Hi Rene,

{ Convention on kernel.org is to trim replies & either bottom post or
interleave.  Please do. }

On 12/03/2017 09:59 AM, rene.feistle@xxxxxxxxx wrote:
> Hello Phil,
> 
> Thanks for your fast reply.
> 
> I did run your commands and the results are attached to this email and
> on pastebin here:
> 
> https://pastebin.com/EVpLfmAe
> https://pastebin.com/ZMBYB5CW

Very good.  At some point you need to replace the desktop drive -- it's
unsafe to use in a raid array -- but it doesn't look like it's blowing
up at the moment.  Use the following workaround on every boot until you
replace it:

echo 180 > /sys/block/sde/device/timeout

Search the archives for "timeout mismatch" to see many discussions on
why that drive is a time bomb.

> The drive names have changed because I deinstalled one drive that was
> not in the raid. I had a copy of all data on this drive so I'm trying to
> recover my data with that drive now. The chances are good because I did
> overwrite the partition table only.

Ok.

Based on the mdadm -E reports, I recommend stopping the array, booting
with a rescue CD that has mdadm tools (I recommend SystemRescueCD, btw)
and a recent kernel.  Your situation sounds like a kernel bug and your
best bet to get out of this is to use a more recent kernel for the
duration of the reshape and rebuild.

So, in the rescue environment, use --assemble --force with these three
drives.  Then --add your fourth drive, and wait for both rebuild and
reshape to complete.

Be sure to explicitly --stop the array before leaving the rescue
environment.

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