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光纤卡lpfc配置文件的修改相关推荐
- aix下光纤卡与网卡连接状态查看及网络参数修改
AIX 下光纤卡使用状态 #fcstat fcs0 FIBRE CHANNEL STATISTICS REPORT: fcs0Device Type: 8Gb PCI Express Dual Por ...
- linux rhel unix centos FreeBSD 查看CPU核数使用率 系统 位 内存大小 硬盘 HBA光纤卡号 常用命令
一:使用CentOS常用命令查看cpu more /proc/cpuinfo | grep "model name" grep "model name" / ...
- linux查看光纤卡微码版本,各操作系统中查看HBA 光纤卡 WWN 号的方法汇总
各操作系统中查看HBA 光纤卡 WWN 号的方法汇总 我们在日常的工作中经常需要查询HBA卡的WWN号,可是客户的HBA卡已经安装到服务器,且也没有交换机,在存储上看到很多WWN号,不知道主机对应的H ...
- ubuntu挂载sd卡到分区目录+修改docker镜像存储位置
ubuntu挂载sd卡到分区目录+修改docker镜像存储位置 一. 挂载SD卡到/data 1.查看Linux硬盘信息 lsblk 或 fdisk -l lsblk 新的硬盘,最好删除之前的分区,再 ...
- 服务器光纤卡wwn信息,操作系统中查看HBA 光纤卡 WWN 号的方法汇总
操作系统中查看HBA 光纤卡 WWN 号的方法汇总 我们在日常的工作中经常需要查询HBA卡的WWN号,可是客户的HBA卡已经安装到服务器,且也没有交换机,在存储上看到很多WWN号,不知道主机对应的HB ...
- suse linux 光纤卡重置,SUSE Linux下查看光纤卡号和操作系统的版本
这两个太常用了,记录备案. PS,我发现我最近一不小心写了不少SUSE系统相关的文章.................... 其实我是一名DBA,我们数据中心是按业务划分系统的,我们小组负责BI和B2 ...
- linux设定时间查看文件,查看linux系统,服务,配置文件被修改的时间
如何查看服务启动时间 [[email protected] /]# ps -ef |grep nginx root 14730 1 0 16:45 ? 00:00:00 nginx: master p ...
- mysql配置文件没有权限更改_MySQL配置文件无法修改的解决方法(Win10)
帮别人解决的问题,记录一下. 问题描述 MySQL的版本是5.7,操作系统是window10.MySQL安装在 C:\Program Files 下.最近需要在MySQL安装目录下的 my-defau ...
- 基于Xilinx Kintex-7 FPGA K7 XC7K325T PCIeX8 四路光纤卡226
基于Xilinx Kintex-7 FPGA K7 XC7K325T PCIeX8 四路光纤卡 正在上传-重新上传取消 一.板卡概述 板卡主芯片采用Xilinx公司的XC7K325T-2FFG900 ...
- Linux之更改配置文件永久修改IP地址
目录 1.ifconfig命令详解 2.etho表示第一块网卡,为什么ifconfig显示的是eth1 2.1.原因解析 2.2.重启系统 3.查看对应网卡的mac 4.配置IP地址 4.1.配置文件 ...
最新文章
- 松江库卡机器人_上海高质量发展调研行|库卡机器人:为全球提供“松江创造”的产品...
- Nginx 五大常见应用场景,Linux运维请收藏~
- JDK7与JDK8中HashMap的实现
- vim支持python/dyn,但has返回0
- python如何删除代码_Python列表删除的三种方法代码分享
- 惠普刀片服务器c7000硬件配置手册_刀片服务器四点不足之处你都知道几个?
- php foreach 为什么在if条件下多条数据只取出一条数据_微信大牛教你深入了解数据库索引...
- 微信好友管理工具_助手_系统软件哪个最好?
- c语言实验报告字符数组,C语言实验报告数组
- 疯狂突破高中句型300句
- 阿里云国际版服务器电子商务直播解决方案
- EIQ分析法_配送中心
- 计算机文件夹加密文件,电脑上怎么创建加密文件夹?三种方法教给你
- [python3]读取docx每个段落下的table数据
- arch linux yaourt arm,在ARM设备(树莓派、香蕉派)上为Arch Linux配置yaourt
- 最值得推荐的6个物联网开发平台
- 幼儿园手工之自制时钟_幼儿园手工之自制时钟,提高孩子良好的时间观念
- 依米花音乐播放器php源码下载
- mysql查询语句speed select
- 【机器学习算法】支持向量机(support Vector Machine,SVM)
热门文章
- AMD zen3 5600X + B550M 黑苹果 EFI Big Sur 11.5.2
- 身边的逻辑学——简单的真理不简单(2) 无论如何,清晰思考利多于弊
- 渲梦工厂V2.1.5.0简体中文官方版,作图快10倍~
- 作为无人机方面做嵌入式编写的飞控总结6--IMU惯性系统和GPS导航系统融合小结1(惯性导航算法)
- ClickHouse 函数极简教程
- K8S各种各样的证书介绍
- semilogx 多条曲线_如何在excel中绘制多条曲线
- 使用 validation 验证参数
- SiamRPN论文笔记
- 方差、标准差、均方根误差、平均绝对误差的总结