Monday, February 25, 2008

AIX How to match hdisk# to hdiskpower#

HOW-to related-aix-hdisk-and-hdiskpower#
hostname:/ # lspv
hdisk0 0009b26a7e8e242b rootvg
hdisk1 000d67bf3525b180 rootvg
hdisk2 0024b7fae032d46d None
hdisk3 0024b7fa18e4e85c None
hdisk4 none None
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None
hdisk17 none None
hdisk18 none None
hdisk19 none None
hdisk20 none None
hdisk21 none None
hdisk22 none None
hdisk23 none None
hdisk24 none None
hdisk25 none None
hdisk26 none None
hdisk27 none None
hdiskpower0 0024b7fa93d99b03 hds128vg
hdiskpower1 0024b7fa93d9d2ac hds128vg
hdiskpower2 0024b7fa93da1ec3 hds128vg
hdiskpower3 0024b7fa93da6abd hds128vg
hdiskpower4 0024b7fa93daa17f hds128vg
hdisk28 none None
hdisk29 none None
hdisk30 none None
hdisk31 none None
hdiskpower5 0024b7fa940c2ba4 hds128vg
hostname:/ # which powermt
/usr/sbin/powermt
hostname:/ # powermt display dev=all
Pseudo name=hdiskpower4
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400E6BBF1D4BF45DB11 [LUN 313]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk12 SP A1 active alive 0 0
0 fscsi0 hdisk17 SP B0 active alive 0 0
1 fscsi1 hdisk22 SP A0 active alive 0 0
1 fscsi1 hdisk27 SP B1 active alive 0 0

Pseudo name=hdiskpower3
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400E7BBF1D4BF45DB11 [LUN 314]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk11 SP A1 active alive 0 0
0 fscsi0 hdisk16 SP B0 active alive 0 0
1 fscsi1 hdisk21 SP A0 active alive 0 0
1 fscsi1 hdisk26 SP B1 active alive 0 0

Pseudo name=hdiskpower2
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400E8BBF1D4BF45DB11 [LUN 315]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk10 SP A1 active alive 0 0
0 fscsi0 hdisk15 SP B0 active alive 0 0
1 fscsi1 hdisk20 SP A0 active alive 0 0
1 fscsi1 hdisk25 SP B1 active alive 0 0

Pseudo name=hdiskpower1
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400E9BBF1D4BF45DB11 [LUN 316]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk14 SP B0 active alive 0 0
1 fscsi1 hdisk19 SP A0 active alive 0 0
1 fscsi1 hdisk24 SP B1 active alive 0 0
0 fscsi0 hdisk9 SP A1 active alive 0 0

Pseudo name=hdiskpower0
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400EABBF1D4BF45DB11 [LUN 317]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk13 SP B0 active alive 0 0
1 fscsi1 hdisk18 SP A0 active alive 0 0
1 fscsi1 hdisk23 SP B1 active alive 0 0
0 fscsi0 hdisk8 SP A1 active alive 0 0

Pseudo name=hdiskpower5
CLARiiON ID=APM00051203858 [USPLSAPLP032 (hostname)]
Logical device ID=600601602FA01400EBBBF1D4BF45DB11 [LUN 318]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 fscsi0 hdisk28 SP A1 active alive 0 0
0 fscsi0 hdisk29 SP B0 active alive 0 0
1 fscsi1 hdisk30 SP A0 active alive 0 0
1 fscsi1 hdisk31 SP B1 active alive 0 0



hostname:/ #