Determine whether LSI9361 drives are present

To determine whether LSI9361 drives are present perform the following steps:
  1. To list SCSI hosts, run the lsscsi command. Check for the megaraid_sas string in the output.
    localhost:~ # lsscsi --hosts
    [0]    aacraid       
    [1]    megaraid_sas  
    [2]    mpt3sas       
    [3]    qla2xxx       
    [4]    mpt3sas       
    [5]    qla2xxx       
    localhost:~ #
    
  2. For each controller, that is, for each SCSI host, run the storcli64 command from Broadcom driver to check the drives that are attached to each controller. The storcli64 command numbers the controllers starting with 0, for example /c0, /c1 and so on.
    localhost:~ # storcli64 /c0 show
    ...
    PD LIST :
    =======
    
    -------------------------------------------------------------------------------
    EID:Slt DID State DG     Size Intf Med SED PI SeSz Model               Sp Type
    -------------------------------------------------------------------------------
    252:0     9 UGood -  3.637 TB SATA HDD N   N  512B ST4000NM0024-1HT178 D  -    
    252:1    10 UGood -  3.637 TB SATA HDD N   N  512B ST4000NM0024-1HT178 D  -    
    -------------------------------------------------------------------------------
    ...
    localhost:~ #
    
    Notes:
    • Since the output can be long, consider only the PD LIST section. Only drives in the UGood state can be erased, and such drives are not accessible from the OS. If the drive is part of a RAID volume, or shown as a JBOD, it must be disconnected from the volume or OS.
    • The Med column indicates whether a drive is rotational (HDD) or solid-state (SSD). The SED column indicates the presence of SED drives if it has value of Y. The PI column indicates whether the drive is using T10-Protection Information.
    • Use the data from the EID:Slt column as a value for the /ex and /sx parameters in the erase commands.