Removing the hard drive is a hot-swap operation. You must run commands on the server before you remove the hard drive.
# cfgadm -al
This command lists dynamically reconfigurable hardware resources and shows their operational status. In this case, look for the status of the drive you plan to remove. This information is listed in the Occupant column.
Ap_id Type Receptacle Occupant Condition . . c2 scsi-sas connected configured unknown . c3 scsi-sas connected configured unknown c2::w5000cca00a76d1f5,0 disk-path connected configured unknown c4 scsi-sas connected configured unknownc3::w5000cca00a772bd1,0 disk-path connected configured unknownc4::w5000cca00a59b0a9,0 disk-path connected configured unknown . . .
You must unconfigure any drive whose status is listed as configured, as described in Step b.
# cfgadm -c unconfigure c2::w5000cca00a76d1f5,0
Replace c2::w5000cca00a76d1f5,0 with the drive name that applies to your situation.
See Hard Drive LEDs.
If you removed the hard drive as part of a replacement operation, install a new hard drive. See Install a Hard Drive.
If you removed the hard drive as part of another component's removal or installation procedure, return to that procedure. See Component Service Task Reference for assistance.
If you are not replacing the hard drive, go to Step 10.
See Install a Hard Drive.