Ming: it is stored as S5300 of huasai. If it is stored as IBM or other vendors, the operation methods are different. Please note!
BMP 1a :~ # Uname-
Linux BMP 1A 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
Therefore, install the smp version in multiple paths:
BMP 1a :~ # Rpm-ivh UltraPath-2.01.022.suse10_sp2.x86_64.smp.rpm
BMP 1a :~ # Reboot
Check whether the multi-path installation is successful:
BMP 1a :~ # Rpm-qa | grep Ul
UltraPath-2.01.022-1
BMP 1a :~ # 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
The driver has been loaded. After the multi-path software is installed successfully, two drivers exist: upVhba and upUpper, indicating that the driver has been loaded successfully.
Check whether the startup Item is changed correctly:
BMP 1a :~ # 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 @ 16 M 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 @ 16 M 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 @ 16 M 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 @ 16 M 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
Note: The corresponding parameter after "default" indicates that the startup Item is started from the first few items by default. The correct name indicates that the startup item has been modified correctly.
Scan device:
BMP 1a :~ # 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.
BMP 1a :~ # 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
BMP 1a :~ # Fdisk-l
Disk/dev/sda: 73.2 GB, 73272393728 bytes
255 heads, 63 sectors/track, 8908 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sda1 1 1045 8393931 82 Linux swap/Solaris
/Dev/sda2 1046 2351 10490445 83 Linux
/Dev/sda3 2352 8908 52669102 + f W95 Ext 'd (LBA)
/Dev/sda5 2352 3004 5245191 83 Linux
/Dev/sda6 3005 5615 20972826 83 Linux
/Dev/sda7 5616 6268 5245191 83 Linux
/Dev/sda8 6269 6921 5245191 83 Linux
/Dev/sda9 6922 7052 1052226 83 Linux
/Dev/sda10 7053 7705 5245191 83 Linux
/Dev/sda11 7706 7967 2104483 + 83 Linux
Disk/dev/sdb: 64.4 GB, 64424509440 bytes
64 heads, 32 sectors/track, 61440 cylinders
Units = cylinders of 2048*512 = 1048576 bytes
Disk/dev/sdb doesn' t contain a valid partition table
Disk/dev/sdc: 107.3 GB, 107373133824 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Disk/dev/sdc doesn' t contain a valid partition table
Disk/dev/sdd: 128.8 GB, 128849018880 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Disk/dev/sdd doesn't contain a valid partition table
Additional:
Uninstall multi-path
If you no longer use multi-path, you can uninstall it. Stop the service before uninstalling it.
Activate the VG on all Virtual Disks.
1) unmount the LV mount point;
2) check whether the VG status on the virtual disk is active.
3) uninstall the multi-path
# Rpm-qa | grep Ul or rpm-qa | grep Up
Obtain the name of the installed multi-path software package.
# Rpm-e package name
Uninstalled successfully
4) restart the host
# Reboot
From HW_LiBo's column