On 02/07/2017 12:27 PM, Samuel Sieb wrote:
> On 01/31/2017 12:02 PM, Chris Murphy wrote:
>> On Tue, Jan 31, 2017 at 7:33 AM, Chris Adams <li...@cmadams.net> wrote:
>>> How do LVM RAID volumes get tested?  There's a regular cron job for
>>> testing MD RAID volumes, but I'm not aware of something like that for
>>> LVM RAID.
>>
>> I'm not aware of an upstream cron job for this; nor one in Fedora.
>>
>> 'echo check > /sys/block/mdX/md/sync_action' works for either mdadm or
>> LVM RAID, as it's kernel code doing the scrub; but LVM does have a
>> command for it 'lvchange --syncaction {check|repair) vg/raid_lv'
>>
> There is something in Fedora that does this.  I don't know whether it's 
> automatic in the kernel or there's a cron job.  But my md RAID arrays 
> get scanned every once in a while and I didn't do anything to set that up.

It's /etc/cron.d/raid-check from mdadm.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to