How to get HDD parameters from SCSI controller

Solution 1:

The IBM RAID M1015 is a RAID controller virtualizing your storage, you cannot access the single drive's properties via standard SATA/SAS commands (which is what hdparm and smartctl try do) unless you are running the IT version of the firmware. However, as it is a LSI 9211-8i with customized firmware, you should be able to run the MegaCLI command line utility to list the state (and properties) of the connected physical drives:

megacli -pdlist  -aALL | less

The output information will include the drive's serial number in the "Inquiry Data" field of the output:

[...]
SAS Address(0): 0x5000c5003abb8c15
SAS Address(1): 0x0
Connected Port Number: 0
Inquiry Data: SEAGATE ST3600057SS     00012SL42BN0
[...]