On Mon Oct 06, 2014 at 03:29:13PM +0200, Patrik Horník 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... :) > > Thanks. > > Best regards, > > Patrik You'd echo idle to the sync_action to pause/stop the check. If you want to restart from the beginning next time, just echo 0 to sync_min (similarly, if you just want to check/repair a specific range then set sync_min and sync_max before the check/repair). Cheers, Robin position. -- ___ ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" |
Attachment:
signature.asc
Description: Digital signature