前言:心系团圆共禅娟,把酒言欢寄情怀,一生,一世的祝福
环境介绍:
主机名称:fly007 操作系统:suse 10 sp2 64bit 存储:富士通DX8700 富士通多路径软件,版本信息如下: fly007:~ # /opt/FJSVmpd/bin/iompadm version Version 2.0.21-1.0
1、查看多路径软件链路状态,如下所示:
fly007:~ # /opt/FJSVmpd/bin/iompadm info internal error: fopen: No such file or directory: /sys/bus/mpdx/drivers/mpdh/instance_num internal error: error code = 7-2
2、重启操作系统,依然报如上错误
3、查看光纤交换机配置正确,富士通建议重装多路径软件
4、卸载多路径软件,并重启主机
fly007:~ # /opt/FJSVmpd/system/mpdpkgrm //可查看多路径软件光盘中的readme.txt Please check /etc/modprobe.conf.local and /etc/modprobe.conf, edit /boot/grub/menu.lst, make initrd and reboot this system. fly007:~ # sync fly007:~ # sync fly007:~ # sync fly007:~ # reboot
5、系统重启完毕后,检查/etc/sysconfig/kernel中的INITRD_MODULES那行是否存在lpfc,mpdh,如下所示:
fly007:~ # cat /etc/sysconfig/kernel | grep INITRD_MODULES INITRD_MODULES="mptsas processor thermal fan jbd ext3 edd bnx2 e1000 tg3 lpfc mpdh"
6、重装多路径软件,重启操作系统:
fly007: # ls MPDV2.0L21_20110202.iso fly007: # mount -o loop MPDV2.0L21_20110202.iso /mnt fly007: # cd /mnt/ fly007:/mnt # ls P2U3-0031-10ENZ0.pdf P2U3-0031-10Z0.pdf RHEL4 RHEL5 RHEL6 gpl.txt mpdpkgadd readme.txt readme_utf8.txt src fly007:/mnt # ./mpdpkgadd Progressing Preparing... ########################################### [100%] 1:FJSVmpd_se-doc ########################################### [ 50%] 2:FJSVmpd_se ########################################### [100%] ..... If you have the latest applicable patch of ETERNUS Multipath Driver, please apply it. After that, please reboot this system. If not, please reboot this system now. fly007:/mnt #cd .. fly007:~ #umount /mnt fly007:~ #sync fly007:~ #sync fly007:~ #sync fly007:~ #reboot
7、重启系统完毕后,查看多路径链路状态正常
fly007:~ # /opt/FJSVmpd/bin/iompadm info IOMP: vhba0 Element: DISK: ETERNUS_DX8000- 6A1314-0000-0002 (sdb) PATH: sdb 0000:0b:00.0 active "online" 12, 42, 15 sdb 0000:0b:00.1 active "online" 11, 41, 2
官方安装多路径软件方法
6. Installation of the ETERNUS Multipath Driver
All commands must be run as root user in this section.
(# represents the root user prompt.)
6-1. For SUSE Linux Enterprise Server 9, SUSE Linux Enterprise Server 10
or SUSE Linux Enterprise Server 11
The gcc package, the kernel-source package, and the make package must
be installed on the server. Please run the following commands and
check that the packages have been installed.
# rpm -qi gcc
# rpm -qi kernel-source
# rpm -qi make
If the packages are not installed, please install them first.
6-2. Install ETERNUS Multipath Driver
6-2-1. For Red Hat Enterprise Linux 6 or SUSE Linux Enterprise Server 11
1) Set up the connection method (topology) referring to the manual of
a card.
2) Mount CD-ROM drive and run the "mpdpkgadd" command.
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# ./mpdpkgadd
3) The following message is displayed and the installation is completed.
If you have the latest applicable patch of ETERNUS Multipath Driver,
please apply it. After that, please reboot this system.
If not, please reboot this system now.
6-2-2. For Red Hat Enterprise Linux AS v.4, Red Hat Enterprise Linux ES v.4,
Red Hat Enterprise Linux 5, SUSE Linux Enterprise Server 9,
SUSE Linux Enterprise Server 10 or SUSE Linux Enterprise Server 11
1) Set up the connection method (topology) referring to the manual of
a card when using PG-FCD101, PG-FCD102, PG-FC205, PG-FC205L, PG-FC206,
PG-FC206L or Card made by QLogic company.
2) Mount CD-ROM drive and run the "mpdpkgadd" command.
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# ./mpdpkgadd
3) If PG-FCD101, PG-FCD102, PG-FC205, PG-FC205L, PG-FC206, PG-FC206L or
Card made by QLogic company is used to connect the storage system to
the server.
Answer "y" to the following question. If using other card, answer "n".
Is QLogic fibre channel card used to connect ETERNUS storage system (y/n)?
4) If MC-08FC11, MC-08FC31, MC-08FC41, MC-08FC51, MC-08FC61, MC-08FC71,
MC-08FC81, MC-08FC91, MC-0JFC11, MC-0JFC21, PG-FC201, PG-FC202, PG-FC202L,
PG-FC203, PG-FC203L, PG-FC204, PG-FC204L, PG-FCD201, PG-FCD202, PG-FC105,
PG-FC106, PG-FC107, PG-292B, PG-292BL, Card made by Emulex company
is used to connect the storage system to the server.
Answer "y" to the following question. If using other card, answer "n".
Is Emulex fibre channel card used to connect ETERNUS storage system (y/n)?
Answer "2" or "4" to the next question depending on the connection
method (topology) between the server and the storage system.
Please select Emulex topology (2:Fabric, 4:FC-AL)?
5) If PG-228B, PG-228BL or Card made by LSI Logic company is used to connect
the storage system to the server.
Answer "y" to the following question. If using other card, answer "n".
Is LSI LOGIC SAS card used to connect ETERNUS storage system (y/n)?
6) If iSCSI initiator is used to connect the storage system to the server.
Answer "y" to the following question. If using other card, answer "n".
Is iSCSI initiator used to connect ETERNUS storage system (y/n)?
7) The following message is displayed and the installation is completed.
If you have the latest applicable patch of ETERNUS Multipath Driver,
please apply it. After that, please reboot this system.
If not, please reboot this system now.
When the "!!! WARNING !!!" message is displayed during the installation,
please refer to the Appendix-1.
6-3. Apply the latest patch
If you have the latest patch of the ETERNUS Multipath Driver which
is released after 2011/2/14, refer to the patch installation manual
and apply it. If not, go to 6-4.
6-4. Reboot the server
Shut down the server and make multipath connections between the server
and the storage system. Then, boot the server.