執行powermt 顯示儲存鏈路狀態為dead的解決辦法

sonsunny發表於2008-08-20

現狀為:

主機(HP-UX)掛機了EMC儲存後,透過ioscan -fnCdisk能夠看到EMC儲存盤,但是透過diskinfo /dev/rdsk/cxtxdx報 error錯誤。

[@more@]

解決方法:

出現該問題主要是由於powerpath引起,具體解決如下:

# powermt display dev=all
Pseudo name=emcpower4a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A610000AF03A428708D911
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=Unknown
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 c2t0d3s0 SP B0 active dead 0 0
2304 c2t1d3s0 SP A0 active dead 0 0
2305 c3t0d3s0 SP B0 active dead 0 0
2305 c3t1d3s0 SP A0 active dead 0 0

這些state為 dead的狀態都是錯誤的.

3.執行重新配置

# powermt check
Warning: CLARiiON device path c2t0d0s0 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: CLARiiON device path c2t0d1s0 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: CLARiiON device path c2t0d2s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: CLARiiON device path c2t0d3s0 is currently dead.
Warning: CLARiiON device path c2t0d4s0 is currently dead.
Warning: CLARiiON device path c2t1d0s0 is currently dead.
Warning: CLARiiON device path c2t1d1s0 is currently dead.

# powermt config
# powermt save
# powermt display dev=all
Pseudo name=emcpower7a
CLARiiON ID=CK200041200044 [Storage Group 2]
Logical device ID=6006016028A61000482F2BA9720CD911 [LUN 1]
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
==============================================================================
2304 c2t0d0s0 SP B0 active alive 0 0
2304 c2t1d0s0 SP A0 active alive 0 0
2305 c3t0d0s0 SP B0 active alive 0 0
2305 c3t1d0s0 SP A0 active alive 0 0

此時的state 為 alive狀態,表示正常.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15192459/viewspace-1009215/,如需轉載,請註明出處,否則將追究法律責任。

相關文章