最近公司的一台Red Hat Linux频繁出现网络服务非正常停止的情况,重启网络服务后恢复正常。因此怀疑是Red Hat Linux有问题,考虑将系统升级到最新的补丁。
目前操作版本是5.3,最新补丁是5.5,。通过RHN下载补丁,安装并重新启动后,发现挂载的EMC SAN磁盘无法访问,
# powermt display dev=all initialization error # rpm -qa | grep EMCpower EMCpower.LINUX-5.1.2.00.00-021
因为内核更新了,所以需要安装最新的PowerPath软件。下载最新版本:EMCpower.LINUX-5.3.1.00.00-111.rhel5.x86_64.rpm
# rpm -ivh EMCpower.LINUX-5.3.1.00.00-111.rhel5.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 status Usage: /etc/init.d/PowerPath {start|stop} # /etc/rc.d/init.d/naviagent status naviagent (pid 6651) is running... # powermt display dev=all PowerPath modules are not loaded. Ensure that the modules are loaded and try again. # emcpadm getusedpseudos <ERROR: unable to determine device major number>
还是无法识别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 64Share on Twitter Share on Facebook
Comments
There are currently no comments
New Comment