Re: Feature request, resumable raid check action

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

 



Thanks for reply, NeilBrown.

In my testing:
I had run the mdcheck script, then reboot.
After rebooted, then I  run the mdcheck script again, it did not
resume from where it stopped before reboot.

Is there something that I may had missed?

Best regards,
Patrick

On Fri, Dec 2, 2016 at 12:54 PM, NeilBrown <neilb@xxxxxxxx> wrote:
> On Wed, Nov 30 2016, Patrick Dung wrote:
>
>> Hello,
>>
>> As I know if MD raid is using the newer metadata version, it support
>> resumable raid rebuild/sync. (that is, if a server is rebooted during
>> rebuild, it would resume from last position after reboot, instead of
>> starting from beginning).
>>
>> In my recently testing (a few months ago):
>> I sometimes use the mdadm 'check' action for doing the disk scrubbing
>> of a MD raid.
>> After I rebooted the server, the 'check' operation is forgotten and is
>> not resumable.
>>
>> I think resumable 'check' operation is useful as the array size would
>> become bigger in the future.
>
> "check" is resumable.  md doesn't record where it is up to though, you
> need to do that yourself.
> The "misc/mdcheck" script in the mdadm package makes use of this to
> support time-limited checking, and to resume from where it left off.
> You could use the script, or read it and see how it works.
>
> NeilBrown
--
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