Solaris 7 System Administration Supplement

How to Remove a SCSI Device

SCSI disk c1t4d0 provides an example of removing a device on a SCSI controller.

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

  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
    c1::dsk/c1t4d0                 connected    configured   unknown 
  3. Remove a SCSI device from the system.


    # cfgadm -x remove_device c1::dsk/c1t4d0
    Removing SCSI device: /devices/sbus@1f,0/SUNW,fas@1,8800000/sd@4,0
    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. Power off the device to be removed and remove it.

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

  4. Verify the device has been removed from the system.


    # 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