components/smartmontools/TESTING
author Rich Burridge <rich.burridge@oracle.com>
Wed, 19 Apr 2017 14:10:37 -0700
changeset 7917 39eb760cd391
permissions -rw-r--r--
PSARC 2017/013 smartmontools - version 6.5 18324331 Include smartmontools in Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7917
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
There is no test suite for smartctl.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
A simple test of the smartctl functionality can be done with something like:
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
for d in /dev/rdsk/*s0; do
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
    sudo /usr/sbin/smartctl $d -a
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
done