Go to main content

Managing SAN Devices and Multipathing in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018

Manual Configuration for Fabric-Connected Devices

This appendix explains how to configure and unconfigure the fabric devices in the Oracle Solaris OS. It explains how the visible fabric devices on a host are detected and configured with and without enabling the multipathing software.

Performing Health Check on Devices

You can use the following commands to perform health checks on the devices in a SAN:

  • Use the fmadm faulty command, which provides status information for resources that the Fault Manager maintains. If the fmadm faulty command does not throw any output, it means there are no faulty devices. You can also use the fmadm command to know the following configuration information:

    • View the set of diagnosis engines and agents that are currently participating in fault management.

    • View the list of system components that have been associated with a fault, defect, or an alert.

    For more information about resolving faulty devices, see Managing Devices in Oracle Solaris 11.3.

    For more information, see the fmadm(1M) man page.

  • Use the zpool status zpool-name command, which displays the detailed health status about the specified pool. If no pool is specified, then the status of each pool in the system is displayed. For example:

    # zpool status test_pool
      pool: test_pool
     state: ONLINE
      scan: none requested
            NAME                       STATE     READ WRITE CKSUM
            test_pool                  ONLINE       0     0     0
              mirror-0                 ONLINE       0     0     0
                c0t5000CCA00ABBAA9Cd0  ONLINE       0     0     0
                c0t5000CCA00ABCE8DCd0  ONLINE       0     0     0
    errors: No known data errors
  • Use the mpathadm show lu logical-unit command, which provides the configuration information about the specified LU.

    # mpathadm show lu /dev/rdsk/c0t5000CCA00ABBAA9Cd0
    Logical Unit:  /dev/rdsk/c0t5000CCA00ABBAA9Cd0s2
            mpath-support:  libmpscsi_vhci.so
            Vendor:  HITACHI
            Product:  H103030SCSUN300G
            Revision:  A2A8
            Name Type:  unknown type
            Name:  5000cca00abbaa9c
            Asymmetric:  no
            Current Load Balance:  shortest-path
            Logical Unit Group ID:  NA
            Auto Failback:  on
            Auto Probing:  NA
                    Initiator Port Name:  w5080020000d67ae9
                    Target Port Name:  w5000cca00abbaa9d
                    Override Path:  NA
                    Path State:  OK
                    Disabled:  no
            Target Ports:
                    Name:  w5000cca00abbaa9d
                    Relative ID:  0

Manually Configuring FC Devices

In the Oracle Solaris release, fabric-connected devices are available automatically to the Oracle Solaris system.

If you want to manually configure the fabric-connected devices, use the following steps to change the default behavior.

Note -  Changing the default behavior makes all of your fabric-connected devices unavailable, which can cause problems for fabric-connected devices that are required to be available at boot time.