Re: Monitoring Commands On RAID 10 MegaCli
Christian Franke <[email protected]> Mon, 6 Feb 2017 07:33:43 +0100
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
Lorne Wanamaker wrote: > Have a server that i am trying to figure out the correct test settings > for. This is a Raid 10 (SSD) running behind a MegaCLI controller. > > Does this look correct to you guys? > > /dev/twa0 -d sat+megaraid,4 -H -l selftest -l error -s > (O/../.././(00|06|12|18)|S/../.././01|L../../5/01) -m [email protected] > <mailto:[email protected]> > /dev/twa0 -d sat+megaraid,5 -H -l selftest -l error -s > (O/../.././(00|06|12|18)|S/../.././01|L../../5/02) -m [email protected] > <mailto:[email protected]> > /dev/twa0 -d sat+megaraid,6 -H -l selftest -l error -s > (O/../.././(00|06|12|18)|S/../.././01|L../../5/03) -m [email protected] > <mailto:[email protected]> > /dev/twa0 -d sat+megaraid,7 -H -l selftest -l error -s > (O/../.././(00|06|12|18)|S/../.././01|L../../5/04) -m [email protected] > <mailto:[email protected]> > Looks good so far, except that I'm not sure whether it makes sense to run 'O'ffline tests 4 times a day. You may want to add '-l selfteststs' and '-l offlinests' to see self-test activity and duration in the syslog. Note that you could test the effect of '-s REGEX' by running 'smartd -q showtests'. DEFAULT as device name could be used for common settings, for example: DEFAULT -H -l selftest -l error -m [email protected] /dev/twa0 -d sat+megaraid,4 -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/01) /dev/twa0 -d sat+megaraid,5 -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/02) /dev/twa0 -d sat+megaraid,6 -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/03) /dev/twa0 -d sat+megaraid,7 -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/04) This also eases the temporary addition of directives like '-M test' to all devices. Regards, Christian ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot