Re: Periodically scanning RAID arrays for inconsistencies

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

 



On Fri, 2013-03-01 at 15:50 -0600, Brassow Jonathan wrote:
> Is there a way to periodically scan a RAID array to report any discrepancies?

Yes, it's possible - Redhat distributes a script called raid-check that
is a good example of this very thing.

Documentation/md.txt talks about 'check' and 'repair' as valid words for
sync_action in sysfs.  The number of errors found will be reported to
mismatch_cnt.  These can be found at /sys/block/md#/md for your array.

hth,

Tregaron

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