Where <N> is the (not the SCSI ID). N ranges from 0 to N-1 , where N = number of physical drives behind the controller.
:You need to find the correct value for N (the Device ID). You can automatically list all detectable physical drives and their IDs by running: smartctl --scan Where <N> is the (not the SCSI ID)
In this example, 0 is the logical drive number (N) associated with the disk drive /dev/sda . You may need to adjust this value depending on your specific configuration. Where <N> is the (not the SCSI ID)
smartctl -a -d megaraid,<Enclosure_Device> /dev/sdX Where <N> is the (not the SCSI ID)