忘记密码   免费注册 查看新帖 | 论坛精华区

ChinaUnix.net

  平台 论坛 博客 认证专区 大话IT HPC论坛 徽章 文库 沙龙 自测 下载 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 2144 | 回复: 4

关于Solaris下接存储设备, 无法识别HDS AMS2300 LUN的问题!!求助 [复制链接]

论坛徽章:
0
发表于 2017-06-07 11:33 |显示全部楼层
HDS 存储AS2300 mapping到服务器,Solaris系统重启很多次,format依旧无法扫描到存储的lun。存储mapping没有任何问题。下图是hba卡的连接状态和format显示截图。请各位高手帮忙指导,谢谢



论坛徽章:
0
发表于 2017-06-07 11:35 |显示全部楼层
# format   
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0
       1. c0t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>  01200000
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0
Specify disk (enter its number):

论坛徽章:
0
发表于 2017-06-07 11:35 |显示全部楼层
#
# fcinfo hba-port
HBA Port WWN: 1000000b5d65d7c6
        OS Device Name: /devices/pci@1,700000/fibre-channel@0:devctl
        Manufacturer: FUJITSU
        Model: SE0X7F12F
        Firmware Version:
        FCode/BIOS Version:
        Serial Number: not available
        Driver Name: fjpfca
        Driver Version: not available
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 10000021284476ac
HBA Port WWN: 1000000b5d65d7c7
        OS Device Name: /devices/pci@1,700000/fibre-channel@0,1:devctl
        Manufacturer: FUJITSU
        Model: SE0X7F12F
        Firmware Version:
        FCode/BIOS Version:
        Serial Number: not available
        Driver Name: fjpfca
        Driver Version: not available
        Type: unknown
        State: error
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 10000021284476ac
HBA Port WWN: 1000000b5d65d7ce
        OS Device Name: /devices/pci@3,700000/fibre-channel@0:devctl
        Manufacturer: FUJITSU
        Model: SE0X7F12F
        Firmware Version:
        FCode/BIOS Version:
        Serial Number: not available
        Driver Name: fjpfca
        Driver Version: not available
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 10000021284476ac
HBA Port WWN: 1000000b5d65d7cf
        OS Device Name: /devices/pci@3,700000/fibre-channel@0,1:devctl
        Manufacturer: FUJITSU
        Model: SE0X7F12F
        Firmware Version:
        FCode/BIOS Version:
        Serial Number: not available
        Driver Name: fjpfca
        Driver Version: not available
        Type: unknown
        State: error
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 10000021284476ac

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2017-06-10 16:37 |显示全部楼层
在OK下能看到到吗?

论坛徽章:
0
发表于 2017-08-09 23:48 |显示全部楼层
你的这个HBA卡是富士通的,如果没猜错,你的服务器是FUJITSU产SPARC。 Fujitsu的HBA卡有段时间兼容性不太好,另外需要修改Fujitsu HBA卡的配置文件,我记得应该叫fjpfca.conf。 用了Fujitsu HBA卡的识别SAN有一套方法。例如:

修改 fjpfca.conf 和 sd.conf 文件 fjpfca.conf
bash-2.03# more fjpfca.conf
#
# All Rights Reserved, Copyright (c) FUJITSU LIMITED 2000
#
#ident "@(#)$Id: fjpfca.conf,v 3.1.1.1 2001/04/20 11:19:47 hiroki Exp $ FUJITSU"
# The fjpfca driver support connection to NL_port(FC-AL) and
# F_Port/FL_Port(fabric).
# It is necessary to define "port" property in order to communicate
# with the fabric or N_port target. In addition, it is necessary
# to define "fcp-bind-target" property in order to communicate
# with the fabric. These need not be defined for FC-AL.
# Other properties like "alias" and "max-throttle" are optional.
# Alias name definition
# You can create an alias definition for a specific WWN
# with "alias" property.
# SYNOPSIS:
# alias="alias-name:wwn", ...;
# EXAMPLE:
# alias="TARGET_A:0x100000a0b8030001","TARGET_B:0x100000a0b8030002"; #
alias=
"CM0:0x210000e0004113f7",
"CM1:0x210000e000411419";
# "TARGET_0B:0x100000a0b8030003",
# "TARGET_1B:0x100000a0b8030004";
# Port type definition
# The port type definition sets the port mode for a specific instance.
# If the "port" property is not defined, the fjpfca driver
# will determine the port mode automatically during the initialization.
# SYNOPSIS:
# port="instance-name:[nport|loop]", ...;
# EXAMPLE:
# port="fjpfca0:nport","fjpfca1:loop"; #
port=
"fjpfca0:nport";
第4页共4页
  # "fjpfca1:nport",
# "fjpfca2:nport",
# "fjpfca3:nport";
# Target binding definition
# fcp-bind-target binds a specific instance to a target ID.
# You can use defined alias in "alias" property for the WWN.
# SYNOPSIS:
# fcp-bind-target="[target-name:[wwn|alias-name]", ...;
# EXAMPLE:
# fcp-bind-target= "fjpfca0t0:0x100000a0b8030001","fjpfca1t0:TARGET_B"; #
fcp-bind-target=
"fjpfca0t17:CM0";
# "fjpfca0t17:CM1";
# "fjpfca1t0:TARGET_1A",
# "fjpfca1t1:TARGET_1B";
# Number of maximum commands per target definition
# The driver uses the value specified by the max-throttle property
# as a number a target of commands which can be issued simultaneously.
# SYNOPSIS:
# max-throttle="[target-name:number]", ...;
# EXAMPLE:
# max-throttle="fjpfca0t0:240","fjpfca1t0:240"; #
max-throttle=
"fjpfca0t0:40";
# "fjpfca0t1:128",
# "fjpfca1t0:240",
# "fjpfca1t1:128";
sd.conf (注意最后 2 行 target id 是存储上设的 id 值) bash-2.03# more sd.conf
#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident "@(#)sd.conf 1.9 98/01/11 SMI"
name="sd" class="scsi" class_prop="atapi" target=0 lun=0;
name="sd" class="scsi" class_prop="atapi" target=1 lun=0;
name="sd" class="scsi" class_prop="atapi" target=2 lun=0;
name="sd" class="scsi" class_prop="atapi" target=3 lun=0;
name="sd" class="scsi" target=4 lun=0;
第5页共5页
  4.3
4.4
name="sd" class="scsi" target=5 lun=0;
name="sd" class="scsi" target=6 lun=0;
name="sd" class="scsi" target=8 lun=0;
name="sd" class="scsi" target=9 lun=0;
name="sd" class="scsi" target=10 lun=0;
name="sd" class="scsi" target=11 lun=0;
name="sd" class="scsi" target=12 lun=0;
name="sd" class="scsi" target=13 lun=0;
name="sd" class="scsi" target=14 lun=0;
name="sd" class="scsi" target=15 lun=0;
name="sd" class="scsi" class_prop="atapi" target=17 lun=0;
name="sd" class="scsi" class_prop="atapi" target=17 lun=1;


以上是fjpfca识别Fujitsu存储的例子,建议你找找你目前HBA卡SE0X7F12F的手册,或者换一块Emulex/Qlogic卡
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP