Legacy HDS Forums

AMS500 + mpxio (solaris 10) name path too long

Discussion created by Legacy HDS Forums on Jan 9, 2007

Originally posted by: Cristiano Toni



Hi,
we are having a problems with the use of MPXIO (Solaris 10 11/06) with
AMS 500 di HDS. After mapping disk lun and configuring mpxio as best practice, we obtain a very long disk path. This is a problem with SVM, if we want to create metadevice:
SVM it doesn't allow the use of target devices to have a name longer than 16chars


for example:
$ metadb -a -f /dev/dsk/c4t4849544143484920373530353033373930303130d0s7 /dev/dsk/c4t4849544143484920373530353033373930303039d0s7
metadb: host: /: No such file or directory


Someone can help me??

Thanks
Cristiano

Here, others information of my system:

scmocs# fcinfo hba-port
HBA Port WWN: 210000e08b91e64a
        OS Device Name: /dev/cfg/c3
        Manufacturer: QLogic Corp.
        Model: 2312
        Firmware Version: 3.3.117
        FCode/BIOS Version: ISP2312 Host Adapter Driver: 1.14.11 08/23/05
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 200000e08b91e64a




scmocs# fcinfo remote-port -s -p 210000e08b91e64a
Remote Port WWN: 210100e08b2436c6
        Active FC4 Types: SCSI
        SCSI Target: no
        Node WWN: 200100e08b2436c6
Remote Port WWN: 210000e08b0b0bf6
        Active FC4 Types: SCSI
        SCSI Target: no
        Node WWN: 200000e08b0b0bf6
Remote Port WWN: 210000e08b07182f
        Active FC4 Types: SCSI,IP
        SCSI Target: no
        Node WWN: 200000e08b07182f
Remote Port WWN: 50060e80102c4cb1
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 50060e80102c4cb1
        LUN: 0
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303037d0s2
        LUN: 1
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303038d0s2
        LUN: 2
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303039d0s2
        LUN: 3
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303130d0s2
Remote Port WWN: 210000e08b14e914
        Active FC4 Types: SCSI,IP
        SCSI Target: no
        Node WWN: 200000e08b14e914
Remote Port WWN: 50060e80102c4cb3
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 50060e80102c4cb3
        LUN: 0
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303037d0s2
        LUN: 1
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303038d0s2
        LUN: 2
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303039d0s2
        LUN: 3
          Vendor: HITACHI
          Product: DF600F        
          OS Device Name: /dev/rdsk/c4t4849544143484920373530353033373930303130d0s2



scmocs# cat /kernel/drv/scsi_vhci.conf
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#pragma ident   "@(#)scsi_vhci.conf     1.9     04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path.  Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="enable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN     SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
# device-type-scsi-options-list =
# "SUN     SENA", "symmetric-option";
#
# symmetric-option = 0x1000000;
device-type-scsi-options-list =
"HITACHI DF600F         ", "symmetric-option";
symmetric-option = 0x1000000;



scmocs# cat  /kernel/drv/fp.conf
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Sun Fibre Channel Port driver configuration
#
#ident  "@(#)fp.conf    1.4     06/06/22 SMI"
#

name="fp" class="fibre-channel" port=0;
name="fp" class="fibre-channel" port=1;

#
# Automatic configuration of the fabric is turned on by default
# and thus allows all devices discovered in the SAN zone to be
# enumerated in the Solaris devinfo tree automatically.
#
# The manual_configuration_only property may be used to
# disable the default behavior and force the manual configuration of
# the devices in the SAN. Setting manual_configuration_only=1
# will disable the automatic configuration of devices.
# NOTE: Use of this property is not recommended. If used, the
# fabric devices accessed at boot time need to get manually configured
# before the next reboot. Otherwise, fabric devices that are needed at
# boot time may not get configured and may cause boot problems.
# To manually configure fabric devices, refer to cfgadm_fp(1M).
# manual_configuration_only=1;
#

#
# To generate the binding-set specific 'compatible' forms used to address
# legacy issues the 'scsi-binding-set' property must be defined. (do not remove)
#
scsi-binding-set="fcp";

#
# List of ULP modules for loading during port driver attach time
#
load-ulp-list="1","fcp";

#
# Force attach driver to support hotplug activity (do not remove the property)
#
ddi-forceattach=1;

#
# I/O multipathing feature (MPxIO) can be enabled or disabled using
# mpxio-disable property. Setting mpxio-disable="no" will activate
# I/O multipathing; setting mpxio-disable="yes" disables the feature.
#
# Global mpxio-disable property:
#
# To globally enable MPxIO on all fp ports set:
# mpxio-disable="no";
#
# To globally disable MPxIO on all fp ports set:
# mpxio-disable="yes";
#
# Per port mpxio-disable property:
#
# You can also enable or disable MPxIO on a per port basis.
# Per port settings override the global setting for the specified ports.
# To disable MPxIO on port 0 whose parent is /pci@8,600000/SUNW,qlc@4 set:
# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
#
# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
# better to use stmsboot(1M) as it also updates /etc/vfstab.
#
#
# You can describe a list of target port WWNs and LUN numbers which will
# not be configured. LUN numbers will be interpreted as decimal. White
# spaces and ',' can be used in the list of LUN numbers.
#
# pwwn-lun-blacklist=
# "target-port-wwn,lun-list"
#
# To prevent LUNs 1 and 2 from being configured for target
# port 510000f010fd92a1 and target port 510000e012079df1, set:
#
# pwwn-lun-blacklist=
# "510000f010fd92a1,1,2",
# "510000e012079df1,1,2";
mpxio-disable="no";

Outcomes