power linux磁盘修复,Red Hat Linux升级以后PowerPath重新安装EMC

系统升级补丁,安装并重新启动后,发现挂载的EMC SAN磁盘无法访问

powermt display dev=all

initialization error

# rpm -qa | grep EMCpower

EMCpower.LINUX-5.1.2.00.00-021

因为内核更新了,所以需要安装最新的PowerPath软件。

下载最新版本:EMCPower.LINUX-5.7.1.00.00-029.OL6_UEK2_R2.x86_64.rpm

# rpm -Uvh EMCPower.LINUX-5.7.1.00.00-029.OL6_UEK2_R2.x86_64.rpm

Preparing... ########################################### [100%]

1:EMCpower.LINUX ########################################### [100%]

All trademarks used herein are the property of their respective owners.

NOTE:License registration is not required to manage the CLARiiON AX series array.

然后重新启动服务器。

/etc/init.d/PowerPath stop

/etc/init.d/PowerPath start

# /etc/rc.d/init.d/naviagent status

naviagent (pid xxx) is running...

# powermt display dev=all

PowerPath modules are not loaded.

Ensure that the modules are loaded and try again.

# emcpadm getusedpseudos

还是无法识别SAN磁盘,手工重新启动PowerPath服务可以解决这个问题。

# /etc/init.d/PowerPath stop

Stopping PowerPath: PowerPath is not running

done

# /etc/init.d/PowerPath start

Starting PowerPath: done

# powermt display dev=all

Pseudo name=emcpowere

CLARiiON ID=FCNCX093400078 [sh-rsync]

Logical device ID=6006016014A02500A2A3A6100FAADE11 [MetaLUN]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B Array failover mode: 1

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

3 qla2xxx sdb SP B0 active alive 0 0

4 qla2xxx sdc SP A0 active alive 0 0

查看加载的模块:

[root@DB01 ~]# vi /etc/modprobe.conf

alias scsi_hostadapter megaraid_sas

alias scsi_hostadapter1 ata_piix

alias scsi_hostadapter2 qla2xxx

alias eth0 bnx2

alias eth1 bnx2

alias eth2 bnx2

alias eth3 bnx2

###BEGINPP

include /etc/modprobe.conf.pp

#ENDPP

之前每次重新配置SAN磁盘emcpower后面的字母就改为后一个,目前是/etc/emcpowere,看来是pseudo设备名字没有删除的原因。

# emcpadm getusedpseudos

PowerPath pseudo device names in use:

Pseudo Device Name Major# Minor#

emcpowera 120 0

emcpowerb 120 16

emcpowerc 120 32

emcpowerd 120 48

emcpowere 120 64

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值