Re: Cancelling not pausing array check

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

 



OK, thanks. So that should be fully working and correct way to do it
and I cant harm my array by this in any way?


2014-10-06 15:36 GMT+02:00 Robin Hill <robin@xxxxxxxxxxxxxxx>:
> 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 !!"                 |
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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