Re: Feature request, resumable raid check action

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

 



(linux-raid added back to cc:)

On Fri, Dec 02 2016, Patrick Dung wrote:

> I rebooted while it was running.
> For a new RAID, the initial sync or resync would resume after reboot.
> I thought check would have the same semantic.
>
> If I am correct, the mdcheck script is designed for a 7x24 system.
> Users can pause the 'check' action and resume later.
>
> The problem is that I could not leave my computer running on 7x24.
> A full check may take about 12 hours for a 6TB RAID1.
>
> Ok, I recheck the script and found 'sync_min'
> I can use it to manually perform resumable check action.

Correct.
You could possibly even modify mdcheck to catch SIGTERM and close down
the resync early, remembering where it is up.  This might work well with
reboots.

NeilBrown


> Reference: https://www.kernel.org/doc/Documentation/md.txt

Attachment: signature.asc
Description: PGP signature


[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