我有一个服务器运行RHEL5.5与电磁兼容PowerPath安装。由于安全性要求,我不得不将内核升级到较新的版本。不幸的是,我没有意识到升级对EMC PowerPath的影响。升级后,服务器无法再加载PowerPath内核模块。
所以,我降级回原来的内核。尽管如此,内核模块仍然拒绝加载。
我尝试手动加载模块,但得到了以下错误。
[root@cvoapd05 EMCpower.LINUX-5.3.1.02.00]# modprobe emcp
FATAL: Error inserting emcp (/lib/modules/2.6.18-194.32.1.el5/powerpath/emcp.ko): Device or resource busy.ko文件仍然在路径"/lib/modules/2.6.18-194.32.1.el5/powerpath“中,文件大小和日期不变。
我能从这个问题中恢复过来吗?
grub.conf:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/cciss/c0d0p8
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
# default=0 # commented out by Proliant HBA install script
default=0
fallback=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-194.32.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.32.1.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M
initrd /initrd-2.6.18-194.32.1.el5.img
title Red Hat Enterprise Linux Server (2.6.18-194.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M
initrd /initrd-2.6.18-194.el5.img
# This entry (no. 1) added by Proliant HBA install script
# in package cpq_cciss-3.6.26-5.rhel5
title HP-2.6.18-194.el5
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M
initrd /HP-initrd-2.6.18-194.el5.img发布于 2011-08-05 18:20:04
可能还有另一个驱动程序附加到powerpath驱动程序试图附加到的设备上。检查是否有其他多路径驱动程序加载,lsmod | grep path就足够了。事实上,仅仅提供lsmod的输出应该可以帮助我们确定是什么导致了这个问题。
发布于 2011-07-30 20:45:33
使用本机多路径守护进程而不是powerpath。
发布于 2011-08-05 18:53:36
/etc/rc.d/PowerPath中有逻辑来确定是否加载了不同的内核,如果已经加载,则更新其配置,这不仅仅涉及复制emcp.ko。
尝试手动运行/etc/rc.d/PowerPath start,以修复问题或获取有关问题所在的更多信息。
https://serverfault.com/questions/273923
复制相似问题