Storage Multipathing In Solaris10


 
Thread Tools Search this Thread
Operating Systems Solaris Storage Multipathing In Solaris10
# 1  
Old 03-30-2010
Storage Multipathing In Solaris10

I 've a doubt about the no. of paths to a disk in my Solaris10 box.

If i run prtdiag i see 12 instances of emulex. Is it 6 dual port HBAs or some other no. how can i check that.

Code:
 prtdiag | grep LPe11002-S
 00    SUNW,emlxs     LPe11002-S
 00    SUNW,emlxs     LPe11002-S
 00    SUNW,emlxs     LPe11002-S
 00    SUNW,emlxs     LPe11002-S
 01    SUNW,emlxs     LPe11002-S
 01    SUNW,emlxs     LPe11002-S
 01    SUNW,emlxs     LPe11002-S
 01    SUNW,emlxs     LPe11002-S
 02    SUNW,emlxs     LPe11002-S
 02    SUNW,emlxs     LPe11002-S
 03    SUNW,emlxs     LPe11002-S
 03    SUNW,emlxs     LPe11002-S

And i 'm running powerpath and no veritas .. how can i check how many paths each disk (SAN) has.

its should be 12 or 6 ?
# 2  
Old 03-30-2010
Commands to help
fcinfo hba-port
luxadm -e port
cfgadm -al
powermt display -all
# 3  
Old 03-30-2010
i get following o/p

Code:
iou#0-pci#0                    pci-pci/hp   connected    configured   ok
iou#0-pci#1                    unknown      empty        unconfigured unknown
iou#0-pci#2                    unknown      empty        unconfigured unknown
iou#0-pci#3                    fibre/hp     connected    configured   ok
iou#0-pci#4                    pci-pci/hp   connected    configured   ok
iou#0-pci#5                    fibre/hp     connected    configured   ok
iou#0-pci#6                    unknown      empty        unconfigured unknown
iou#0-pci#7                    etherne/hp   connected    configured   ok
iou#1-pci#0                    pci-pci/hp   connected    configured   ok
iou#1-pci#1                    unknown      empty        unconfigured unknown
iou#1-pci#2                    unknown      empty        unconfigured unknown
iou#1-pci#3                    fibre/hp     connected    configured   ok
iou#1-pci#4                    pci-pci/hp   connected    configured   ok
iou#1-pci#5                    fibre/hp     connected    configured   ok
iou#1-pci#6                    unknown      empty        unconfigured unknown
iou#1-pci#7                    etherne/hp   connected    configured   ok
iou#2-pci#0                    pci-pci/hp   connected    configured   ok
iou#2-pci#1                    unknown      empty        unconfigured unknown
iou#2-pci#2                    etherne/hp   connected    configured   ok
iou#2-pci#3                    unknown      empty        unconfigured unknown
iou#2-pci#4                    pci-pci/hp   connected    configured   ok
iou#2-pci#5                    fibre/hp     connected    configured   ok
iou#2-pci#6                    unknown      empty        unconfigured unknown
iou#2-pci#7                    unknown      empty        unconfigured unknown
iou#3-pci#0                    pci-pci/hp   connected    configured   ok
iou#3-pci#1                    unknown      empty        unconfigured unknown
iou#3-pci#2                    etherne/hp   connected    configured   ok
iou#3-pci#3                    unknown      empty        unconfigured unknown
iou#3-pci#4                    pci-pci/hp   connected    configured   ok
iou#3-pci#5                    fibre/hp     connected    configured   ok
iou#3-pci#6                    unknown      empty        unconfigured unknown
iou#3-pci#7                    unknown      empty        unconfigured unknown


Code:
 luxadm -e port
/devices/pci@15,700000/SUNW,emlxs@0/fp@0,0:devctl                  CONNECTED
/devices/pci@5,700000/SUNW,emlxs@0/fp@0,0:devctl                   CONNECTED
/devices/pci@35,700000/SUNW,emlxs@0/fp@0,0:devctl                  CONNECTED
/devices/pci@13,700000/SUNW,emlxs@0/fp@0,0:devctl                  CONNECTED
/devices/pci@3,700000/SUNW,emlxs@0/fp@0,0:devctl                   CONNECTED
/devices/pci@25,700000/SUNW,emlxs@0/fp@0,0:devctl                  CONNECTED
/devices/pci@15,700000/SUNW,emlxs@0,1/fp@0,0:devctl                CONNECTED
/devices/pci@3,700000/SUNW,emlxs@0,1/fp@0,0:devctl                 CONNECTED
/devices/pci@5,700000/SUNW,emlxs@0,1/fp@0,0:devctl                 CONNECTED
/devices/pci@13,700000/SUNW,emlxs@0,1/fp@0,0:devctl                CONNECTED
/devices/pci@25,700000/SUNW,emlxs@0,1/fp@0,0:devctl                NOT CONNECTED
/devices/pci@35,700000/SUNW,emlxs@0,1/fp@0,0:devctl                NOT CONNECTED


Code:
 fcinfo hba-port | grep HBA
HBA Port WWN: 10000000c9894ac8
HBA Port WWN: 10000000c9894ac9
HBA Port WWN: 10000000c986d160
HBA Port WWN: 10000000c986d161
HBA Port WWN: 10000000c9886f54
HBA Port WWN: 10000000c9886f55
HBA Port WWN: 10000000c986c456
HBA Port WWN: 10000000c986c457
HBA Port WWN: 10000000c9889e16
HBA Port WWN: 10000000c9889e17
HBA Port WWN: 10000000c9889dec
HBA Port WWN: 10000000c9889ded


Code:
 powermt display
Symmetrix logical device count=21
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
3073 pci@3,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     1      0
3075 pci@5,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     1      0
3079 pci@13,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     2      0
3083 pci@15,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     2     19
3088 pci@25,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     0     19
3092 pci@35,700000/SUNW,emlxs@0/fp@0,0  optimal      21      0       -     1      0


From the about o/p can you tell me how many paths my LUNs have .. it shows 6 with luxadm display /dev/rdsk/diskname ..


i just want to know that if my system has 6 dual port HBAs y i see only 6 paths y not 12 paths .. i lil confused on this ..
# 4  
Old 03-30-2010
yes, there are 6 dual port cards of which 2 of them are only using 1 port each.
if you want to check if they are using multipathing, you can simply check from the format output and the entry inside /kernel/drv/fp.conf file
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question