Re: Cancelling not pausing array check
From: NeilBrown <hidden>
Date: 2014-10-06 20:59:44
Attachments
- (unnamed) [application/pgp-signature] 828 bytes
From: NeilBrown <hidden>
Date: 2014-10-06 20:59:44
On Mon, 6 Oct 2014 15:29:13 +0200 Patrik Horník [off-list ref] wrote:
Hello, is it possible to cancel RAID 6 array check? echo check > /sys/block/mdX/md/sync_action apparently only pauses it and next check continuing from saved position. (I guess /sys/block/mdX/md/sync_min) I want to achieve two things: - Start check from the start of the array. - Be sure I can shutdown array without any ill effect because check was interrupted. I guess that position will be cleared when array is stopped and started again, but I dont want to guess and experiment... :)
Why ever not? Guessing and experimenting is AWESOME. We call it "Science". I can understand that you might not want to experiment we real data, but creating a few loop-back devices with "losetup", forming them into an array, and experimenting on that can be very worthwhile. NeilBrown
Thanks. Best regards, Patrik -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html