Arun Anbalagan
2016-10-05 00:24:21 UTC
Hello,
I have been trying to query the SMART metrics on my Linux servers running
with Mega Raid & CCISS Raid Controllers. While, 'smartctl --scan' works
fine with Mega Raid, it seems to be failing on CCISS hardware. The output
from both the systems as below:
On Mega Raid system:
# smartctl --scan
/dev/sda -d scsi /dev/sda, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_01], SCSI device
/dev/bus/0 -d megaraid,1 # /dev/bus/0 [megaraid_disk_02], SCSI device
/dev/bus/0 -d megaraid,2 # /dev/bus/0 [megaraid_disk_03], SCSI device
On CCISS Raid system:
# smartctl --scan
# scan_smarrt_devices: glob(3) aborted matching pattern /dev/discs/disc*
I'm using the smartmontools version smartmontools-6.4.
Could you please let me know if this is a known issue OR am I missing
something? I looked at the code and looks like the "--scan" related
functions are not specifically looking for cciss raid disks. Is it the
reason for the failure?
I need to use 'smartctl --scan' to get the list of physical disk entries
and use 'smartctl -a/-A' on them to query the SMART metrics. Hence, would
be very grateful for any inputs that you can share on how to rectify this
problem. Thanks.
Regards,
Arun.
I have been trying to query the SMART metrics on my Linux servers running
with Mega Raid & CCISS Raid Controllers. While, 'smartctl --scan' works
fine with Mega Raid, it seems to be failing on CCISS hardware. The output
from both the systems as below:
On Mega Raid system:
# smartctl --scan
/dev/sda -d scsi /dev/sda, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_01], SCSI device
/dev/bus/0 -d megaraid,1 # /dev/bus/0 [megaraid_disk_02], SCSI device
/dev/bus/0 -d megaraid,2 # /dev/bus/0 [megaraid_disk_03], SCSI device
On CCISS Raid system:
# smartctl --scan
# scan_smarrt_devices: glob(3) aborted matching pattern /dev/discs/disc*
I'm using the smartmontools version smartmontools-6.4.
Could you please let me know if this is a known issue OR am I missing
something? I looked at the code and looks like the "--scan" related
functions are not specifically looking for cciss raid disks. Is it the
reason for the failure?
I need to use 'smartctl --scan' to get the list of physical disk entries
and use 'smartctl -a/-A' on them to query the SMART metrics. Hence, would
be very grateful for any inputs that you can share on how to rectify this
problem. Thanks.
Regards,
Arun.