分享
 
 
 

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

王朝other·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

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

/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

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有