# cfgadm -al
# cfgadm -x remove_device device
I/O activity on the SCSI bus is suspended while the hot-plug operation is in progress.
# cfgadm -al
In this example, the disk c3t3d0 is removed.
# 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 # cfgadm -x remove_device c3::dsk/c3t3d0 Removing SCSI device: /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0 This operation will suspend activity on SCSI bus: c3 Continue (yes/no)? y SCSI bus quiesced successfully. It is now safe to proceed with hotplug operation.
After power to the device has been turned off and the device is removed, the operation continues with a prompt.
Enter y if operation is complete or n to abort (yes/no)? y # 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