Solaris 7 System Administration Supplement

How to Add a SCSI Device to a SCSI Bus

SCSI controller c1 provides an example of adding a SCSI device to a SCSI bus.

Only SCSI attachment points are listed. The attachment points displayed on your system will depend on your system configuration.


Note -

When adding devices, the ap_id of the SCSI HBA (controller) to which the device is attached is specified, not the ap_id of the device itself.


  1. Become superuser.

  2. Identify the current SCSI configuration.


    # cfgadm -al
    ap_id                          Receptacle   Occupant     Condition
    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 
  3. Add a SCSI device to a SCSI bus.


    # cfgadm -x insert_device c1
    Adding device to SCSI HBA: /devices/sbus@1f,0/SUNW,fas@1,8800000
    This operation will suspend activity on SCSI bus: c1
    Continue (yes/no)? y
    SCSI bus quiesced successfully.
    It is now safe to proceed with hotplug operation.
    Enter y if operation is complete or n to abort (yes/no)? y
    
    1. Type y at the Continue (yes/no)? prompt to proceed.

      I/O activity on the SCSI bus will be suspended while the hot-plug operation is in progress.

    2. Connect the device and then power it on.

    3. Type y at the Enter y if operation is complete or n to abort (yes/no)? prompt after the new device has been inserted.

  4. Verify the device has been added.


    # cfgadm -al
    Ap_Id                          Receptacle   Occupant     Condition
    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 

    A new disk has been added to controller c1.