linux多路径软件rdac安装方法全解
RDAC安装方法
首先把rdac的源文件拷贝到服务器上,rdac可以从管理软件SANtricity中的光盘中取得
Rdac的安装需要系统装好make,gcc等编译工具,此外还需要安装kernel-devel内核源码包
在没安装rdac之前在已经映射存在多路径的情况下,自检或者fdisk-l查看磁盘会有io报错
这里以linuxrdac-99.03.0C00.0211.tar.gz版本为例
首先解压软件tar –zxvf linuxrdac-99.03.0C00.0211.tar.gz
root@mu01 ~]# cd linuxrdac-99.03.0C00.0211/
查看解压出的文件
[root@mu01 linuxrdac-99.03.0C00.0211]# ls
genfileattributes mppiscsi_umountall mppLnx26p_vhbatask.c
genuniqueid.c mpp_linux_headers mpp_rcscript.REDHAT
hbaCheck mpp_linux_sys_headers mpp_rcscript.SUSE
License.txt mppLnx26p_sysdep.c mppSupport
lsvdev mppLnx26p_upper.c Readme.txt
Makefile mppLnx26p_vhba.c setupDriver.REDHAT
mppCmn_s2tos3.c mppLnx26p_vhbaio.c setupDriver.SUSE
mppCmn_SysInterface.c mppLnx26p_vhbalib.c setupMpp26p.sh
mpp.conf mppLnx26p_vhbamisc.c utility
MPP_hba.c mppLnx26p_vhbaproc.c
执行编译
[root@mu01 linuxrdac-99.03.0C00.0211]# make
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
CC [M] /root/linuxrdac-99.03.0C00.0211/MPP_hba.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_upper.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_sysdep.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppCmn_s2tos3.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppCmn_SysInterface.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbamisc.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbatask.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhba.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbaproc.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbalib.o
CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbaio.o
LD [M] /root/linuxrdac-99.03.0C00.0211/mppUpper.o
LD [M] /root/linuxrdac-99.03.0C00.0211/mppVhba.o
Building modules, stage 2.
MODPOST
CC /root/linuxrdac-99.03.0C00.0211/mppUpper.mod.o
LD [M] /root/linuxrdac-99.03.0C00.0211/mppUpper.ko
CC /root/linu