Saturday, May 07, 2011

How to check Multipath in veritas

1. Check What is Enclosure name from storage in server

root# vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=====================================================
c1 Disk ENABLED Disk
c0 Disk ENABLED Disk
c5 TagmaStore-USP ENABLED TagmaStore-USP1
c2 TagmaStore-USP ENABLED TagmaStore-USP1
c5 TagmaStore-USP ENABLED TagmaStore-USP0
c2 TagmaStore-USP ENABLED TagmaStore-USP0

2. Check multipath a disk, if PATHS =4 that indicates a disk already multipath, if PATHS = 2 that is single path.


root# vxdmpadm getdmpnode enclosure=TagmaStore-USP0
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
=========================================================================
c2t50060E80047F6B41d8s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c2t50060E80047F6B41d11s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d16s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d15s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d1s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c2t50060E80047F6B41d3s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c5t50060E80047F6B55d7s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c2t50060E80047F6B45d17s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d19s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d13s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d42s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d30s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d18s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d14s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d43s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d2s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c5t50060E80047F6B51d34s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d4s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c2t50060E80047F6B41d9s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c2t50060E80047F6B41d10s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d5s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c5t50060E80047F6B55d48s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d46s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d6s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c5t50060E80047F6B51d23s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d20s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d27s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d21s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d12s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d24s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d25s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d29s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d28s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d44s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d37s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d40s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d32s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B41d0s2 ENABLED TagmaStore-USP 4 4 0 TagmaStor e-USP0
c5t50060E80047F6B51d38s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d35s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d47s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d22s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d52s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d45s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d33s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d50s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d26s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d49s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d31s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d39s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d36s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c5t50060E80047F6B51d41s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
c2t50060E80047F6B45d51s2 ENABLED TagmaStore-USP 4 4 0 TagmaSto re-USP0
root#

3. A disk already multipath, done

5 komentar:

Jack Võ said...

Can you tell me how to check "PATHS =4". On our server, using the command "vxdmpadm listctlr all" have the output below :
root@U2NH01 # vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=====================================================
c0 Disk ENABLED disk
c2 HUAWEI-S2600- ENABLED huawei-s2600-0
c4 HUAWEI-S2600- ENABLED huawei-s2600-0

ndevtuna said...

Hi Jack,
you can run the command :
# vxdmpadm getdmpnode enclosure=huawei-s2600-0

regards

Krusty said...

Do I have multipath here? or not?

sacsun:/> vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=====================================================
c1 Disk ENABLED Disk
c13 Disk ENABLED Disk
c0 Disk ENABLED Disk
c12 Disk ENABLED Disk
c7 SUN3510 ENABLED SUN35101
c6 SUN3510 ENABLED SUN35101
c4 SUN3510 ENABLED SUN35100
c5 SUN3510 ENABLED SUN35100
sacsun3:/> vxdmpadm getdmpnode enclosure=fas31600
VxVM vxdmpadm ERROR V-5-1-3215 Invalid enclosure-name
sacsun3:/> vxdmpadm getdmpnode enclosure= SUN35101
VxVM vxdmpadm ERROR V-5-1-2390 Incorrect Usage
sacsun3:/> vxdmpadm getdmpnode enclosure=SUN35101
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
=========================================================================
c12t30d7s2 ENABLED SUN3510 2 2 0 SUN35101
sacsun3:/> vxdmpadm getdmpnode enclosure=SUN35100
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
=========================================================================
c0t1d0s2 ENABLED SUN3510 2 2 0 SUN35100

kang ragil said...

Hi Krusty,

From data provided, you use data from sun storedge 3510 and i see your path still single path.

Krusty said...

Hi Kanf Ragil

Why is single?

Thank you

Regards

Post a Comment

 
footer