Monitoring software disk RAID

From Tech-Wiki
Revision as of 05:17, 22 July 2016 by Linogenco (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Mac


How to monitor mac software disk raid 0. Best app is $20 - http://www.mazadigital.com/support/raidmonitor/index.html

If you don't want to pay, cron this:

if [ `/usr/sbin/diskutil checkRAID | grep -c Online` -lt 3 ]; then /usr/sbin/diskutil checkRAID | mail -s 'RAID Problem!' email@address; fi

Test by running:

/usr/sbin/diskutil checkRAID