Use one of the following commands depending on the operation you want to perform.
cfgadm -c configure device – configures a device.
cfgadm -c unconfigure device – unconfigures a device.
In both commands, device refers to the device's logical Ap_Id. For more information about a device's logical Ap_Id, see About Attachment Point Identification.
The following example configures the c2t0d0 device. Based on the system's device configuration information, the device's logical Ap_Id is c2::dsk/c2t0d0.
# cfgadm -c configure c2::dsk/c2t0d0
The following example shows the state of the c2t0d0 device after it has been configured. In the displayed information, the Occupant field indicates the device's new state.
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c2 scsi-bus connected configured unknown c2::dsk/c2t0d0 CD-ROM connected configured unknownThe device is configured. 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