Determining drives other than NVMe and LSI9361

To determine drives and characteristics of the drives other NVME and other than drives that are attached with megaRaid LSI9361 adapter, run the following steps:
  1. Run the lsscsi command to display all SCSI disks and their model numbers. The length of the output depends on the number of disks installed.
    localhost:~ # lsscsi
    [0:2:0:0]    disk    SEAGATE  ST2000NM0045     N003  /dev/sdb
    [0:2:1:0]    disk    SEAGATE  ST2000NM0045     N003  /dev/sdc
    [0:2:10:0]   disk    SEAGATE  ST4000NM0075     KT02  /dev/sde
    [0:2:11:0]   disk    SEAGATE  ST4000NM0075     KT02  /dev/sdf
    [0:3:123:0]  enclosu ADAPTEC  Smart Adapter    4.00  -        
    [2:0:0:0]    enclosu IBM      5147-106         511F  -        
    [2:0:1:0]    process SEAGATE  SP-34106-CFFE12S 511F  -        
    [2:0:2:0]    disk    IBM-ESXS ST10000NM0226 E  ECG2  /dev/sdg
    [2:0:3:0]    disk    IBM-ESXS ST10000NM0226 E  ECG2  /dev/sdh
    [2:0:4:0]    disk    IBM-ESXS ST10000NM0226 E  ECG2  /dev/sdi
    [2:0:5:0]    disk    IBM-ESXS ST10000NM0226 E  ECG2  /dev/sdj
    ...
    localhost:~ #
    
  2. The first digit in the SCSI address field (for example, [0:2:0:0]) is the SCSI host number. To map the SCSI host number to a controller or device driver, by listing the SCSI hosts, run the following command.
    localhost:~ # lsscsi --hosts
    [0]    aacraid       
    [1]    megaraid_sas  
    [2]    mpt3sas       
    [3]    qla2xxx       
    [4]    mpt3sas       
    [5]    qla2xxx       
    localhost:~ #
    
    In this example, the sdb drive is attached to the aacraid driver or controller, and the sdg drive is attached to the first mp3sas driver or controller.

    The sde drive is a SEAGATE ST4000NM0075, and the sdg drive is a Seagate ST10000NM0226. The model number of the manufacturer can be used to lookup the drive characteristics using the manufacturer’s documentation. This is used to determine whether a drive is SED or not.