首先在Redhat网站找到一个关于多路径的软件,和相关技术说明,如下链接:
http://www.redhat.com/docs/manuals/csgfs/browse/4.6/DM_Multipath/index.html
事实上,在IBMDS3400--X3850的环境中,这个软件无法正常收敛多路径。
2 Redhat下多路径解决--IBM RDAC
A.存储机器的型号。此处为DS3400。
B.Redhat版本kernel。
Shell>uname -a
Linux wd01 2.6.18-53.el5PAE #1 SMP Mon Nov 12 02:55:09 EST 2007 i686 i686 i386 GNU/Linux
需具体到2.6.18。在软件下载界面的相关txt文档查找kernel版本。
参考链接:
https://www-304.ibm.com/systems/support/supportsite.wss/selectproduct?taskind=2&brandind=5000028&familyind=5329626&typeind=0&modelind=0&osind=0&psid=sr&continue.x=1&matrix=Y#Storage%20Manager
Shell>wget http://www.lsi.com/rdac/rdac-LINUX-09.03.0B05.0251-source.tar.gz
Shell>tar zxvf rdac-LINUX-09.02.C5.13-source.tar.gz。
Shell>cd linuxrdac-09.03.0C05.0251
Shell>make
Shell>make install
安装过程时间较长,会产生一个mpp-2.6.18-8.el5xen.img文件。并会有提示必须修改启动列表文件。
Shell> vi /boot/grub/grub.conf
将启动选项指向mpp-2.6.18-8.el5xen.img。
为避免因错误无法启动,可以在下面新增一个title:
更改前:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5PAE ro root=LABEL=/
initrd /initrd-2.6.18-53.el5PAE.img
更改后:
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5PAE ro root=LABEL=/
initrd /initrd-2.6.18-53.el5PAE.img
title CentoS (2.6.18-53.el5PAE) with MPP support
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5PAE ro root=LABEL=/
initrd /mpp-2.6.18-53.el5PAE.imgiet
module /mpp-2.6.18-8.el5xen.img
Shell>reboot
成功启动之后,查看pvs等,不再有路径报错。
Shell>cd linuxrdac-09.03.0C05.0251
Shell>make uninstall
Shell>make clean
kernel: Buffer I/O error on device sdd, logical block 365555167
kernel: end_request: I/O error, dev sdd, sector 2924441336
kernel: end_request: I/O error, dev sdd, sector 8
kernel: end_request: I/O error, dev sdd, sector 8
kernel: end_request: I/O error, dev sdd, sector 2924441584
kernel: end_request: I/O error, dev sdd, sector 2924441584
kernel: end_request: I/O error, dev sdd, sector 2924441592