歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> SUSE Linux 10 sp2安裝多路徑軟件

SUSE Linux 10 sp2安裝多路徑軟件

日期:2017/2/28 16:04:03   编辑:Linux教程

說明:存儲為華賽的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
驅動已經加載,多路徑軟件安裝成功後,www.linuxidc.com有兩個驅動存在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 後面對應參數表示默認是從第幾個啟動項啟動,www.linuxidc.com對應找准啟動項名稱是以“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

Copyright © Linux教程網 All Rights Reserved