[Cialug] NAS & disk drives

Zachary Kotlarek zach at kotlarek.com
Mon Apr 11 22:44:56 CDT 2016


On 11 Apr 2016, at 3:30, Dave Hala wrote:


> If it makes you more comfortable, buy an extra drive, put it on the
> shelf and then don't worry about until it becomes an issue.  Once a
> week do a  "cat /proc/mdstat"  to check the status of your array and
> you'll be fine.


Cron up something like this to run every hour or so:
	mdadm --monitor --oneshot --mail root --scan
which will email you a copy of /proc/mdstat if something is wrong and otherwise do nothing.

It also has a daemon mode to continuously monitor and activate spares/etc. if you have a configuration where that is useful.

	Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2320 bytes
Desc: S/MIME digital signature
URL: <http://cialug.org/pipermail/cialug/attachments/20160411/4856e4fe/attachment.bin>


More information about the Cialug mailing list