免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1806 | 回复: 9

Solaris9:E450+A5200,mpxio问题,请指教 [复制链接]

论坛徽章:
0
发表于 2007-01-18 10:00 |显示全部楼层
我修改了/kernel/drv/scsi_vhci.conf;mpxio-disable="no";后重起format看到硬盘如下:
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c4t33d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w2200002037bdc134,0
       2. c4t34d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w2200002037bd55aa,0
       3. c4t58d0 <SEAGATE-ST318304FSUN18G-0726 cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w22000004cf0aa4d2,0
       4. c5t33d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w2100002037bdc134,0
       5. c5t34d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w2100002037bd55aa,0
       6. c5t58d0 <SEAGATE-ST318304FSUN18G-0726 cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w21000004cf0aa4d2,0
Specify disk (enter its number):
弱弱的问下我的双通道算做好吗?据说做好后应该
format看到是一套盘,如果没做好,该如何继续?

论坛徽章:
0
发表于 2007-01-18 10:01 |显示全部楼层
bash-2.05# luxadm display /dev/rdsk/c4t33d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c4t33d0s2
  Status(Port A):       No UNIX Label
  Status(Port B):       No UNIX Label
  Vendor:               SEAGATE
  Product ID:           ST318304FSUN18G
  WWN(Node):            2000002037bdc134
  WWN(Port A):          2100002037bdc134
  WWN(Port B):          2200002037bdc134
  Revision:             042D
  Serial Num:           3EL050NZ0000
  Unformatted capacity: 17274.674 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x76
  Location:             In the enclosure named: e
  Device Type:          Disk device
  Path(s):
  /dev/rdsk/c4t33d0s2
  /devices/pci@4,2000/SUNW,ifp@1/ssd@w2200002037bdc134,0:c,raw
  /dev/rdsk/c5t33d0s2
  /devices/pci@4,4000/SUNW,ifp@4/ssd@w2100002037bdc134,0:c,raw

论坛徽章:
0
发表于 2007-01-18 12:08 |显示全部楼层
看看messages的关于scsi_vhci.conf报错,会有地提示的!或者看看启动过程!最好把你的scsi_vhci.conf贴上来;希望你的solaris9是最新的,打了最新的补丁,装了最新的san包。

论坛徽章:
0
发表于 2007-01-18 13:32 |显示全部楼层
bash-2.05# more scsi_vhci.conf   
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#pragma ident   "@(#)scsi_vhci.conf     1.3     01/08/22 SMI"
#
name="scsi_vhci" class="root";
#
# mpxio global enable/disable switch: setting mpxio-disable="no" will activate
# I/O multipathing; setting mpxio-disable="yes" disables this feature (do
# not remove this property).
#
mpxio-disable="no";
#
# 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="none";
#
# Force load driver to support hotplug activity (do not remove this property).
#
ddi-forceattach=1;
#
# 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 StorEdge A5200", "symmetric-option";
symmetric-option = 0x1000000;
补丁是最新的,SAN包也是最新的

论坛徽章:
0
发表于 2007-01-18 18:50 |显示全部楼层
device-type-scsi-options-list ="SUN StorEdge A5200", "symmetric-option";
symmetric-option = 0x1000000;


以上这段有问题吧???
A5200的应该是 SUN     SENA
而且sun自己的存储应该不用编辑这段内容的.

论坛徽章:
0
发表于 2007-01-18 18:52 |显示全部楼层
luxadm probe

论坛徽章:
0
发表于 2007-01-19 10:17 |显示全部楼层
bash-2.05# luxadm probe
Found Enclosure(s):
SENA               Name:e   Node WWN:508002000006cf78   
  Logical Path:/dev/es/ses0
  Logical Path:/dev/es/ses1
  Logical Path:/dev/es/ses2
  Logical Path:/dev/es/ses3


bash-2.05# more scsi_vhci.conf
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#pragma ident   "@(#)scsi_vhci.conf     1.3     01/08/22 SMI"
#
name="scsi_vhci" class="root";
#
# mpxio global enable/disable switch: setting mpxio-disable="no" will activate
# I/O multipathing; setting mpxio-disable="yes" disables this feature (do
# not remove this property).
#
mpxio-disable="no";
#
# 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";
#
# Force load driver to support hotplug activity (do not remove this property).
#
ddi-forceattach=1;


bash-2.05# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c4t33d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w2200002037bdc134,0
       2. c4t34d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w2200002037bd55aa,0
       3. c4t58d0 <SEAGATE-ST318304FSUN18G-0726 cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,2000/SUNW,ifp@1/ssd@w22000004cf0aa4d2,0
       4. c5t33d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w2100002037bdc134,0
       5. c5t34d0 <SEAGATE-ST318304FSUN18G-042D cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w2100002037bd55aa,0
       6. c5t58d0 <SEAGATE-ST318304FSUN18G-0726 cyl 7506 alt 2 hd 19 sec 248>
          /pci@4,4000/SUNW,ifp@4/ssd@w21000004cf0aa4d2,0
Specify disk (enter its number): ^D

修改scsi_vhci.conf之前,format只看到一套盘,修改之后如上;修改后我拔掉任何一条光钎线后,format 只看到一套盘,问:我的多路径算做好了吗?是不是只修改scsi_vhci.conf文件就OK了

论坛徽章:
0
发表于 2007-01-19 10:25 |显示全部楼层
总觉得什么地方不对, 难道是A5200对mpxio的支持?  还是HBA卡对mpxio的支持?

反正逻辑设备看起来不对,应该出来wwn号的很长一串才是OK的, LZ你继续努力吧

论坛徽章:
0
发表于 2007-01-19 14:54 |显示全部楼层
more scsi_vhci.conf的结果好像很怪异,原始的比这个长!

论坛徽章:
0
发表于 2007-01-19 21:05 |显示全部楼层
应该是没做好。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

SACC2019中国系统架构师大会

【数字转型 架构演进】SACC2019中国系统架构师大会
2019年10月31日~11月2日第11届中国系统架构师大会(SACC2019)将在北京隆重召开。四大主线并行的演讲模式,1个主会场、20个技术专场、超千人参与的会议规模,100+来自互联网、金融、制造业、电商等领域的嘉宾阵容,将为广大参会者提供一场最具价值的技术交流盛会。




----------------------------------------

大会官网>>
  

北京盛拓优讯信息技术有限公司. 版权所有 16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122
中国互联网协会会员  联系我们:huangweiwei@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP