Re: mdadm stuck at 0% reshape after grow
From: Wols Lists <hidden>
Date: 2017-12-07 20:31:59
From: Wols Lists <hidden>
Date: 2017-12-07 20:31:59
On 07/12/17 17:40, Andreas Klauer wrote:
On Thu, Dec 07, 2017 at 02:58:32PM +0100, Andreas Klauer wrote:quoted
Perhaps it's an intermittent error specific to your smartctl version?Looking at the source code, it seems to be a case of: sct supported, erc unsupported - exit 4 (fail)
That's fine - fail is detected, kernel timeout is set to 180
sct unsupported as a whole - exit 0 (success)
WHOOPS. Setting erc fails, so the command reports success!
So some drives will give the wrong exit code for this command. Should probably be reported as a bug to smartmontools.
Sounds about right. Cheers, Wol