Tom Lanyon
2009-11-05 05:02:20 UTC
Hi all,
I'm trying to discover two things regarding my test system which has a
bunch of SATA disks attached to a SAS expander:
* if I have a drive error, how do I know which cXtYdZ logical device
maps to which physical disk/bay?
* how can I read temperature information from the drives?
There seems to be some work done in this area by Eric Schrock and Rob
Johnston[1], which has led me to the disk-monitor FMA plugin. I am
assuming that this plugin will automatically handle temperature
monitoring and lighting the fault/locate LEDs but am not entirely sure
of this.
I attempted to load the module but received:
# fmadm load /usr/lib/fm/fmd/plugins/disk-monitor.so
fmadm: failed to load /usr/lib/fm/fmd/plugins/disk-monitor.so: module
failed to load (consult fmd(1M) log)
I checked the log as instructed, but no errors or warnings were
recorded. I know the log is working because when I accidentally tried
to load the plugin's .conf file instead of the .so, I *did* receive an
error in the fmd log:
Nov 05 2009 15:08:36.125443460 ereport.fm.fmd.mod_init
nvlist version: 0
version = 0x0
class = ereport.fm.fmd.mod_init
ena = 0x751b2ea5e2305401
msg = failed to load /usr/lib/fm/fmd/plugins/disk-
monitor.conf: Operation not supported
__ttl = 0x1
__tod = 0x4af256cc 0x77a1d84
Can anyone suggest whether this is indeed what I should be doing, and
if so, why can't I load this FMA plugin?
Additionally, even if I get this running - what methods are there to
manually identify a drive in the enclosure? ie, how do I send a
command to the SES device? There needs to be some level of manual
control available for this as I can think of multiple scenarios where
I'd need to identify and extract a non-faulty drive from an enclosure.
Regards,
Tom
[1] - http://blogs.sun.com/eschrock/entry/ses_sensors
I'm trying to discover two things regarding my test system which has a
bunch of SATA disks attached to a SAS expander:
* if I have a drive error, how do I know which cXtYdZ logical device
maps to which physical disk/bay?
* how can I read temperature information from the drives?
There seems to be some work done in this area by Eric Schrock and Rob
Johnston[1], which has led me to the disk-monitor FMA plugin. I am
assuming that this plugin will automatically handle temperature
monitoring and lighting the fault/locate LEDs but am not entirely sure
of this.
I attempted to load the module but received:
# fmadm load /usr/lib/fm/fmd/plugins/disk-monitor.so
fmadm: failed to load /usr/lib/fm/fmd/plugins/disk-monitor.so: module
failed to load (consult fmd(1M) log)
I checked the log as instructed, but no errors or warnings were
recorded. I know the log is working because when I accidentally tried
to load the plugin's .conf file instead of the .so, I *did* receive an
error in the fmd log:
Nov 05 2009 15:08:36.125443460 ereport.fm.fmd.mod_init
nvlist version: 0
version = 0x0
class = ereport.fm.fmd.mod_init
ena = 0x751b2ea5e2305401
msg = failed to load /usr/lib/fm/fmd/plugins/disk-
monitor.conf: Operation not supported
__ttl = 0x1
__tod = 0x4af256cc 0x77a1d84
Can anyone suggest whether this is indeed what I should be doing, and
if so, why can't I load this FMA plugin?
Additionally, even if I get this running - what methods are there to
manually identify a drive in the enclosure? ie, how do I send a
command to the SES device? There needs to be some level of manual
control available for this as I can think of multiple scenarios where
I'd need to identify and extract a non-faulty drive from an enclosure.
Regards,
Tom
[1] - http://blogs.sun.com/eschrock/entry/ses_sensors