Re: Feature request, resumable raid check action

From
NeilBrown <hidden>
Date
2016-12-05 00:00:39
(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

Attachments

Thread (1 message) 1 message, 1 author, last reply 2016-12-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help