smartctl --scan not working with cciss Raid controller
Arun Anbalagan <[email protected]> Wed, 5 Oct 2016 09:24:21 +0900
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <CAMWJ6CieNz5Xdfo_zT7HxPfPTgcjYt+2Wp=aECVBnP9tCVP_XQ@mail.gmail.com> |
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. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support