In a situation where you're utilising an Adaptec based RAID card, you should be able to utilise the below commands to obtain data from the SMART Information on the Hard Drives.
Adaptec cards require the "/dev/sgx" values to check smart data, you would need to locate the sg values first to see which drives may be present. You can perform the following to get these values:
# ls -lah /dev/sg*
crw-rw---- 1 root disk 21, 0 May 14 14:11 /dev/sg0
crw-rw---- 1 root disk 21, 1 May 14 14:11 /dev/sg1
crw-rw---- 1 root disk 21, 2 May 14 14:11 /dev/sg2You should now be able to obtain the data for individual devices, by using the below examples:
For SATA / SSD
# smartctl -a -d sat /dev/sg2
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: xxxxx
Device Model: xxxxxFor SAS
# smartctl -a /dev/sg2
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: xxxxx
Device Model: xxxxx