[K12OSN] Onboard RAID or Software RAID
Les Mikesell
les at futuresource.com
Fri Jan 19 13:45:58 UTC 2007
Robert Arkiletian wrote:
> This should have been
>
> 3 21 * * * grep _ /proc/mdstat | grep -v read_ahead ; if [ $?
> -eq 0 ]; then echo "raid array failure ." | mail -s "my k12ltsp
> server" someemail at somewhere.com ; fi
>
> (forgot the ; fi)
>
> You guys are not paying attention ;)
>
Someone paying attention would probably have suggested that
you look at /etc/init.d/mdmonitor instead. It's also probably
a good idea to look at /etc/init.d/smartd to see if you can
make it notify you before a disk actually goes bad. The
default setup will make log entries that you probably won't
notice.
--
Les Mikesell
lesmikesell at gmail.com
More information about the K12OSN
mailing list