JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris SAN Configuration and Multipathing Guide
search filter icon
search icon

Document Information

Preface

1.  Product Overview

2.  Fibre Channel Configuration Overview

3.  Administering Multipathing Devices Through mpathadm Commands

4.  Configuring Multipathing Software

5.  Configuring SAN Devices

6.  Configuring SAS Domains

7.  Configuring IPFC SAN Devices

8.  Solaris 10 10/08 x86/x64 Fibre Channel Operating System Booting Procedure

9.  Persistent Binding for Tape Devices

A.  Manual Configuration for Fabric-Connected Devices

Manual Configuration

To Configure Manually

Fabric Device Node Configuration

Ensuring That LUN Level Information Is Visible

To Ensure LUN Level Information is Visible

To Detect Fabric Devices Visible on a Host

Configuring Device Nodes Without Multipathing Enabled

To Configure an Individual Device Without Multipathing

To Configure Multiple Devices Without Multipathing

Configuring Device Nodes With Solaris Multipathing Software Enabled

To Configure Individual Devices With Sun StorageTek Traffic Manager Software

To Configure Multiple Devices With Multipathing

Unconfiguring Fabric Devices

Unconfiguring a Fabric Device

To Unconfigure a Fabric Device

To Unconfigure All Fabric Devices on a Fabric-Connected Host Port

To Unconfigure a Fabric Device Associated With Sun StorageTek Traffic Manager Multipathing-Enabled Devices

To Unconfigure One Path to a Multipathing Device

To Unconfigure All Fabric-Connected Devices With Multipathing Enabled

B.  Supported FC-HBA API

C.  Multipathing Troubleshooting

Index

To Unconfigure a Fabric Device Associated With Sun StorageTek Traffic Manager Multipathing-Enabled Devices

This procedure shows fabric-connected host ports c0 and c2 to illustrate how to unconfigure fabric devices associated with Sun StorageTek Traffic Manager software devices.

  1. Log in as root (su - root)..
  2. Identify the port WWN of the fabric device to 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
    c2                   fc-fabric   connected    configured   unknown
    c2::50020f2300005f24 disk        connected    configured   unknown
    c2::50020f2300006107 disk        connected    configured   unknown

    In this example, the c0::50020f2300006077 and c2::50020f2300006107 Ap_Ids represent different port WWNs for the same device associated with a Sun StorageTek Traffic Manager software device. The c0 and c2 host ports are enabled for use by the Sun StorageTek Traffic Manager software.

  3. Stop all device 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 for maintaining the fabric device.

  4. Unconfigure fabric devices associated with the device.

    Only devices on a fabric-connected host port can be unconfigured through the cfgadm -c unconfigure command.

    # cfgadm -c unconfigure c0::50020f2300006077 c2::50020f2300006107

    Note - You can remove a device from up to eight paths individually, as in the example command cfgadm -c unconfigure c0::1111, c1::2222, c3::3333, and so on. As an alternative, you can remove an entire set of paths from the host, as in the example cfgadm -c unconfigure c0.


  5. Verify that the selected devices are unconfigured.
    # cfgadm -al
    Ap_Id                Type       Receptacle   Occupant     Condition
    c0                 fc-fabric    connected    configured   unknown
    c0::50020f2300006077 disk       connected    unconfigured 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
    c2                 fc-fabric    connected    configured   unknown
    c2::50020f2300005f24 disk       connected    configured   unknown
    c2::50020f2300006107 disk       connected    unconfigured unknown

    Notice that the Ap_Ids c0::50020f2300006077 and c2::50020f2300006107 are unconfigured. The Occupant column of c0 and c2 still displays those ports as configured because they have other configured occupants.

    The Sun StorageTek Traffic Manager software devices associated with the Ap_Ids c0::50020f2300006077 and c2::50020f2300006107 are no longer available to the host using the Solaris 10 OS. The following two devices are removed from the host:

    /dev/rdsk/c6t60020F20000061073AC8B52D000B74A3d0s2

    /dev/rdsk/c6t60020F20000061073AC8B4C50004ED3Ad0s2