Solaris 7 System Administration Supplement

How to Display Configuration Information for All Devices

SCSI controllers c0 and c1 and the devices attached to them are examples of the type of device configuration information that can be displayed with the cfgadm command.


Note -

If the SCSI device is not supported by the cfgadm command, it will not display in the cfgadm command output.


  1. Become superuser.

  2. Display information about attachment points on the system.


    # cfgadm -l
    Ap_Id                          Receptacle   Occupant     Condition
    ac0:bank0                      connected    configured   ok
    ac0:bank1                      connected    configured   ok
    c0                             connected    configured   unknown
    c1                             connected    configured   unknown
    sysctrl0:slot0                 connected    configured   ok
    sysctrl0:slot1                 connected    configured   ok 

    In this example, c0 and c1 represent two SCSI controllers.

    The other ap_ids such as ac0:bank1 and sysctrl0:slot0 in the command output represent other types of system components.

  3. Display information about a system's SCSI controllers and their attached devices.


    # cfgadm -al 
    Ap_Id                          Receptacle   Occupant     Condition
    ac0:bank0                      connected    configured   ok
    ac0:bank1                      connected    configured   ok
    c0                             connected    configured   unknown
    c0::dsk/c0t0d0                 connected    configured   unknown
    c0::rmt/0                      connected    configured   unknown
    c1                             connected    configured   unknown
    c1::dsk/c1t10d0                connected    configured   unknown
    c1::dsk/c1t4d0                 connected    configured   unknown
    c2                             connected    unconfigured unknown
    sysctrl0:slot0                 connected    configured   ok
    sysctrl0:slot1                 connected    configured   ok 

    Notice that SCSI HBAs are displayed in the cfgadm -l output but not SCSI devices. The cfgadm -al command displays information about SCSI devices such as disks and tapes.