Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Displaying Information About SCSI Devices

As a useful rule, display information about the system devices before and after the actual hot-plugging step. The information helps you in the following ways:

  • You can properly identify the bus or device to dynamically reconfigure.

  • You can verify from the state of the bus or device that the reconfiguration completed successfully.

To display device information, you use the cfgadm -l[a] command. You can choose to display only the attachment point information, or you can include other information such as the controllers and attached devices.


Note -  The command excludes any unsupported SCSI device from the information display.

    The following examples show how to display SCSI device information.

  • Showing the state and condition of attachment points on the system.

    # cfgadm -l
    Ap_Id    Type         Receptacle   Occupant     Condition
    c2       scsi-bus     connected    configured   unknown
    c3       scsi-sas     connected    configured   unknown
  • Showing the state and condition of controllers and attached devices

    # cfgadm -al
    Ap_Id                Type         Receptacle   Occupant     Condition
    c2                   scsi-bus     connected    configured   unknown
    c2::dsk/c2t0d0       CD-ROM       connected    configured   unknown
    c3                   scsi-sas     connected    configured   unknown
    c3::dsk/c3t0d0       disk         connected    configured   unknown
    c3::dsk/c3t1d0       disk         connected    configured   unknown
    c3::dsk/c3t2d0       disk         connected    configured   unknown
    c3::dsk/c3t3d0       disk         connected    configured   unknown