SUSE Linux 10 sp2安装多路径软件

说明:存储为华赛的S5300,如果存储为IBM或其他厂商的话,操作方法不一样,请注意! 

bmp1a:~ # uname -a
Linux bmp1a 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

所以安装smp版本的多路径:
bmp1a:~ # rpm -ivh UltraPath-2.01.022.SUSE10_sp2.x86_64.smp.rpm

bmp1a:~ # reboot

检查多路径是否安装成功:
bmp1a:~ # rpm -qa | grep Ul
UltraPath-2.01.022-1
bmp1a:~ # lsmod |grep up
upVhba                180672  0
upUpper               340444  1 upVhba
scsi_mod              170936  11 mptctl,upVhba,qla2xxx,scsi_transport_fc,mptsas,mptscsih,scsi_transport_sas,libata,upUpper,sg,sd_mod
驱动已经加载,多路径软件安装成功后,有两个驱动存在upVhba、upUpper,表示驱动加载成功。

查看启动项是否更改正确:
bmp1a:~ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Fri Nov  4 10:34:23 UTC 2011
default 4
timeout 8
gfxmenu (hd0,8)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10 SP2
    serial=1,9600n8
    root (hd0,8)
    kernel /vmlinuz-2.6.16.60-0.21-smp root=/dev/sda2 crashkernel=64M@16M console=ttyS0,9600 console=tty0  hde=noprobe hdg=noprobe auto resume=/dev/sda1 splash=silent showopts elevator=noop
    initrd /initrd-2.6.16.60-0.21-smp

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
    serial=1,9600n8
    root (hd0,8)
    kernel /xen.gz
    module /vmlinuz-2.6.16.60-0.21-xen root=/dev/sda2 crashkernel=64M@16M console=ttyS0,9600 console=tty0  hde=noprobe hdg=noprobe auto resume=/dev/sda1 splash=silent showopts elevator=noop
    module /initrd-2.6.16.60-0.21-xen

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10 SP2
    serial=1,9600n8
    root (hd0,8)
    kernel /vmlinuz-2.6.16.60-0.21-smp root=/dev/sda2 crashkernel=64M@16M console=ttyS0,9600 console=tty0 showopts ide=nodma apm=off acpi=off noresume edd=off 3 elevator=noop
    initrd /initrd-2.6.16.60-0.21-smp

###Don't change this comment - YaST2 identifier: Original name: LOCAL RESCUE###
title LOCAL RESCUE
    root (hd0,8)
    kernel /vmlinuz-2.6.16.60-0.21-smp root=/dev/sda2  hde=noprobe hdg=noprobe  resume=/dev/sda1 splash=silent showopts  init=/sbin/sulogin
    initrd /initrd-2.6.16.60-0.21-smp


title Linux with UltraPath
    serial=1,9600n8
    root (hd0,8)
    kernel /vmlinuz-2.6.16.60-0.21-smp root=/dev/sda2 crashkernel=64M@16M console=ttyS0,9600 console=tty0  hde=noprobe hdg=noprobe auto resume=/dev/sda1 splash=silent showopts elevator=noop
    initrd /mpp-2.6.16.60-0.21-smp.img
说明:default 后面对应参数表示默认是从第几个启动项启动,对应找准启动项名称是以“title Linux with UltraPath”打头,表示启动项已经被修改正确

扫描设备:
bmp1a:~ # hot_add
Starting new devices re-scan...
delete LUN not mapped or mapping changed...
scan qla2 HBA host /sys/class/scsi_host/host4...
 no new device found
scan qla2 HBA host /sys/class/scsi_host/host3...
 no new device found
scan mptsas HBA host /sys/class/scsi_host/host2...
 no new device found
run /usr/sbin/upadm start busscan...
scan mpp virtual host /sys/class/scsi_host/host5...
 no new virtual device found
wait for syncing device reference count...
/usr/sbin/hot_add is completed.

bmp1a:~ # lsscsi |grep sd
[2:1:0:0]    disk    LSILOGIC Logical Volume   3000  /dev/sda
[5:0:0:0]    disk    up       updisk           1     /dev/sdb
[5:0:0:1]    disk    up       updisk           1     /dev/sdc
[5:0:0:2]    disk    up       updisk           1     /dev/sdd

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/23231.html