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

原创 2004年08月28日 12:09:00

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

/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


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

80x86保护模式系列教程(2)分段管理机制

二.分段管理机制本文介绍保护方式下的段定义以及由段选择子及段内偏移构成的二维虚拟地址如何被转换为一维线性地址。 段定义和虚拟地址到线性地址的转换段是实现虚拟地址到线性地址转换机制的基础。在保护方式下,...
  • tangl_99
  • tangl_99
  • 2003-03-10 10:24:00
  • 4712

Emulex LightPulse FC9002L光纤卡安装日志

Emulex LightPulse FC9002L光纤卡安装日志光盘上的驱动程序在Solaris9上安装有问题,重新启动后系统不停重起,无法up可以到官方网站下载新的驱动,安装即可.# tar xvf...
  • eygle
  • eygle
  • 2004-08-28 12:06:00
  • 2019

emulex光纤网卡驱动

  • 2010年09月05日 23:15
  • 959KB
  • 下载

Qlogic光纤卡安装配置记录及参考

Qlogic光纤卡安装配置记录及参考Last Updated: Saturday, 2004-11-06 19:59 Eygle        Qlogic光纤卡安装配置相对简单,但是同样的,为了是主...
  • eygle
  • eygle
  • 2004-11-06 20:13:00
  • 3426

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

光纤卡安装以后,需要修改两个配置文件,分别为:/kernel/drv/sd.conf/kernel/drv/lpfc.conf修改内容在以下过程中标注:# cd /kernel/drv# vi sd....
  • eygle
  • eygle
  • 2004-08-28 12:09:00
  • 2081

Emulex公司介绍

最近使用到了Emulex公司的光纤卡,对这个公司的情况作了一下搜索,记录下来给自己参考:)http://www.yesky.com/20020822/1626589.shtml____________...
  • eygle
  • eygle
  • 2004-08-09 14:33:00
  • 1732

<em>emulex</em> hba 2003 driver

<em>emulex光纤</em>网卡驱动 立即下载 上传者: shumiyong 时间: 2010-09-05 综合评分: 4 积分/C币:3 redhat linux 系统网卡驱动 hba卡驱动手动驱动过程 立即下载 ...
  • 2018年04月17日 00:00

HP NC553i/m <em>Emulex</em> OneConnect 10Gb NIC

emulex网卡驱动 立即下载 上传者: shumiyong 时间: 2010-09-05 综合评分: 0 积分/C币:3 <em>emulex光纤</em>网卡驱动 立即下载 上传者: shumiyong 时间: 2010-09...
  • 2018年04月18日 00:00

几种系统下查看FC HBA卡信息的方法

在配置磁盘阵列、虚拟带库以及其他带FC HBA卡的设备时,经常需要查看FC HBA卡的WWPN信息以便进行端口添加、ZONE划分等操作,正确查看FC HBA卡的信息是保证顺利施工的前提。 本...
  • yusiyuuestc
  • yusiyuuestc
  • 2013-12-13 16:24:03
  • 9318

HP光纤卡型号查看

HP光纤卡型号查看
  • php521php
  • php521php
  • 2014-09-28 09:10:07
  • 961
收藏助手
不良信息举报
您举报文章:Emulex光纤卡lpfc配置文件的修改
举报原因:
原因补充:

(最多只允许输入30个字)