Re: resync duration ?

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

 



On Sat, May 16, 2009 12:47 pm, Richard Scobie wrote:
> Neil Brown wrote:
>
>> Considered, yes.  But they are very low on my priority list.
>> I accept patches.
>> Maybe and option like
>>    mdadm --syncaction=check /dev/md0
>
> Perhaps it could also be incorporated in a manner similar to the way
> smartd allows for scheduled tests - a parameter added to each array in
> the mdadm.conf would allow scheduled checks when mdadm is run as a
> daemon.

Thanks for the suggestion...

However I have the strange and old-fashion notion that the strength
of Unix (which is one of the foundations of Linux) is the "tools
approach".  You have a tool for each job, and it does the job properly.

In the case of scheduled checks. cron is the tool of choice.

So if you want a monthly, or yearly, or daily check, get cron
to schedule it.

Just like if you want to be regularly reminded about degraded arrays,
get cron to run "mdadm -monitor --oneshot --scan" every morning.

I am definitely not interested in adding any scheduling capabilities
to mdadm.
(is smartd does scheduled checks... more fool them :-)

NeilBrown

--
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