This procedure describes how to unconfigure all configured fabric devices that are attached to a fabric-connected host port.
Log in as root (su - root)..
Identify the fabric devices to be unconfigured.
Only devices on a fabric-connected host port can be unconfigured.
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected configured unknown c0::50020f2300006077 disk connected configured unknown c0::50020f23000063a9 disk connected configured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown |
Stop all activity to each fabric device on the selected port and unmount any file systems on each fabric device.
If the device is under any volume manager’s control, see the documentation for your volume manager before unconfiguring the device.
# cfgadm -c unconfigure c0 |
Unconfigure all of the configured fabric devices on a selected port.
This operation repeats the unconfigure operation of an individual device for all the devices on c0. This process can be time-consuming if the number of devices on c0 is large.
Verify that all the devices on c0 are unconfigured.
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c0::50020f2300006077 disk connected unconfigured unknown c0::50020f23000063a9 disk connected unconfigured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown |
Notice that the Occupant column of c0 and all the fabric devices attached to it are displayed as unconfigured.