Discussion:
[smartmontools-support] Monitoring Commands On RAID 10 MegaCli
Lorne Wanamaker
2017-02-03 13:58:49 UTC
Permalink
Hi All,

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 ***@bar.com
/dev/twa0 -d sat+megaraid,5 -H -l selftest -l error -s
(O/../.././(00|06|12|18)|S/../.././01|L../../5/02) -m ***@bar.com
/dev/twa0 -d sat+megaraid,6 -H -l selftest -l error -s
(O/../.././(00|06|12|18)|S/../.././01|L../../5/03) -m ***@bar.com
/dev/twa0 -d sat+megaraid,7 -H -l selftest -l error -s
(O/../.././(00|06|12|18)|S/../.././01|L../../5/04) -m ***@bar.com


I want it to run at night so it won't cause any slowdowns at busy times.
This is quite a busy gameserver. Is there any tests for testing the
controller itself?
Christian Franke
2017-02-06 06:33:43 UTC
Permalink
Post by Lorne Wanamaker
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
/dev/twa0 -d sat+megaraid,5 -H -l selftest -l error -s
/dev/twa0 -d sat+megaraid,6 -H -l selftest -l error -s
/dev/twa0 -d sat+megaraid,7 -H -l selftest -l error -s
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 ***@bar.com
/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

Loading...