DEVICESCAN on Solaris

Ben RUBSON <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Hello,

Smartctl does not automatically detect my disks on Solaris.

I would have liked to only put a DEVICESCAN rule into smartd.conf so that all devices (currently installed and added in the future) automatically get the same rule.

Is there any way to have devices auto detected under Solaris ?

Eventually, as a workaround, to have only one rule into smartd.conf, can device name use a regex ?
For example :
/dev/rdsk/*d0 -a -o on -S on -s (S/../.././02|L/../../6/03)

Following are some debugging commands from the server.

Thank you very much !

Ben



root@solaris:~/smartmontools-6.4# uname -a
SunOS solaris 5.11 11.3 i86pc i386 i86pc


root@solaris:~/smartmontools-6.4# ./smartctl -V
smartctl 6.4 2015-06-04 r4109 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 6.4 dated 2015-06-04 at 16:29:41 UTC
smartmontools SVN rev 4109 dated 2015-06-04 at 16:30:15
smartmontools build host: i386-pc-solaris2.11
smartmontools build with: GCC 4.8.2
smartmontools configure arguments: [no arguments given]


root@solaris:~/smartmontools-6.4# ./smartctl —scan


root@solaris:~/smartmontools-6.4# ./smartctl -d scsi --scan


root@solaris:~/smartmontools-6.4# ls -1 /dev/rdsk/*d0
/dev/rdsk/c0t55CD2E404B7909DEd0
/dev/rdsk/c0t55CD2E404B792692d0
/dev/rdsk/c0t55CD2E404B793179d0
/dev/rdsk/c1t5000CCA07324626Dd0
/dev/rdsk/c1t5000CCA073270CF5d0
/dev/rdsk/c1t5000CCA073272B4Dd0
/dev/rdsk/c1t5000CCA073276F5Dd0
/dev/rdsk/c1t5000CCA07327719Dd0


root@solaris:~/smartmontools-6.4# ./smartctl -d scsi /dev/rdsk/c0t55CD2E404B7909DEd0 | grep opened
SCSI device successfully opened
root@solaris:~/smartmontools-6.4# ./smartctl -d scsi /dev/rdsk/c1t5000CCA07324626Dd0 | grep opened
SCSI device successfully opened
root@solaris:~/smartmontools-6.4# ./smartctl -d scsi /dev/rdsk/c1t5000CCA073276F5Dd0 | grep opened
SCSI device successfully opened


------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.