Solaris下的MPXIO
今天用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 我还都不太清楚……然后呢执行:
bash-3.00# stmsboot -eWARNING: 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 required a reboot, so I rebooted the machine, and low and behold the devices appeared correctly:
重启以后 在用format 应该就会只看到一个盘了。