On 01/31/2017 12:02 PM, Chris Murphy wrote:
On Tue, Jan 31, 2017 at 7:33 AM, Chris Adams <linux@xxxxxxxxxxx> 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.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx