Sponsored Content
Operating Systems Solaris Mpathadm showing no paths to 1 lun, others luns are fine Post 302870085 by badoshi on Friday 1st of November 2013 05:45:27 AM
Old 11-01-2013
I've logged a ticket with Oracle about this issue, and to their credit were very quick in coming back with a response. Apparently mpathadm has serveral associated bugs, and for accurate reporting, i'd be better off using:

Code:
# luxadm display /dev/rdsk/c6t60000970000298700009533031333037d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c6t60000970000298700009533031333037d0s2
  Vendor:               EMC
  Product ID:           SYMMETRIX
  Revision:             5874
  Serial Num:           700009307008
  Unformatted capacity: 98305.312 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0xffff
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c6t60000970000298700009533031333037d0s2
  /devices/scsi_vhci/ssd@g60000970000298700009533031333037:c,raw
   Controller           /devices/pci@3,700000/SUNW,emlxs@0,1/fp@0,0
    Device Address              50000975f0002585,16
    Host controller port WWN    10000000c978d0c3
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@3,700000/SUNW,emlxs@0,1/fp@0,0
    Device Address              50000975f0002589,16
    Host controller port WWN    10000000c978d0c3
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@13,700000/SUNW,emlxs@0,1/fp@0,0
    Device Address              50000975f0002581,16
    Host controller port WWN    10000000c978d125
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@13,700000/SUNW,emlxs@0,1/fp@0,0
    Device Address              50000975f000258d,16
    Host controller port WWN    10000000c978d125
    Class                       primary
    State                       ONLINE

Which indeed showed all paths online as expected. To fix mpathadm, they've suggested I apply patch
143643-08, and a series of others. But after removing disk/configuring once more, it's reporting back ok.

Thanks for everyone's help. Smilie
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

vxdisk list output showing extra LUNs

hi fren i am facing this problem i have sun 6140 storage 30 volumes bt my vxdisk list output is showing 37 disk which shd nt b there has neone faced this proble earlier vxdiks list output is like this SUN6140-2_0 auto - - online c4t201700A0B84853C0d2s2 SUN6140-2_1 auto - - online... (13 Replies)
Discussion started by: bond_ankur
13 Replies

2. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

3. Solaris

luns

how to create luns plzzzzzz (1 Reply)
Discussion started by: nsusheelgoud
1 Replies

4. Solaris

Adding new luns to mpxio config - showing up twice in format.

Hi, I have a sun 440, it already has LUN's configured with MPXIO. I just had more LUNS added, I did devfsadm and cfgadm -al, and they're showing up twice in "Format". :confused: There are no new fiber cables or HBA's involved, same physical setup, just adding LUNS. Aren't they... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

5. UNIX for Advanced & Expert Users

[Solved] mpathadm list lu no output

When I try to configure my HBA ports on Solaris 10; I cant see any output. bash-3.2# mpathadm list lu bash-3.2# I checked /kernel/drv/fp.conf file. ... mpxio-disable="no"; ... What shall I check more? what shall I do? ---------- Post updated at 10:18 AM ---------- Previous update was... (0 Replies)
Discussion started by: hubatuwang
0 Replies

6. Solaris

LUn' unmapped from storage still showing on Solaris 10

How can i remove LUN's from solaris 10 those are unmapped from SAN? from storage side i got confirmation that they removed lun. but in my solaris box still it's visible. i tried below. root@globalares2.example.com #luxadm -e offline /dev/rdsk/c2t600D02310007D16C42FF09E24B5B8255d0s2... (7 Replies)
Discussion started by: bentech4u
7 Replies

7. Solaris

How to avoid seeing various paths to just one LUN?

Hi I have a server running solaris 10 in which the NetAppadmin has just presented one LUN of 200Gb, but when running: bash-3.2# format Searching for disks...done c3t500A09828DE3E799d1: configured with capacity of 199.94GB c3t500A09829DE3E799d1: configured with capacity of 199.94GB ... (5 Replies)
Discussion started by: fretagi
5 Replies

8. Solaris

Luxadm display not showing a LUN as expected

Hi all, I have the following LUN which is showing OK with its two paths: DEVICE PROPERTIES for disk: /dev/rdsk/c23t500507630A3BC579d123s2 Vendor: IBM Product ID: 2107900 Revision: 3010 Serial Num: 75WB0114900 Unformatted capacity:... (13 Replies)
Discussion started by: ludiegu
13 Replies

9. AIX

Changing AIX LUN paths

Hello, Looking for some guidance to changing how an AIX 6.1 server sees its luns. Presently they're connected via 1GB iscsi but I want to change it to 4GB fiber channel. Anyone done this before and if so is it an easy step? I'm thinking this can be done in this order: unmount the... (5 Replies)
Discussion started by: bbbngowc
5 Replies

10. UNIX for Beginners Questions & Answers

Single LUN or multiple smaller LUNs for NFS sharing

We are using Solaris 11 Logical Domains. We NFS share a disk backup area from one LDom to other servers. The share is on a single 1.5 Tb LUN presented to the Control Domain, and as a virtual disk on the NFS server LDom. A 1.5 Tb zpool has been created on the LDom. We now need to provide more disk... (2 Replies)
Discussion started by: SallyB
2 Replies
mpathadm(1M)						  System Administration Commands					      mpathadm(1M)

NAME
mpathadm - multipath discovery and administration SYNOPSIS
mpathadm subcommand direct-object [options] [operand] DESCRIPTION
The mpathadm command enables multipathing discovery and management. The mpathadm command is implemented as a set of subcommands, many with their own options, that are described in the section for that subcommand. Options not associated with a particular subcommand are described under OPTIONS. The mpathadm subcommands operate on a direct-object. These are described in this section for each subcommand. The direct- objects, initiator-port, target-port, andlogical-unit in the subcommands are consistent with SCSI standard definitions. The mpathadm command supports the following subcommands, which are described in detail in subsections that follow. list Display a list of discovered instances for a given object. show Display information about a given object instance. modify Modify properties of an object. enable Enable an object. disable Disable an object. failover Cause target port group failover for a logical-unit. override Set a path to be used over other paths on a logical-unit. The mpathadm subcommands operate on a direct-object. These are described in this section for each subcommand. list Subcommand The syntax for the list subcommand is: # mpathadm list direct-object [operands...] The list subcommand displays data for following direct-objects: mpath-support [mpath-support-name, ...] List the multipathing support that can be administered by this CLI. This presents itself in the form of a library name registered through the MPAPI framework. If no mpath-support name mpath-support-name is specified, all registered multipathing support libraries will be displayed. initiator-port [initiator-port-name, ...] List the initiator ports that are discovered on this system. If no initiator-port-name is specified, all discovered initiator ports are displayed. {logical-unit | lu} [options] [logical-unit-name, ...] List the information on multipath logical units. If no logical-unit-name is specified, all discovered logical-units will be displayed. Options for list logical-unit are as follows: -n, --name name Return the logical unit name that is associated with the given name string. This name can be extracted from the output of the mpathadm show lu command. -t, --target-port target-port-name Return the list of logical units names that are associated with the given target-port-name. show Subcommand The syntax for the show subcommand is: # mpathadm show direct-object [operands...] The show subcommand displays detailed information for following the direct-objects: mpath-support [mpath-support-name, ...] Show the detailed information on the given mpath-support-name if the name exists. If the given mpath-support-name supports only a lim- ited set of device products, the list of device products will be listed as part of the output. initiator-port [initiator-port-name, ...] Show the detailed information for the given initiator-port-name. {logical-unit | lu} [logical-unit-name, ...] Display the detailed information on multipath logical unit(s), including path and target port group information. Note that the name property in the logical unit information represents the identifier for this LUN, derived from the hardware, and used by this system. If the name is derived from SCSI Inquiry Vital Product Data (VPD) page 83h, the name type property represents an associated identifier type defined by the SCSI standards. modify Subcommand The syntax for the modify subcommand is: # mpathadm modify direct-object [options] [operands...] The modify subcommand modifies characteristics of the following direct-objects: mpath-support [options] mpath-support-name, ... Configuration management of an mpath-support. Options to modify mpath-support are as follows: -a, --autofailback on | off Set autofailback. Applicable only when mpath-support provides auto failback support. -p, --autoprobe on | off Set autoprobing. Applicable only when mpath-support provides auto probing support. -b, --loadbalance loadbalance-type Change the default load balance type. The loadbalance type is one of the supported types listed in the show mpath-support output. {logical-unit | lu} [options] logical-unit-name, ... Configuration management of a logical unit. Options to modify logical-unit are as follows: -a, --autofailback on | off Set autofailback. Applicable only when mpath-support provides auto failback support -p, --autoprobe on | off Set autoprobing. Applicable only when mpath-support provides auto probing support. -b, --loadbalance loadbalance-type Set load balance type for the logical unit. Applicable only when load balance configuration is supported at the logical unit level. enable Subcommand The syntax for the enable subcommand is: # mpathadm disable [options] The enable subcommand supports the following direct-objects to be enabled: path -i initiator-port-name -t target-port-name -l logical-unit-name The path that consists of the specified initiator port, target port, and logical unit will be enabled. disable Subcommand The syntax for the disable subcommand is: # mpathadm disable [options] The disable subcommand supports the following direct-objects to be disabled: path -i initiator-port-name -t target-port-name -l logical-unit-name The path that consists of the specified initiator port, target port, and logical unit will be disabled. failover Subcommand The syntax for the failover subcommand is: # mpathadm failover direct-object [operand] The failover subcommand supports failover for the following direct-objects: {logical-unit | lu} logical-unit-name The target port group will failover when the given logical-unit is asymmetric and supports explicit state change. The currently active target port group will be changed to the standby state and the standby target port group will be active. override Subcommand The syntax for the override subcommand is: # mpathadm override [options] The override subcommand controls whether or not the following direct-objects override another: path {-i initiator-port-name -t target-port-name | -c} -l logical-unit-name Cause a path that consists of the specified initiator port, target port, and logical unit to override other paths on the logical unit. Once a path overrides other paths, the mpath-support uses only that path regardless of any other path selection configuration. The -c option cancels the setting. The path that consists of the specified initiator port, target port, and logical unit will be disabled. Options for override path are as follows: -i, --initiator-port initiator-port-name Represent the initiator port element of a path. Options -t and -l must also be included. -t, --target-port target-port-name Represent the target port element of a path. Options -i and -l must also be included. -l, --logical-unit logical-unit Represent the logical unit element of a path. Options -i and -t must also be included. -c, --cancel Cancels overriding setting for the given logical unit. Option -l must also be included. OPTIONS
The following options are supported: -V, --version Display the version information. -?, --help Display context help. Can be used following an mpathadm command with no arguments, following a subcommand, or following a subcommand direct-object combination. Responds with help information appropriate for your entry. For example, if you enter: # mpathadm add mpath-support-help ... mpathadm responds with a display of the options available for that combination of subcommand and direct-object. EXAMPLES
Example 1 Obtaining a List of Multipathing Support The following command uses the list subcommand to list all currently registered mpath-support libraries. # mpathadm list mpath-support mpath-support: libmpscsi_vhci.so Example 2 Displaying the Properties of a Particular Multipathing Support The following command uses the show subcommand to display the properties for a currently registered mpath-support library. # mpathadm show mpath-support libmpscsi_vhci.so mpath-support: libmpscsi_vhci.so Vendor: Sun Microsystems Driver Name: scsi_vhci Default Load Balance: round-robin Supported Load Balance Types: round-robin logical-block Allows To Activate Target Port Group Access: yes Allows Path Override: no Supported Auto Failback Config: 1 Auto Failback: on Failback Polling Rate (current/max): 0/0 Supported Auto Probing Config: 0 Auto Probing: NA Probing Polling Rate (current/max): NA/NA Supported Devices: Vendor: SUN Product: T300 Revision: Supported Load Balance Types: round-robin Vendor: SUN Product: T4 Revision: Supported Load Balance Types: round-robin Example 3 Obtaining a List of Initiator Ports Discovered Through the mpath-support Libraries The following command uses the list initiator-port subcommand to display a list of initiator ports discovered by the currently registered mpath-support libraries. # mpathadm list initiator-port Initiator-Port: iqn.1986-03.com.sun:01:080020b7ac2b.437a3b3e,4000002a0000 Initiator-Port: 2000000173018713 Initiator-Port: 2000000173818713 Example 4 Displaying the Properties of a Particular Initiator Port The following command uses the show initiator-port subcommand to display the properties of a particular initiator port discovered using the list initiator-port subcommand in an example above. # mpathadm show initiator-port 2000000173018713 initiator-port: 2000000173018713 Transport Type: Fibre Channel OS device File: devices/pci@1f,4000/pci@2/SUNW,qlca@5/fp@0,0:fc Example 5 Displaying the Properties of a Particular Logical Unit The following command uses the show logical-unit subcommand to display the properties of the logical unit with the specified name. # mpathadm show lu /dev/rdsk/c4t60003BA27D2120004204AC2B000DAB00d0s2 Logical Unit: /dev/rdsk/c4t60003BA27D2120004204AC2B000DAB00d0s2 mpath-support libmpscsi_vhci.so Vendor: SUN Product: T4 Revision: 0301 Name Type: SCSI Inquiry VPD Page 83 type 3 Name: 60003ba27d2120004204ac2b000dab00 Asymmetric: yes Current Load Balance: round-robin Logical Unit Group ID: NA Aauto Failback: on Auto Probing: NA Paths: Initiator Port Name: 2000000173818713 Target Port Name: 20030003ba27d212 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 2000000173018713 Target Port Name: 20030003ba27d095 Override Path: NA Path State: OK Disabled: no Target Port Group: ID: 2 Explicit Failover: yes Access State: standby Target Ports: Name: 20030003ba27d212 Relative ID: 0 ID: 5 Explicit Failover: yes Access State: active Target Ports Name: 20030003ba27d095 Relative ID: 0 Example 6 Enabling a Path The following command uses the enable path subcommand to enable the path with the specified initiator port, target port, and logical unit. # mpathadm enable path -i 2000000173018713 -t 20030003ba27d095 -l /dev/rdsk/c4t60003BA27D2120004204AC2B000DAB00d0s2 Example 7 Modifying mpath-support To Turn On autofailback # mpathadm modify mpath-support -a on libmpscsi_vhci.so ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+--------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+--------------------------------+ |Availability |SUNWmpapi | +-----------------------------+--------------------------------+ | |SUNWmpapir (exec_attr(4) entry) | +-----------------------------+--------------------------------+ |Interface Stability |Evolving | +-----------------------------+--------------------------------+ SEE ALSO
stmsboot(1M), libMPAPI(3LIB), exec_attr(4), attributes(5) SunOS 5.11 27 Feb 2006 mpathadm(1M)
All times are GMT -4. The time now is 03:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy