Go to main content

Managing SAN Devices and Multipathing in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018
 
 

How to Unconfigure All FC Devices on a FC Host Port

This procedure describes how to unconfigure all configured fabric devices that are attached to a fabric-connected host port.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. 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
  3. Stop all activity to each fabric device on the selected port and unmount any file systems on each fabric device.

    If the fabric device is under any volume manager's control, see your volume manager documentation before unconfiguring the fabric device.

    # cfgadm -c unconfigure c0
  4. Unconfigure all of the configured fabric devices on a selected port.

    Note -  This operation repeats the unconfigure operation of an individual fabric device for all the devices on c0. This process can be time-consuming if the number of devices on c0 is large.
  5. 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.