用的LSI的存儲 和普安的存儲 SUN V245平台+LPE11002 或者Qlogic QLE2460
環境SUN的V245 +LSI 3994
想測試下 LSI的存儲在Solaris下的路徑冗余,因為用LSI帶的RDAC裝完系統就Hang住了……
操作系統環境 SUN-V245 Solaris10 U5 HBA卡是Emulex的 LPE11002 雙端口的,先用LSI的Santricity 做了一個Raid
然後在Solaris 下用Format 能看到倆個盤
接著如果使用第三方的存儲就如下:
bash-3.00# cat /kernel/drv/scsi_vhci.conf
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)scsi_vhci.conf 1.9 04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path. Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="enable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
# device-type-scsi-options-list =
# "SUN SENA", "symmetric-option";
#
# symmetric-option = 0x1000000;
如果需要添加別的存儲 在下面添加如下:
device-type-scsi-options-list =
“DGC RAID”, “symmetric-option”;
symmetric-option = 0×1000000;
怎麼識別Vendor ID/Product ID 了 o(∩_∩)o...
首先執行format,然後選擇映射過來的磁盤,選擇inquiry 就可以顯示了 :)如下例所示:
bash-3.00# format
Searching for disks...doneAVAILABLE DISK SELECTIONS:
0. c0t0d0 <SEAGATE-ST973451SS-0001 cyl 38296 alt 2 hd 4 sec 935> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
1. c0t1d0 <FUJITSU-MBB2147RC-0105 cyl 65533 alt 2 hd 4 sec 1095> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
2. c0t2d0 <drive type unknown> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
3. c0t3d0 <FUJITSU-MBB2147RC-0105 cyl 65533 alt 2 hd 4 sec 1095> /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
4. c1t2d0 <ENGENIO-INF-01-00-0619 cyl 25598 alt 2 hd 64 sec 64> /pci@1e,600000/pci@0/pci@8/lpfc@0/fp@0,0/ssd@w200800a0b8420154,0
5. c2t1d0 <ENGENIO-INF-01-00-0619 cyl 25598 alt 2 hd 64 sec 64> /pci@1e,600000/pci@0/pci@8/lpfc@0,1/fp@0,0/ssd@w200800a0b8420153,0Specify disk (enter its number): 4selecting c1t2d0[disk formatted]FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> inquiry
Vendor: ENGENIO
Product: INF-01-00
Revision: 0619
format>
然後呢執行:
bash-3.00# stmsboot -e
WARNING: This operation will require a reboot.
Do you want to continue ? [y/n] (default: y) y
The changes will come into effect after rebooting the system.
Reboot the system now ? [y/n] (default: y) y
This