Before You Begin
Note the following conditions when replacing an identical device on a SCSI controller:
If you are replacing a mirrored or unmirrored boot device that is part of a ZFS root pool, see How to Perform System Archival and Recovery Procedures with Oracle Solaris 11 (https://www.oracle.com/technical-resources/articles/it-infrastructure/admin-o11-091-sol-dis-recovery.html).
If the device is controlled by legacy volume management software, consult your volume management documentation for the specific steps to replace a device. If you have an active Oracle support plan, see the following references:
If you are using the Solaris Volume Manager, see "Solaris Volume Manager (SVM) How to Replace Internal System FC-AL Disks in 280R, V480, V490, V880, V890, and E3500 Servers (Doc ID 1010753.1) " at My Oracle Support.
# cfgadm -al
# cfgadm -x replace_device device-apid
I/O activity on the SCSI bus is suspended while the hot-plug operation is in progress.
The replacement device should be of the same type and at the same address (target and LUN) as the device to be removed.
# cfgadm -al
In this example, the disk c3t3d0 is replaced by an identical device.
# cfgadm -al 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 replace_device c3::dsk/c3t3d0 Replacing 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.
Power to the device is turned off and the device is replaced. After the replacement device is installed and power is turned on, 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
c3::dsk/c3t3d0 disk connected configured unknownThe device is replaced.