# Re: Feature request, resumable raid check action

- From: NeilBrown \<hidden\>
- Date: 2016-12-02 04:54:13 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2016/12/6633797
- Thread: https://ratatoskr.run/linux-raid/2016/11/6633773/t.md

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

## Attachments

- [signature.asc](https://ratatoskr.run/linux-raid/2016/12/6633797/attachment/0) (application/pgp-signature, 832 bytes)
