Video Screencast Help

same enclosure name for two Storages

Created: 07 Apr 2014 | 16 comments

Hi,

I've 1 server & 2 Sun StorageTek 2540 storage connected through SAN. Solaris-10 is running on the server & VxVM 6.0 has been installed.

But i'm getting only one enclosure name for both the storages.

Please suggest.

 

 

Operating Systems:

Comments 16 CommentsJump to latest comment

Gaurav Sangamnerkar's picture

Hello,

What output you are referring ? is it  the "vxdisk list" or "vxdmpadm listenclosure" ?

you can use vxdmpadm setattr command to give meaningful name to enclosure

 for example:
# vxdmpadm setattr enclosure enc0 name=GRP1
This example changes the name of an enclosure from enc0 to GRP1.
Note: The maximum length of the enclosure name prefix is 23 characters.
The following command shows the changed name:

# vxdmpadm listenclosure all
ENCLR_NAME ENCLR_TYPE ENCLR_SNO STATUS
============================================================
other0 OTHER OTHER_DISKS CONNECTED
jbod0 X1 X1_DISKS CONNECTED
GRP1 ACME 60020f20000001a90000 CONNECTED

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

Farhan A Azam's picture

Please find below output,

bash-3.2# vxdmpadm listenclosure all
ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE     LUN_COUNT
=======================================================================================
st2540-0          ST2540-        60080E50003E01180000000051B79D0F  CONNECTED    A/A        134
disk              Disk           DISKS                CONNECTED    Disk        3

its showing only one enclosure, whereas we have two storage connected, so it should show two enclosure.

 

 

 

Gaurav Sangamnerkar's picture

How are you certain that 2 storage devices are infact connected ?

Does OS see two different stroage devices ? provide format & luxadm outputs

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

Farhan A Azam's picture

Hi,

I'm sure that we have 2 storages conected.

We have two StorageTek 2540 connected with this server. Each storage is having 67 LUN created & mapped with host. So total we have 134 LUNs.

I'm able to see all 134 LUNS in format output.

bash-3.2# luxadm -e port
/devices/pci@400/pci@2/pci@0/pci@0/SUNW,qlc@0/fp@0,0:devctl        NOT CONNECTED
/devices/pci@400/pci@2/pci@0/pci@0/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
/devices/pci@400/pci@2/pci@0/pci@4/SUNW,qlc@0/fp@0,0:devctl        NOT CONNECTED
/devices/pci@400/pci@2/pci@0/pci@4/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
/devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
/devices/pci@500/pci@2/pci@0/pci@a/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@500/pci@2/pci@0/pci@a/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
bash-3.2#

 

In below output also 134 LUN is reported but unfortunatly, its hhsowing only one enclosure.

bash-3.2# vxdmpadm listenclosure all
ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE     LUN_COUNT
=======================================================================================
st2540-0          ST2540-        60080E50003E01180000000051B79D0F  CONNECTED    A/A        134
disk              Disk           DISKS                CONNECTED    Disk        3

 

is there any way to add enclosure manually.

novonil_choudhuri's picture

Please also send cfgadm -al o/p

Best Regards,

Novonil

Gaurav Sangamnerkar's picture

Hi Farhan,

The output above suggests that 134 Luns are available

bash-3.2# vxdmpadm listenclosure all
ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE     LUN_COUNT
=======================================================================================
st2540-0          ST2540-        60080E50003E01180000000051B79D0F  CONNECTED    A/A        134
disk              Disk           DISKS                CONNECTED    Disk        3

Above suggests that same array is hosting 134 Luns & not the 2 separate arrays. Quite possible that two connected paths mentioned in luxadm output are multipaths to each other ?

can u paste "format" output as asked above, also paste below

# vxdmpadm listexclude all

# vxddladm listexclude

# vxdisk -e list

# vxdisk list <disk>    (get output of any one storage disk)

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

Farhan A Azam's picture

Hi,

vxdisk list output is below, disk "st2540-0_0 to st2540-0_66" belong to storage-1 & "st2540-0_67 to st2540-0_133" belong to storage-2.

bash-3.2# vxdisk -e list
DEVICE       TYPE           DISK        GROUP        STATUS               OS_NATIVE_NAME   ATTR       
disk_0       auto:SVM       -            -           SVM                  c0t5000CCA012CB5654d0s2 -           
disk_1       auto:SVM       -            -           SVM                  c0t5000CCA025313CE0d0s2 -           
disk_2       auto:SVM       -            -           SVM                  c0t5000CCA0253B56F8d0s2 -           
st2540-0_0   auto           -            -           nolabel              c0t60080E500037D020000005D05338CFD2d0s2 -           
st2540-0_1   auto           -            -           nolabel              c0t60080E50003E0118000005C15338D01Ed0s2 -           
st2540-0_2   auto           -            -           nolabel              c0t60080E50003768120000054C5334F990d0s2 -           
st2540-0_3   auto           -            -           nolabel              c0t60080E5000376812000005505334FCA9d0s2 -           
st2540-0_4   auto           -            -           nolabel              c0t60080E5000376812000005495334F8ADd0s2 -           
st2540-0_6   auto           -            -           nolabel              c0t60080E5000376812000005525334FDC0d0s2 -           
st2540-0_7   auto           -            -           nolabel              c0t60080E50003768120000055853364176d0s2 -           
st2540-0_8   auto           -            -           nolabel              c0t60080E50003768120000055A533642A9d0s2 -           
st2540-0_9   auto           -            -           nolabel              c0t60080E50003768120000055C53364429d0s2 -           
st2540-0_10  auto           -            -           nolabel              c0t60080E50003768120000055E533644F1d0s2 -           
st2540-0_11  auto           -            -           nolabel              c0t60080E50003768120000054E5334FB9Ad0s2 -           
st2540-0_11  auto           -            -           nolabel              c0t60080E50003768120000054E5334FB9Ad0s2 -           
st2540-0_12  auto           -            -           nolabel              c0t60080E5000376812000005625336467Fd0s2 -           
st2540-0_12  auto           -            -           nolabel              c0t60080E5000376812000005625336467Fd0s2 -           
st2540-0_13  auto           -            -           nolabel              c0t60080E5000376812000005565335001Fd0s2 -           
st2540-0_13  auto           -            -           nolabel              c0t60080E5000376812000005565335001Fd0s2 -           
st2540-0_14  auto           -            -           nolabel              c0t60080E50003768120000058853365924d0s2 -           
st2540-0_15  auto           -            -           nolabel              c0t60080E50003768120000056853364C47d0s2 -           
st2540-0_16  auto           -            -           nolabel              c0t60080E50003768120000056A53364D71d0s2 -           
st2540-0_17  auto           -            -           nolabel              c0t60080E50003768120000056C53364E86d0s2 -           
st2540-0_18  auto           -            -           nolabel              c0t60080E5000376812000005705336509Fd0s2 -           
st2540-0_19  auto           -            -           nolabel              c0t60080E50003768120000057253365157d0s2 -           
st2540-0_20  auto           -            -           nolabel              c0t60080E5000376812000005745336520Ed0s2 -           
st2540-0_21  auto           -            -           nolabel              c0t60080E500037681200000576533652E5d0s2 -           
st2540-0_22  auto           -            -           nolabel              c0t60080E50003768120000056653364B37d0s2 -           
st2540-0_23  auto           -            -           nolabel              c0t60080E50003768120000057A5336543Bd0s2 -           
st2540-0_24  auto           -            -           nolabel              c0t60080E50003768120000057C533654D6d0s2 -           
st2540-0_25  auto           -            -           nolabel              c0t60080E50003768120000057853365373d0s2 -           
st2540-0_26  auto           -            -           nolabel              c0t60080E50003768120000058053365665d0s2 -           
st2540-0_27  auto           -            -           nolabel              c0t60080E5000376812000005825336570Cd0s2 -           
st2540-0_28  auto           -            -           nolabel              c0t60080E500037681200000584533657AEd0s2 -           
st2540-0_29  auto           -            -           nolabel              c0t60080E5000376812000005865336585Cd0s2 -           
st2540-0_30  auto           -            -           nolabel              c0t60080E50003768120000057E53365586d0s2 -           
st2540-0_31  auto           -            -           nolabel              c0t60080E50003768120000058A533659E9d0s2 -           
st2540-0_32  auto           -            -           nolabel              c0t60080E50003768120000058C53365A8Ad0s2 -           
st2540-0_33  auto           -            -           nolabel              c0t60080E500037706E000005615334F8F3d0s2 -           
st2540-0_34  auto           -            -           nolabel              c0t60080E500037706E000005645334FA07d0s2 -           
st2540-0_35  auto           -            -           nolabel              c0t60080E500037706E000005675334FBD1d0s2 -           
st2540-0_36  auto           -            -           nolabel              c0t60080E500037706E000005695334FCECd0s2 -           
st2540-0_37  auto           -            -           nolabel              c0t60080E500037706E0000056B5334FDFEd0s2 -           
st2540-0_38  auto           -            -           nolabel              c0t60080E500037706E0000056D5334FF51d0s2 -           
st2540-0_39  auto           -            -           nolabel              c0t60080E500037706E0000056F5336418Ad0s2 -           
st2540-0_40  auto           -            -           nolabel              c0t60080E500037706E00000571533641D3d0s2 -           
st2540-0_41  auto           -            -           nolabel              c0t60080E500037706E00000573533642D4d0s2 -           
st2540-0_42  auto           -            -           nolabel              c0t60080E500037D020000005BE53366615d0s2 -           
st2540-0_43  auto           -            -           nolabel              c0t60080E500037706E0000057753364522d0s2 -           
st2540-0_44  auto           -            -           nolabel              c0t60080E500037706E0000057953364601d0s2 -           
st2540-0_45  auto           -            -           nolabel              c0t60080E500037706E0000057B533646A0d0s2 -           
st2540-0_46  auto           -            -           nolabel              c0t60080E500037706E0000057D53364AB4d0s2 -           
st2540-0_47  auto           -            -           nolabel              c0t60080E500037706E0000057F53364BBCd0s2 -           
st2540-0_48  auto           -            -           nolabel              c0t60080E500037706E0000058153364CDEd0s2 -           
st2540-0_49  auto           -            -           nolabel              c0t60080E500037706E0000058353364DDBd0s2 -           
st2540-0_50  auto           -            -           nolabel              c0t60080E500037706E0000058553364EDBd0s2 -           
st2540-0_51  auto           -            -           nolabel              c0t60080E500037706E0000058753364FE4d0s2 -           
st2540-0_52  auto           -            -           nolabel              c0t60080E500037706E00000589533650C4d0s2 -           
st2540-0_53  auto           -            -           nolabel              c0t60080E500037706E0000058B5336518Bd0s2 -           
st2540-0_54  auto           -            -           nolabel              c0t60080E500037706E0000058D53365263d0s2 -           
st2540-0_55  auto           -            -           nolabel              c0t60080E500037706E0000058F533652F4d0s2 -           
st2540-0_56  auto           -            -           nolabel              c0t60080E500037706E0000059153365393d0s2 -           
st2540-0_57  auto           -            -           nolabel              c0t60080E500037706E0000057553364459d0s2 -           
st2540-0_57  auto           -            -           nolabel              c0t60080E500037706E0000057553364459d0s2 -           
st2540-0_58  auto           -            -           nolabel              c0t60080E500037706E0000059553365502d0s2 -           
st2540-0_59  auto           -            -           nolabel              c0t60080E500037706E0000059753365595d0s2 -           
st2540-0_60  auto           -            -           nolabel              c0t60080E500037706E0000059953365689d0s2 -           
st2540-0_61  auto           -            -           nolabel              c0t60080E500037706E0000059B5336571Ed0s2 -           
st2540-0_62  auto           -            -           nolabel              c0t60080E500037706E0000059D533657DCd0s2 -           
st2540-0_63  auto           -            -           nolabel              c0t60080E500037706E0000059F533658B3d0s2 -           
st2540-0_64  auto           -            -           nolabel              c0t60080E500037706E000005A15336593Fd0s2 -           
st2540-0_65  auto           -            -           nolabel              c0t60080E500037706E000005A353365A11d0s2 -           
st2540-0_66  auto           -            -           nolabel              c0t60080E500037706E000005A553365AE6d0s2 -           
st2540-0_67  auto           -            -           nolabel              c0t60080E500037D0200000059453350E63d0s2 -           
st2540-0_68  auto           -            -           nolabel              c0t60080E500037D0200000059753350F7Ed0s2 -           
st2540-0_69  auto           -            -           nolabel              c0t60080E500037D0200000059A5335101Ed0s2 -           
st2540-0_70  auto           -            -           nolabel              c0t60080E500037D0200000059C533510BEd0s2 -           
st2540-0_71  auto           -            -           nolabel              c0t60080E500037D0200000059E5335116Bd0s2 -           
st2540-0_72  auto           -            -           nolabel              c0t60080E500037D020000005A053351230d0s2 -           
st2540-0_73  auto           -            -           nolabel              c0t60080E500037D020000005A253351315d0s2 -           
st2540-0_74  auto           -            -           nolabel              c0t60080E500037D020000005A453351397d0s2 -           
st2540-0_76  auto           -            -           nolabel              c0t60080E500037D020000005A853351498d0s2 -           
st2540-0_77  auto           -            -           nolabel              c0t60080E500037D020000005AA53351566d0s2 -           
st2540-0_78  auto           -            -           nolabel              c0t60080E500037D020000005AC53351674d0s2 -           
st2540-0_79  auto           -            -           nolabel              c0t60080E500037D020000005AE53366059d0s2 -           
st2540-0_80  auto           -            -           nolabel              c0t60080E500037D020000005B053366117d0s2 -           
st2540-0_81  auto           -            -           nolabel              c0t60080E500037D020000005B2533661C1d0s2 -           
st2540-0_82  auto           -            -           nolabel              c0t60080E500037D020000005B453366296d0s2 -           
st2540-0_83  auto           -            -           nolabel              c0t60080E500037D020000005B653366346d0s2 -           
st2540-0_84  auto           -            -           nolabel              c0t60080E500037D020000005B85336642Fd0s2 -           
st2540-0_85  auto           -            -           nolabel              c0t60080E500037D020000005BA533664CEd0s2 -           
st2540-0_86  auto           -            -           nolabel              c0t60080E500037D020000005BC5336659Cd0s2 -           
st2540-0_87  auto           -            -           nolabel              c0t60080E500037D020000005A653351411d0s2 -           
st2540-0_88  auto           -            -           nolabel              c0t60080E500037D020000005C25338C9EDd0s2 -           
st2540-0_89  auto           -            -           nolabel              c0t60080E500037D020000005C45338CAA0d0s2 -           
st2540-0_90  auto           -            -           nolabel              c0t60080E500037D020000005C65338CB58d0s2 -           
st2540-0_91  auto           -            -           nolabel              c0t60080E500037D020000005C85338CC62d0s2 -           
st2540-0_92  auto           -            -           nolabel              c0t60080E500037D020000005CA5338CD28d0s2 -           
st2540-0_93  auto           -            -           nolabel              c0t60080E500037D020000005CC5338CDEBd0s2 -           
st2540-0_94  auto           -            -           nolabel              c0t60080E500037D020000005CE5338CEEEd0s2 -           
st2540-0_96  auto           -            -           nolabel              c0t60080E500037D020000005D25338D0C3d0s2 -           
st2540-0_97  auto           -            -           nolabel              c0t60080E500037D020000005D45338D22Cd0s2 -           
st2540-0_98  auto           -            -           nolabel              c0t60080E500037D020000005D65338D2F4d0s2 -           
st2540-0_99  auto           -            -           nolabel              c0t60080E500037D020000005D85338D3ADd0s2 -           
st2540-0_100 auto           -            -           nolabel              c0t60080E500037D020000005DA5338D606d0s2 -           
st2540-0_101 auto           -            -           nolabel              c0t60080E500037D020000005DC5338D6F9d0s2 -           
st2540-0_102 auto           -            -           nolabel              c0t60080E50003E01180000058A53350EBAd0s2 -           
st2540-0_103 auto           -            -           nolabel              c0t60080E50003E01180000058D53350F61d0s2 -           
st2540-0_104 auto           -            -           nolabel              c0t60080E50003E01180000058F53351090d0s2 -           
st2540-0_105 auto           -            -           nolabel              c0t60080E50003E01180000059153351126d0s2 -           
st2540-0_106 auto           -            -           nolabel              c0t60080E50003E011800000593533511CBd0s2 -           
st2540-0_107 auto           -            -           nolabel              c0t60080E50003E0118000005955335128Bd0s2 -           
st2540-0_108 auto           -            -           nolabel              c0t60080E50003E01180000059753351356d0s2 -           
st2540-0_109 auto           -            -           nolabel              c0t60080E50003E0118000005995335140Ed0s2 -           
st2540-0_110 auto           -            -           nolabel              c0t60080E50003E01180000059B53351489d0s2 -           
st2540-0_111 auto           -            -           nolabel              c0t60080E50003E01180000059D5335150Bd0s2 -           
st2540-0_112 auto           -            -           nolabel              c0t60080E50003E01180000059F533515ACd0s2 -           
st2540-0_113 auto           -            -           nolabel              c0t60080E50003E0118000005A153351683d0s2 -           
st2540-0_114 auto           -            -           nolabel              c0t60080E50003E0118000005A353366161d0s2 -           
st2540-0_115 auto           -            -           nolabel              c0t60080E50003E0118000005A553366222d0s2 -           
st2540-0_116 auto           -            -           nolabel              c0t60080E50003E0118000005A9533663B1d0s2 -           
st2540-0_117 auto           -            -           nolabel              c0t60080E50003E0118000005AD53366533d0s2 -           
st2540-0_118 auto           -            -           nolabel              c0t60080E50003E0118000005AF5336660Dd0s2 -           
st2540-0_119 auto           -            -           nolabel              c0t60080E50003E0118000005B153366695d0s2 -           
st2540-0_120 auto           -            -           nolabel              c0t60080E50003E0118000005B353366739d0s2 -           
st2540-0_121 auto           -            -           nolabel              c0t60080E50003E0118000005B55338CAEDd0s2 -           
st2540-0_122 auto           -            -           nolabel              c0t60080E50003E0118000005B75338CBC0d0s2 -           
st2540-0_123 auto           -            -           nolabel              c0t60080E50003E0118000005B95338CCB1d0s2 -           
st2540-0_124 auto           -            -           nolabel              c0t60080E50003E0118000005BB5338CD7Cd0s2 -           
st2540-0_125 auto           -            -           nolabel              c0t60080E50003E0118000005BD5338CE46d0s2 -           
st2540-0_126 auto           -            -           nolabel              c0t60080E50003E0118000005BF5338CF1Bd0s2 -           
st2540-0_128 auto           -            -           nolabel

c0t60080E50003E0118000005C35338D106d0s2 -           
st2540-0_129 auto           -            -           nolabel              c0t60080E50003E0118000005C55338D1D0d0s2 -           
st2540-0_130 auto           -            -           nolabel              c0t60080E50003E0118000005C75338D33Ad0s2 -           
st2540-0_131 auto           -            -           nolabel             

c0t60080E50003E0118000005C95338D406d0s2 -           
st2540-0_132 auto           -            -           nolabel              c0t60080E50003E0118000005CB5338D639d0s2 -           
st2540-0_133 auto           -            -           nolabel              c0t60080E50003E0118000005CD5338D729d0s2 -

 

Farhan A Azam's picture

Hi,

vxdisk list output is below, diks "st2540-0_0 to st2540-0_66" belongs to Storage-1 & disk "st2540-0_67 to st2540-0_133" belong to storage-2.

 

bash-3.2# vxdisk -e list
DEVICE       TYPE           DISK        GROUP        STATUS               OS_NATIVE_NAME   ATTR       
disk_0       auto:SVM       -            -           SVM                  c0t5000CCA012CB5654d0s2 -           
disk_1       auto:SVM       -            -           SVM                  c0t5000CCA025313CE0d0s2 -           
disk_2       auto:SVM       -            -           SVM                  c0t5000CCA0253B56F8d0s2 -           
st2540-0_0   auto           -            -           nolabel              c0t60080E500037D020000005D05338CFD2d0s2 -           
st2540-0_1   auto           -            -           nolabel              c0t60080E50003E0118000005C15338D01Ed0s2 -           
st2540-0_2   auto           -            -           nolabel              c0t60080E50003768120000054C5334F990d0s2 -           
st2540-0_3   auto           -            -           nolabel              c0t60080E5000376812000005505334FCA9d0s2 -           
st2540-0_4   auto           -            -           nolabel              c0t60080E5000376812000005495334F8ADd0s2 -           
st2540-0_6   auto           -            -           nolabel              c0t60080E5000376812000005525334FDC0d0s2 -           
st2540-0_7   auto           -            -           nolabel              c0t60080E50003768120000055853364176d0s2 -           
st2540-0_8   auto           -            -           nolabel              c0t60080E50003768120000055A533642A9d0s2 -           
st2540-0_9   auto           -            -           nolabel              c0t60080E50003768120000055C53364429d0s2 -           
st2540-0_10  auto           -            -           nolabel              c0t60080E50003768120000055E533644F1d0s2 -           
st2540-0_11  auto           -            -           nolabel              c0t60080E50003768120000054E5334FB9Ad0s2 -           
st2540-0_11  auto           -            -           nolabel              c0t60080E50003768120000054E5334FB9Ad0s2 -           
st2540-0_12  auto           -            -           nolabel              c0t60080E5000376812000005625336467Fd0s2 -           
st2540-0_12  auto           -            -           nolabel              c0t60080E5000376812000005625336467Fd0s2 -           
st2540-0_13  auto           -            -           nolabel              c0t60080E5000376812000005565335001Fd0s2 -           
st2540-0_13  auto           -            -           nolabel              c0t60080E5000376812000005565335001Fd0s2 -           
st2540-0_14  auto           -            -           nolabel              c0t60080E50003768120000058853365924d0s2 -           
st2540-0_15  auto           -            -           nolabel              c0t60080E50003768120000056853364C47d0s2 -           
st2540-0_16  auto           -            -           nolabel              c0t60080E50003768120000056A53364D71d0s2 -           
st2540-0_17  auto           -            -           nolabel              c0t60080E50003768120000056C53364E86d0s2 -           
st2540-0_18  auto           -            -           nolabel              c0t60080E5000376812000005705336509Fd0s2 -           
st2540-0_19  auto           -            -           nolabel              c0t60080E50003768120000057253365157d0s2 -           
st2540-0_20  auto           -            -           nolabel              c0t60080E5000376812000005745336520Ed0s2 -           
st2540-0_21  auto           -            -           nolabel              c0t60080E500037681200000576533652E5d0s2 -           
st2540-0_22  auto           -            -           nolabel              c0t60080E50003768120000056653364B37d0s2 -           
st2540-0_23  auto           -            -           nolabel              c0t60080E50003768120000057A5336543Bd0s2 -           
st2540-0_24  auto           -            -           nolabel              c0t60080E50003768120000057C533654D6d0s2 -           
st2540-0_25  auto           -            -           nolabel              c0t60080E50003768120000057853365373d0s2 -           
st2540-0_26  auto           -            -           nolabel              c0t60080E50003768120000058053365665d0s2 -           
st2540-0_27  auto           -            -           nolabel              c0t60080E5000376812000005825336570Cd0s2 -           
st2540-0_28  auto           -            -           nolabel              c0t60080E500037681200000584533657AEd0s2 -           
st2540-0_29  auto           -            -           nolabel              c0t60080E5000376812000005865336585Cd0s2 -           
st2540-0_30  auto           -            -           nolabel              c0t60080E50003768120000057E53365586d0s2 -           
st2540-0_31  auto           -            -           nolabel              c0t60080E50003768120000058A533659E9d0s2 -           
st2540-0_32  auto           -            -           nolabel              c0t60080E50003768120000058C53365A8Ad0s2 -           
st2540-0_33  auto           -            -           nolabel              c0t60080E500037706E000005615334F8F3d0s2 -           
st2540-0_34  auto           -            -           nolabel              c0t60080E500037706E000005645334FA07d0s2 -           
st2540-0_35  auto           -            -           nolabel              c0t60080E500037706E000005675334FBD1d0s2 -           
st2540-0_36  auto           -            -           nolabel              c0t60080E500037706E000005695334FCECd0s2 -           
st2540-0_37  auto           -            -           nolabel              c0t60080E500037706E0000056B5334FDFEd0s2 -           
st2540-0_38  auto           -            -           nolabel              c0t60080E500037706E0000056D5334FF51d0s2 -           
st2540-0_39  auto           -            -           nolabel              c0t60080E500037706E0000056F5336418Ad0s2 -           
st2540-0_40  auto           -            -           nolabel              c0t60080E500037706E00000571533641D3d0s2 -           
st2540-0_41  auto           -            -           nolabel              c0t60080E500037706E00000573533642D4d0s2 -           
st2540-0_42  auto           -            -           nolabel              c0t60080E500037D020000005BE53366615d0s2 -           
st2540-0_43  auto           -            -           nolabel              c0t60080E500037706E0000057753364522d0s2 -           
st2540-0_44  auto           -            -           nolabel              c0t60080E500037706E0000057953364601d0s2 -           
st2540-0_45  auto           -            -           nolabel              c0t60080E500037706E0000057B533646A0d0s2 -           
st2540-0_46  auto           -            -           nolabel              c0t60080E500037706E0000057D53364AB4d0s2 -           
st2540-0_47  auto           -            -           nolabel              c0t60080E500037706E0000057F53364BBCd0s2 -           
st2540-0_48  auto           -            -           nolabel              c0t60080E500037706E0000058153364CDEd0s2 -           
st2540-0_49  auto           -            -           nolabel              c0t60080E500037706E0000058353364DDBd0s2 -           
st2540-0_50  auto           -            -           nolabel              c0t60080E500037706E0000058553364EDBd0s2 -           
st2540-0_51  auto           -            -           nolabel              c0t60080E500037706E0000058753364FE4d0s2 -           
st2540-0_52  auto           -            -           nolabel              c0t60080E500037706E00000589533650C4d0s2 -           
st2540-0_53  auto           -            -           nolabel              c0t60080E500037706E0000058B5336518Bd0s2 -           
st2540-0_54  auto           -            -           nolabel              c0t60080E500037706E0000058D53365263d0s2 -           
st2540-0_55  auto           -            -           nolabel              c0t60080E500037706E0000058F533652F4d0s2 -           
st2540-0_56  auto           -            -           nolabel              c0t60080E500037706E0000059153365393d0s2 -           
st2540-0_57  auto           -            -           nolabel              c0t60080E500037706E0000057553364459d0s2 -           
st2540-0_57  auto           -            -           nolabel              c0t60080E500037706E0000057553364459d0s2 -           
st2540-0_58  auto           -            -           nolabel              c0t60080E500037706E0000059553365502d0s2 -           
st2540-0_59  auto           -            -           nolabel              c0t60080E500037706E0000059753365595d0s2 -           
st2540-0_60  auto           -            -           nolabel              c0t60080E500037706E0000059953365689d0s2 -           
st2540-0_61  auto           -            -           nolabel              c0t60080E500037706E0000059B5336571Ed0s2 -           
st2540-0_62  auto           -            -           nolabel              c0t60080E500037706E0000059D533657DCd0s2 -           
st2540-0_63  auto           -            -           nolabel              c0t60080E500037706E0000059F533658B3d0s2 -           
st2540-0_64  auto           -            -           nolabel              c0t60080E500037706E000005A15336593Fd0s2 -           
st2540-0_65  auto           -            -           nolabel              c0t60080E500037706E000005A353365A11d0s2 -           
st2540-0_66  auto           -            -           nolabel              c0t60080E500037706E000005A553365AE6d0s2 -           
st2540-0_67  auto           -            -           nolabel              c0t60080E500037D0200000059453350E63d0s2 -           
st2540-0_68  auto           -            -           nolabel              c0t60080E500037D0200000059753350F7Ed0s2 -           
st2540-0_69  auto           -            -           nolabel              c0t60080E500037D0200000059A5335101Ed0s2 -           
st2540-0_70  auto           -            -           nolabel              c0t60080E500037D0200000059C533510BEd0s2 -           
st2540-0_71  auto           -            -           nolabel              c0t60080E500037D0200000059E5335116Bd0s2 -           
st2540-0_72  auto           -            -           nolabel              c0t60080E500037D020000005A053351230d0s2 -           
st2540-0_73  auto           -            -           nolabel              c0t60080E500037D020000005A253351315d0s2 -           
st2540-0_74  auto           -            -           nolabel              c0t60080E500037D020000005A453351397d0s2 -           
st2540-0_76  auto           -            -           nolabel              c0t60080E500037D020000005A853351498d0s2 -           
st2540-0_77  auto           -            -           nolabel              c0t60080E500037D020000005AA53351566d0s2 -           
st2540-0_78  auto           -            -           nolabel              c0t60080E500037D020000005AC53351674d0s2 -           
st2540-0_79  auto           -            -           nolabel              c0t60080E500037D020000005AE53366059d0s2 -           
st2540-0_80  auto           -            -           nolabel              c0t60080E500037D020000005B053366117d0s2 -           
st2540-0_81  auto           -            -           nolabel              c0t60080E500037D020000005B2533661C1d0s2 -           
st2540-0_82  auto           -            -           nolabel              c0t60080E500037D020000005B453366296d0s2 -           
st2540-0_83  auto           -            -           nolabel              c0t60080E500037D020000005B653366346d0s2 -           
st2540-0_84  auto           -            -           nolabel              c0t60080E500037D020000005B85336642Fd0s2 -           
st2540-0_85  auto           -            -           nolabel              c0t60080E500037D020000005BA533664CEd0s2 -           
st2540-0_86  auto           -            -           nolabel              c0t60080E500037D020000005BC5336659Cd0s2 -           
st2540-0_87  auto           -            -           nolabel              c0t60080E500037D020000005A653351411d0s2 -           
st2540-0_88  auto           -            -           nolabel              c0t60080E500037D020000005C25338C9EDd0s2 -           
st2540-0_89  auto           -            -           nolabel              c0t60080E500037D020000005C45338CAA0d0s2 -           
st2540-0_90  auto           -            -           nolabel              c0t60080E500037D020000005C65338CB58d0s2 -           
st2540-0_91  auto           -            -           nolabel              c0t60080E500037D020000005C85338CC62d0s2 -           
st2540-0_92  auto           -            -           nolabel              c0t60080E500037D020000005CA5338CD28d0s2 -           
st2540-0_93  auto           -            -           nolabel              c0t60080E500037D020000005CC5338CDEBd0s2 -           
st2540-0_94  auto           -            -           nolabel              c0t60080E500037D020000005CE5338CEEEd0s2 -           
st2540-0_96  auto           -            -           nolabel              c0t60080E500037D020000005D25338D0C3d0s2 -           
st2540-0_97  auto           -            -           nolabel              c0t60080E500037D020000005D45338D22Cd0s2 -           
st2540-0_98  auto           -            -           nolabel              c0t60080E500037D020000005D65338D2F4d0s2 -           
st2540-0_99  auto           -            -           nolabel              c0t60080E500037D020000005D85338D3ADd0s2 -           
st2540-0_100 auto           -            -           nolabel              c0t60080E500037D020000005DA5338D606d0s2 -           
st2540-0_101 auto           -            -           nolabel              c0t60080E500037D020000005DC5338D6F9d0s2 -           
st2540-0_102 auto           -            -           nolabel              c0t60080E50003E01180000058A53350EBAd0s2 -           
st2540-0_103 auto           -            -           nolabel              c0t60080E50003E01180000058D53350F61d0s2 -           
st2540-0_104 auto           -            -           nolabel              c0t60080E50003E01180000058F53351090d0s2 -           
st2540-0_105 auto           -            -           nolabel              c0t60080E50003E01180000059153351126d0s2 -           
st2540-0_106 auto           -            -           nolabel              c0t60080E50003E011800000593533511CBd0s2 -           
st2540-0_107 auto           -            -           nolabel              c0t60080E50003E0118000005955335128Bd0s2 -           
st2540-0_108 auto           -            -           nolabel              c0t60080E50003E01180000059753351356d0s2 -           
st2540-0_109 auto           -            -           nolabel              c0t60080E50003E0118000005995335140Ed0s2 -           
st2540-0_110 auto           -            -           nolabel              c0t60080E50003E01180000059B53351489d0s2 -           
st2540-0_111 auto           -            -           nolabel              c0t60080E50003E01180000059D5335150Bd0s2 -           
st2540-0_112 auto           -            -           nolabel              c0t60080E50003E01180000059F533515ACd0s2 -           
st2540-0_113 auto           -            -           nolabel              c0t60080E50003E0118000005A153351683d0s2 -           
st2540-0_114 auto           -            -           nolabel              c0t60080E50003E0118000005A353366161d0s2 -           
st2540-0_115 auto           -            -           nolabel              c0t60080E50003E0118000005A553366222d0s2 -           
st2540-0_116 auto           -            -           nolabel              c0t60080E50003E0118000005A9533663B1d0s2 -           
st2540-0_117 auto           -            -           nolabel              c0t60080E50003E0118000005AD53366533d0s2 -           
st2540-0_118 auto           -            -           nolabel              c0t60080E50003E0118000005AF5336660Dd0s2 -           
st2540-0_119 auto           -            -           nolabel              c0t60080E50003E0118000005B153366695d0s2 -           
st2540-0_120 auto           -            -           nolabel              c0t60080E50003E0118000005B353366739d0s2 -           
st2540-0_121 auto           -            -           nolabel              c0t60080E50003E0118000005B55338CAEDd0s2 -           
st2540-0_122 auto           -            -           nolabel              c0t60080E50003E0118000005B75338CBC0d0s2 -           
st2540-0_123 auto           -            -           nolabel              c0t60080E50003E0118000005B95338CCB1d0s2 -           
st2540-0_124 auto           -            -           nolabel              c0t60080E50003E0118000005BB5338CD7Cd0s2 -           
st2540-0_125 auto           -            -           nolabel              c0t60080E50003E0118000005BD5338CE46d0s2 -           
st2540-0_126 auto           -            -           nolabel              c0t60080E50003E0118000005BF5338CF1Bd0s2 -           
st2540-0_128 auto           -            -           nolabel              c0t60080E50003E0118000005C35338D106d0s2 -           
st2540-0_129 auto           -            -           nolabel              c0t60080E50003E0118000005C55338D1D0d0s2 -           
st2540-0_130 auto           -            -           nolabel              c0t60080E50003E0118000005C75338D33Ad0s2 -           
st2540-0_131 auto           -            -           nolabel              c0t60080E50003E0118000005C95338D406d0s2 -           
st2540-0_132 auto           -            -           nolabel              c0t60080E50003E0118000005CB5338D639d0s2 -           
st2540-0_133 auto           -            -           nolabel              c0t60080E50003E0118000005CD5338D729d0s2 -

novonil_choudhuri's picture

Do you have 2 arrays connected or 2 enclosures connected ? You have 134 luns seen from the same array ( may be having 2 enclosures ). 

For e,g :

If you have multipathing enabled you will see 67 * no of paths = no of luns in your format output. 

Please paste the output  of :

# vxdmpadm getsubpaths all

Best Regards,

Novonil

Farhan A Azam's picture

Hi Novonil,

I've two storage "StorageTek 2540" (Each storage is having two controller) conected to Server through SAN switch. I'Ve multipathing enabled in Solaris.

If i shutdown 1 storage, 67 LUNs are disappeared from format output. So it's clear that 67 LUNs are coming from each storage.

Now the problem is VxVM is understanding that LUNs are coming from one enclosure, whereas we two storage physically.

We have one more same setup in different site & everything is ok there, there also we have two storages & each is having 67 LUNs & in VxVM both the enclosure are showing.

Gaurav Sangamnerkar's picture

Can you paste other outputs as well including the one asked by Novonil, just want to confirm if anything is excluded

# vxdmpadm listexclude all

# vxddladm listexclude

# vxdisk list <disk>    (get output of any one storage disk)

# vxdmpadm getsubpaths all

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

rsharma1's picture

could you try the dynamic reconfiguration option (should be option 22/23) in vxdiskadm menu - this will make sure the OS and VxVM device trees are in sync. Then, label atleast one disk from each of the two enclosures followed by 'vxdisk scandisks'.

novonil_choudhuri's picture

Hi Farhan,

Thank you for the details. 

Please paste the o/ps of below commands. You can paste in a file and attach the same here.

# echo | format

# stmsboot -L

 # vxdmpadm listexclude all

# vxddladm listexclude

# vxdisk list <disk>    (get output of any one storage disk)

# vxdmpadm getsubpaths all

# vxdisk path

# vxdmpadm listctlr all

# vxddladm listsupport |grep lsi

# vxddladm listsupport libname=<lib name reported in earlier command>

# vxddladm list ports

# vxddladm list targets

# vxddladm list devices

Best Regards,

Novonil

 

Best Regards,

Novonil

novonil_choudhuri's picture

Also please include the command 

# vxdmpadm listapm dmpEngenio

Best Regards,

Novonil

starflyfly's picture

Hi,

  You can  get output of 

/etc/vx/diag.d/vxscsiinq  -d  c0t60080E500037706E000005A553365AE6d0s2  <<<lun66

/etc/vx/diag.d/vxscsiinq  -d  c0t60080E500037D0200000059453350E63d0s2   <<<lun67

 

to see if they get same enclosure number.

If the answer has helped you, please mark as Solution.

rsharma1's picture

vxscsiinq are likely to fail if the luns are not labelled. Can you try labelling (atleast some) luns from each enclosure and then report the status?