`
javayestome
  • 浏览: 1059514 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Emulex光纤卡lpfc配置文件的修改

阅读更多

光纤卡安装以后,需要修改两个配置文件,分别为:

/kernel/drv/sd.conf

/kernel/drv/lpfc.conf

修改内容在以下过程中标注:

# cd /kernel/drv
# vi sd.conf
"sd.conf" 65 lines, 1611 characters
#
# 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;

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;

# Start lpfc auto-generated configuration -- do NOT alter or delete this line
# WARNING: anything you put within this auto-generated section will
# be DELETED if you execute pkgrm to remove the lpfc driver package.
# You may need to add additional lines to probe for additional LUNs
# or targets. You SHOULD delete any lines that represent lpfc targets
# or LUNs that are not used.
# You should add any new entries between this line
# and the End lpfc auto generated configuration line
# name="sd" parent="lpfc" target=16 lun=0;
# name="sd" parent="lpfc" target=17 lun=0;
# A small number of LUNs for a RAID array
# name="sd" parent="lpfc" target=17 lun=1;
# name="sd" parent="lpfc" target=17 lun=2;
# name="sd" parent="lpfc" target=17 lun=3;
name="sd" parent="lpfc" target=0 lun=0;
name="sd" parent="lpfc" target=0 lun=1;
name="sd" parent="lpfc" target=0 lun=2;
name="sd" parent="lpfc" target=0 lun=3;
name="sd" parent="lpfc" target=0 lun=4;
name="sd" parent="lpfc" target=0 lun=5;
name="sd" parent="lpfc" target=0 lun=6;
name="sd" parent="lpfc" target=0 lun=7;
name="sd" parent="lpfc" target=1 lun=0;
name="sd" parent="lpfc" target=1 lun=1;
name="sd" parent="lpfc" target=1 lun=2;
name="sd" parent="lpfc" target=1 lun=3;
name="sd" parent="lpfc" target=1 lun=4;
name="sd" parent="lpfc" target=1 lun=5;
name="sd" parent="lpfc" target=1 lun=6;
name="sd" parent="lpfc" target=1 lun=7;
name="sd" parent="lpfc" target=2 lun=0;
name="sd" parent="lpfc" target=3 lun=0;
name="sd" parent="lpfc" target=4 lun=0;
name="sd" parent="lpfc" target=5 lun=0;
name="sd" parent="lpfc" target=6 lun=0;
name="sd" parent="lpfc" target=7 lun=0;
name="sd" parent="lpfc" target=8 lun=0;
name="sd" parent="lpfc" target=9 lun=0;
name="sd" parent="lpfc" target=10 lun=0;
name="sd" parent="lpfc" target=11 lun=0;
name="sd" parent="lpfc" target=12 lun=0;
name="sd" parent="lpfc" target=13 lun=0;
name="sd" parent="lpfc" target=14 lun=0;
name="sd" parent="lpfc" target=15 lun=0;
name="sd" parent="lpfc" target=16 lun=0;
name="sd" parent="lpfc" target=17 lun=0;
name="sd" parent="lpfc" target=17 lun=1;
name="sd" parent="lpfc" target=17 lun=2;
name="sd" parent="lpfc" target=17 lun=3;

--增加部分
"sd.conf" 100 lines, 3022 characters
# vi lpfc.conf
"lpfc.conf" 276 lines, 10863 characters
#
# COPYRIGHT 2004, EMULEX CORPORATION
# 3333 Susan Street, Costa Mesa, CA 92626
#
# All rights reserved. This computer program and related documentation
# is protected by copyright and distributed under licenses restricting
# its use, copying, distribution and decompilation. This computer
# program and its documentation are CONFIDENTIAL and a TRADE SECRET
# of EMULEX CORPORATION. The receipt or possession of this program
# or its documentation does not convey rights to reproduce or disclose
# its contents, or to manufacture, use, or sell anything that it may
# describe, in whole or in part, without the specific written consent
# of EMULEX CORPORATION. Any reproduction of this program without
# the express written consent of EMULEX CORPORATION is a violation
# of the copyright laws and may subject you to criminal prosecution.
#
#
# Solaris LightPulse lpfc (SCSI) / lpfn (IP) driver: global initialized data.
#
# lpfc.conf 1.26 2004/03/15 11:41:22PST

# Verbosity: only turn this flag on if you are willing to risk being
# deluged with LOTS of information.
# You can set a bit mask to record specific types of verbose messages:
#
# 0x1 ELS events
# 0x2 Device Discovery events
# 0x4 Mailbox Command events
# 0x8 Initialization events
# 0x10 Link Attention events
# 0x20 IP events
# 0x40 FCP events
# 0x80 Node table events
# 0x400 Miscellaneous events
# 0x800 SLI events
# 0x2000 IOCtl events
# 0xffff Log All Events
log-verbose=0x0;

# Setting log-only to 0 causes log messages to be printed on the
# console and to be logged to syslog (which may send them to the
# console again if it's configured to do so).
# Setting log-only to 1 causes log messages to go to syslog only.
log-only=1;

#
# +++ Variables relating to FCP (SCSI) support. +++
#
/top
# If set, nodev-holdio will hold all I/O errors on devices that disappear
# until they come back. Default is 0, return errors with no-device-delay.
nodev-holdio=0;

# If set, nodev-tmo will hold all I/O errors on devices that disappear
# until the timer [0 to 255 secs] expires. Default is 30, return errors
# with no-device-delay.
nodev-tmo=30;

# Use no-device-delay to delay FCP RSP errors and certain check conditions.
delay-rsp-err=0;

# Treat certain check conditions as an FCP error.
check-cond-err=0;

# num-iocbs [128 to 10240] - number of iocb buffers to allocate
num-iocbs=256;

# num-bufs [64 to 4096] - number of buffers to allocate
# Buffers are needed to support Fibre channel Extended Link Services.
# Also used for SLI-2 FCP buffers, one per FCP command, and Mailbox commands.
num-bufs=128;

# topology: link topology for initializing the Fibre Channel connection.
# 0 = attempt loop mode, if it fails attempt point-to-point mode
# 2 = attempt point-to-point mode only
# 4 = attempt loop mode only
# 6 = attempt point-to-point mode, if it fails attempt loop mode
# Set point-to-point mode if you want to run as an N_Port.
# Set loop mode if you want to run as an NL_Port.
topology=2;

--由0更改为2

# Set a preferred ALPA for the adapter, only valid if topology is loop.
# lpfc0-assign-alpa=2; Request ALPA 2 for lpfc0

# ip-class: FC class (2 or 3) to use for the IP protocol.
ip-class=3;

# fcp-class: FC class (2 or 3) to use for the FCP protocol.
fcp-class=3;

# Use ADISC for FCP rediscovery instead of PLOGI.
use-adisc=0;

# Extra IO timeout [0 to 255 secs] for fabrics
extra-io-tmo=0;

# Number of 4k STREAMS buffers [64 to 1024] to post to IP ring.
"lpfc.conf" 276 lines, 10863 characters
# reboot


修改配置文件后,重起主机生效

分享到:
评论

相关推荐

    emulex光纤网卡驱动

    而"emulex网卡驱动"则很可能是实际的驱动程序文件,用户需要根据文本文档中的指导来操作这个驱动文件,以便正确安装和更新Emulex光纤网卡的驱动。 保持驱动程序的最新状态对于保证网卡的最佳性能和稳定性至关重要。...

    Emulex光纤卡卸载办法.pdf

    在Windows操作系统下卸载Emulex光纤卡,简单地通过“控制面板”中的“程序和功能”卸载驱动程序是不足够的,这样做不能完全清除所有与Emulex光纤卡相关的文件和设置。要想彻底卸载,必须手动删除一些特定文件,并...

    Emulex卡安装及配置[归类].pdf

    在本文中,我们将深入探讨如何安装和配置Emulex卡,特别是在EMC ClARiiON CX600存储系统环境下。Emulex卡是一种高性能的光纤通道适配器,广泛用于连接服务器到存储网络,提供高速数据传输和先进的管理功能。 首先,...

    lpfc_2.6_driver_kit-8.2.0

    1. 设备识别:LPFC驱动能够识别和配置Emulex的光纤通道HBA(Host Bus Adapter),使其在Linux环境中正常工作。 2. 数据传输:驱动负责在主机系统和光纤通道网络之间高效地传输数据,确保高速、低延迟的通信。 3. ...

    emulex网卡驱动

    Emulex网卡驱动是专为...提供的压缩包文件"emulex网卡驱动"很可能包含了安装所需的全部驱动文件,用户只需按照上述步骤进行操作,即可成功安装或更新驱动。在安装过程中,务必遵循安装指南,避免误操作导致的问题。

    windows上查看光纤卡wwn的工具

    2. **SanSurfer HBA Manager**:许多光纤卡制造商如Emulex、Brocade和QLogic等提供自己的管理软件,如SanSurfer。这些工具提供了详细的HBA信息,包括WWN。下载并安装对应品牌的管理软件,运行后在界面中查找WWN即可...

    各操作系统中查看HBA 光纤卡 WWN 号的方法汇总

    "各操作系统中查看HBA光纤卡WWN号的方法汇总" 在本篇文章中,我们将讨论如何在不同的操作系统中查看HBA光纤卡的WWN号。WWN(World Wide Name)是光纤通道协议中用于标识HBA卡的唯一标识符。在日常的工作中,我们...

    Emulex be2net 网卡驱动 linux

    4. **解压文件**:使用解压缩工具打开下载的文件,提取出驱动程序。 5. **提升权限**:以root权限登录或使用sudo命令执行后续操作。 6. **安装驱动**:按照官方提供的安装指南,执行编译、安装和加载驱动的命令。 7....

    EMULEX系列HBA卡固件升级包

    此固件适用于以下型号:LPe15000/LPe15002/LPe16000/LPe16002/ LPe31000/ LPe31002/ LPe32000/ LPe32002/LPE1200/LPE1205,此固件为目前最新固件,升级后可...更新方法很简单,在系统内双击exe可执行文件即可更新完成。

    共享存储-MSA2000

    首先,确保系统已经安装了所有必要的开发软件包,包括Emulex光纤卡的驱动。在安装RH Linux 5 Update 1时,应选择安装这些软件包。如果需要,可以从HP官方网站下载并安装Emulex光纤卡的最新驱动。接着,安装...

    博科联手Emulex发展HBA和光纤通道交换机智能

    标题中的“博科联手Emulex发展HBA和光纤通道交换机智能”指的是博科通讯系统有限公司和Emulex公司合作,共同推进存储区域网络(SANs)基础设施的智能化,尤其是针对HBA(主机适配卡)和光纤通道交换机的集成管理与...

    Emulex LP1150 产品手册

    Emulex LP1150 主机总线适配器为存储区域网络(SAN)提供4Gb/s速率高度集成的光纤通道解决方案。通过应用Emulex的光纤通道控制器“Helios”,LP1150获得了额外的性能提升。高性能的Helios控制器集合了ARM11 处理器、...

    Emulex LP9802 产品手册

    Emulex LP9802光纤卡:速率2Gb,64位PCI,组光通道。支持的操作系统:Windows2003,Windows2000/NT,HP-UX,Linux,NetWare Solaris and AIX。

    Emulex HBA全面支持Windows Server 2003 SP1

    Emulex HBA,全称为Host Bus Adapter,是用于连接服务器和存储设备的硬件接口,主要在光纤通道(Fibre Channel)环境中应用。Emulex作为全球领先的HBA制造商,致力于提供高性能、高可靠性的存储解决方案。在Windows ...

    Emulex LP11002 产品手册

    LP11002凭借其先进的硬件特性,在...Emulex LP11002 主机总线适配器为企业级存储区域网络(SAN)提供4Gb/s速率高度集成的光纤通道解决方案。通过应用Emulex的光纤通道控制器“Helios”,LP11002获得了额外的性能提升。

    Emulex LP10000 产品手册

    Emulex LP10000 主机总线适配器为企业级和中端存储区域网络(SAN)提供基于PCI-X连接的2Gb/s速率高度集成的光纤通道解决方案。通过应用Emulex的第六代光纤通道控制器“Thor”,LP10000获得了额外的性能提升。Thor...

    Linux领域中的Emulex

    Linux领域的Emulex是一家专注于光纤通道(FC)主机总线适配器(HBA)的领先供应商,其产品广泛应用于数据中心的存储网络中。Emulex的HBA支持多种处理器架构,包括32-bit x86,Itanium 2,AMD 64 Opteron,Intel EM64...

    emulex_onecommand_sc

    ### Emulex OneCommand Manager 用户手册知识点概览 #### 一、引言 - **产品概述**:Emulex OneCommand Manager 是一款由 Emulex 公司开发的应用程序,旨在帮助用户管理和监控服务器及存储设备。这款软件适用于多...

    emulex hba 2003 driver

    emulex hba 2003 driveremulex hba 2003 driveremulex hba 2003 driveremulex hba 2003 driveremulex hba 2003 driver

    HP NC553i/m Emulex OneConnect 10Gb NIC

    通过这些文件,用户可以安装、配置和管理HP NC553i/m Emulex OneConnect 10Gb NIC,以实现高效的数据传输和网络管理。适配器还支持高级特性,如流量控制、服务质量(QoS)、硬件加速和虚拟化技术,以优化数据中心的...

Global site tag (gtag.js) - Google Analytics