Chinaunix首页 | 论坛 | 博客
  • 博客访问: 173823
  • 博文数量: 33
  • 博客积分: 1411
  • 博客等级: 上尉
  • 技术积分: 342
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-04 13:04
文章存档

2008年(33)

我的朋友

分类:

2008-09-04 14:27:14

执行powermt 显示存储链路状态为dead的解决办法

现状为:

主机(HP-UX)挂机了EMC存储后,通过ioscan -fnCdisk能够看到EMC存储盘,但是通过diskinfo /dev/rdsk/cxtxdx报 error错误。


解决方法:

出现该问题主要是由于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状态,表示正常.

阅读(3521) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~