宏源棋牌

<small id='6fc3h'></small><noframes id='6fc3h'>

  • <tfoot id='6fc3h'></tfoot>

      <legend id='6fc3h'><style id='6fc3h'><dir id='6fc3h'><q id='6fc3h'></q></dir></style></legend>
      <i id='6fc3h'><tr id='6fc3h'><dt id='6fc3h'><q id='6fc3h'><span id='6fc3h'><b id='6fc3h'><form id='6fc3h'><ins id='6fc3h'></ins><ul id='6fc3h'></ul><sub id='6fc3h'></sub></form><legend id='6fc3h'></legend><bdo id='6fc3h'><pre id='6fc3h'><center id='6fc3h'></center></pre></bdo></b><th id='6fc3h'></th></span></q></dt></tr></i><div id='6fc3h'><tfoot id='6fc3h'></tfoot><dl id='6fc3h'><fieldset id='6fc3h'></fieldset></dl></div>

          <bdo id='6fc3h'></bdo><ul id='6fc3h'></ul>

          1. <li id='6fc3h'><abbr id='6fc3h'></abbr></li>

                  <dfn id='yf1g3'><optgroup id='yf1g3'></optgroup></dfn><tfoot id='yf1g3'><bdo id='yf1g3'><div id='yf1g3'></div><i id='yf1g3'><dt id='yf1g3'></dt></i></bdo></tfoot>

                  <ul id='yf1g3'></ul>

                  • 企业空间 采购商城
                    宏源棋牌 > HBA卡 > HBA卡知识 > 正文

                    Linux下HBA卡的连接配置过程分享

                    2016-02-05 22:16来源:中国存储网
                    导读:本文以Emulex HBA作为示例HBA,分享Linux下HBA卡的连接配置过程。

                    ZHUJIWAIJIECUNCHUDEZHUNBEIGONGZUO:

                    宏源棋牌HBAKAYUCAOZUOXITONGDEANZHUANGSHUNXUJUEDINGLEZHUJIWAIJIECUNCHUDECAOZUOBUZHOU。RUGUOHBAANZHUANGZAICAOZUOXITONGZHIQIAN,NEIMELIANJIECIPANHAISHIBIJIAOJIANDANDE。ANZHUANGCHENGXUJIANCEDAOFAXIANDEYINGJIANBINGZHUNBEISUOXUMOKUAI。RUGUOSHIPEIQIANZHUANGYUCAOZUOXITONGZHIHOU,HUOZAICAOZUOXITONGANZHUANGZHIHOUYOUBIANGENG,ZEYONGHUXUYAOSHOUDONGANZHUANG。BENWENYIEmulex HBAZUOWEISHILIHBA。

                    HBAANZHUANGYUCAOZUOXITONGZHIQIAN:ANZHUANGCHENGXUFAXIANYINGJIAN,ZHUNBEIMOKUAI

                    HBAANZHUANGHUOBIANGENGYUCAOZUOXITONGZHIHOU:YONGHUSHOUDONGANZHUANG

                    CHAKANHBA:

                    lspci (Linux command)

                    [root@sandboxlinuxetc]# lspci

                    宏源棋牌00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)

                    00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]

                    00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)

                    00:04.1 IDE interface: VIA Technologies, Inc.

                    VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06

                    宏源棋牌00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 16)

                    宏源棋牌00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 16)

                    00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)

                    00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+(rev 10)

                    00:0a.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]

                    00:0c.0 Fibre Channel: Emulex Corporation: Unknown device fa00 (rev 01)

                    00:0c.1 Fibre Channel: Emulex Corporation: Unknown device fa00 (rev 01)

                    宏源棋牌01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 27)

                    宏源棋牌RUGUOYIJINGANZHUANGLEHBA,SHIYONGSHANGSHUMINGLINGQUERENHBAXINPIANJIDELEIXING。CIMINGLINGLIECHULESHIPEIQIDEXINPIANJI。BENLIXIANSHI,Fibre Channel Emulex card, device fa00 , rev 01。

                    宏源棋牌ZAIXIAOXIRIZHIZHONGCHAZHAOHBA:

                    LINGYIGEZAIFUWUQIZHONGCHAZHAOHBALEIXINGDEFANGFASHICHAKANXIAOXIRIZHIWENJIANZUIHOUYICIQIDONGGUOCHENGZHONGBAOCUNDEXINXI。BENLIZHONG,ZAI/var/log/MULUXIAZHIXING“more messages |grep HBA”WOMENKANJIANLIANGGEEmulex LP10000 HBA。

                    [#/var/log/more messages |grep HBA

                    Oct 18 14:55:21 sandboxlinux kernel: scsi0 : HBA: Emulex LightPulse

                    LP10000 on PCI bus 00 device 60 irq 11

                    宏源棋牌Oct 18 14:55:21 sandboxlinux kernel: scsi1 : HBA: Emulex LightPulse

                    LP10000 on PCI bus 00 device 61 irq 9

                    宏源棋牌Emulex HBAQUDONG:

                    宏源棋牌EmulexQUDONGWEIYU/lib/modules/2.4.21-4.EL/kernel/drivers/scsi。SCSIQUDONGWENJIANSHIlpfcdd.o。

                    宏源棋牌/lib/modules/2.4.21-4.EL/kernel/drivers/scsi

                    3w-xxxx.o ata_piix.o ide-scsi.olpfcdd.origscsi_mod.ost.o

                    aacraidBusLogic.oips.o megaraid2.o sd_mod.o sym53c8xx_2

                    aic7xxx dpt_i2o.o libata.omegaraid.osg.o sym53c8xx.o

                    aic7xxx_old.o gdth.olpfcdd.o

                    宏源棋牌lsmodMINGLINGYANZHENGMOKUAIYIBEIJIAZAI。BENLIXIANSHIQUDONGYIBEIJIAZAI,MINGWEIlpfcdd。

                    宏源棋牌/sbin/lsmod

                    Module Size Used by Tainted: P

                    宏源棋牌ide-cd 34016 0 (autoclean)

                    宏源棋牌cdrom 32576 0 (autoclean) [ide-cd]

                    mousedev 5624 1 (autoclean)

                    宏源棋牌input 6144 0 (autoclean) [mousedev]

                    宏源棋牌iptable_filter 2412 1 (autoclean)

                    宏源棋牌ext3 89960 2

                    jbd 55060 2 [ext3]

                    lpfcdd 295016 18

                    aic7xxx 162064 4

                    宏源棋牌sd_mod 13360 25 [emcp]

                    scsi_mod 112680 5 [emcpmpapemcpmp

                    宏源棋牌RUHESHIYONGEmulex lputilGONGJUCHAZHAOWWN:

                    通过执行lputil,可通过Emulex “lputil”工具查找HBA卡的WWN名。选择2“Adapter Information”,之后选择4“IEEE Address”。此地址将会被显示成为2个8位16进制字符,即为WWN。

                    Linux下HBA卡的连接配置过程分享

                    EmulexYONGJIUBANGDING:

                    ZAIGUANGXIANWANGLUOHUANJINGXIA,TUIJIANYONGJIUBANGDINGQUDONG,DANBUQIANGZHIYAOQIU,MUDESHIXIANZHIWANGLUOCUNCHUZHINENGTONGGUOYUDINGYIDEDUANKOUJINXINGTONGXUN。RUBUBANGDING,ZEWUFABAOZHENGFUWUQIDUANYUCUNCHUZHENLIETONGGUOGUANGXIANWANGLUOTONGXUNLUOJILUYOUDEYIZHIXING。RUGUOJIAOHUANJIDEWULIPEIZHIFASHENGBIANGENG(RUDIAOHUANXIANLANHUOZHUJIZHONGQI),LUOJILUYOUJIANGWUFABAOCHIYIZHI,ZHEIJIANGHUIDAOZHISHUJUSUNHUAI。ZHUYIEmulexQUDONGDEYONGJIUBANGDINGSHIJIYUtargetDE,ERFEILUN。KETONGGUOLIANGZHONGFANGSHILAISHIXIANYONGJIUBANGDING,SHIYONGEmulexPEIZHIWENJIAN/etc/lpfc.conf,HUOZAI/etc/modules.confWENJIANZHONGTIANJIAXUANXIANG。

                    lpfc.confWENJIANBAOHANSUOYOUKONGZHIQUDONGCHUSHIHUADECANSHU。CIWENJIANYIJINGXIUGAI,XUYAOJINGGUOZHONGXINBIANYIHEJIAZAICAINENGSHIGAIDONGSHENGXIAO。YEJIUSHISHUO,RUGUOlpfc.confWENJIANZHONGTIANJIALEYONGJIUBANGDINGZEBIXUZHONGXINJIAZAI。

                    PEIZHIlpfc.confWENJIANDEBUZHOU:

                    ZAIlpfc.confWENJIANZHONGPEIZHIYONGJIUBANGDING,SHOUXIANZAIlpfc.confWENJIANZHONGCHAZHAOlpfc_bind_entriesCANSHUBINGJIANGCICANSHUSHEZHICHENGGAIZHUJISHIJIDEBANGDINGSHUMU。LIRU:intlpfc_bind_entries =4; DINGYILE4GEBANGDING。

                    宏源棋牌DIER,XUANZEYIZHONGYONGJIUBANGDINGDEFANGSHI。EmulexYOUSANZHONGYONGJIUBANGDINGDEFANGFA:

                    宏源棋牌lpfc_fcp_bind_WWNNJIANGZHIDINGDEWorld Wide Node NameBANGDINGZHItarget ID

                    lpfc_fcp_bind_WWPNJIANGZHIDINGDEWorld Wide Port NameBANGDINGZHItarget ID

                    宏源棋牌lpfc_fcp_bind_DIDJIANGZHIDINGDEport IDBANGDINGZHItarget ID

                    宏源棋牌TUIJIANTONGGUOWWPNYONGJIUBANGDING。ZHINENGSHIYONGYIZHONGYONGJIUBANGDINGFANGSHI。DANGZHIDINGtarget IDSHI,Target 0BUNENGBEISHIYONG,YINWEItarget 0SHIWEIKONGZHIQIBAOLIUDE。

                    宏源棋牌DISANBU,CHAZHAOlpfc_automapCANSHUBINGJIANGQISHEZHIWEI0。

                    宏源棋牌DISIBU,CHAZHAOlpfc_scandownCANSHUBINGJIANGQISHEZHIWEI0。

                    宏源棋牌DIWUBU,BAOCUNlpfc.confWENJIAN。

                    DILIUBU,SHIYONGmake buildMINGLINGBIANYIQUDONG。

                    宏源棋牌DIQIBU,SHIYONGmake installMINGLINGZAIDANGQIANYUNXINGDENEIHEANZHUANGQUDONG。make installCANSHUJIANGQUDONGFUZHIDAO/lib/modules/$myversion/kernel/drivers/scsi($myversionSHINEIHEBANBEN)。

                    WOMENANZHAOtarget device WWPNJIANLIFCPBANGDING。lpfc_fcp_bind_WWPNJIANGZHIDINGWWPNBANGDINGZHItarget ID。GAIBANGDINGQUEBAOFENPEIDEtargetZAIZHONGQIZHIHOURENGBEIBAOCUN。BANGDINGNEIRONGGESHIWEI:“NNNNNNNNNNNNNNNN:lpfcXtY”,NNNNNNNNNNNNNNNNSHI16bitSHUDAIBIAOZHEtarget WWPN。XSHIWULIYINGJIANSHIPEIQIBIANHAO,YSHIFENPEIDEtarget。DUOTIAOYUJUZHIJIANYIDOUHAOXIANGJIANGE,YIFENHAOWEIJIESHU。MUQIANWUFAJIANGSHIPEIQItargetZHIDINGJITEDINGDEsdSHEBEI,/dev/sdX。

                    LIRU:char *lpfc_fcp_bind_WWPN[]={"21000020370cf8263:lpfc1t0"};

                    JULI1:

                    char *lpfc_fcp_bind_WWPN={.NNNNNNNNNNNNNNNN:lpfcXtY.};

                    宏源棋牌vi /etc/lpfc.conf

                    宏源棋牌intlpfc_bind_entries =4;

                    intlpfc_automap parameter=0;

                    intlpfc_scandown=0;

                    char *lpfc_fcp_bind_WWPN={"50060160006000ed:lpfc0t1",

                    宏源棋牌"50060168006000ed:lpfc0t2","50060160006000ed:lpfc1t1",

                    "50060168006000ed:lpfc1t2"};

                    宏源棋牌BENLIZHONGWOMENXIUGAILElpfc.confWENJIAN,JIANGCANSHUlpfc_bind_entries,lpfc_automapHE

                    lpfc_scandownSHEZHIWEI0,BINGTONGGUOlpfc_fcp_bind_WWPNBANGDINGWWPN。

                    宏源棋牌PEIZHImodule.confWENJIANDEBUZHOU:

                    ZAImodule.confWENJIANZHONGPEIZHIYONGJIUBANGDING,SHOUXIANWEIXITONGZHONGMEIYIGEadapterZHIDINGWWNN/WWPNYIJItargetXINXI,ZHIHOUTONGGUOZAIWENJIANZHONGTIANJIAYONGJIUBANGDINGCANSHUXIUGAImodule.confWENJIAN。

                    SHOUXIAN,JIANGlpfc_bind_entriesCANSHUSHEZHICHENGZHUJISHIJIBANGDINGDESHULIANG:BIRU:lpfc_bind_entries=4。

                    DIERBU,JIANGlpfc_scandownCANSHUSHEZHICHENG“0”。

                    宏源棋牌DISANBU,JIANGlpfc_automapCANSHUSHEZHICHENG“0”。

                    宏源棋牌DISIBU,XUANZElpfc_fcp_bind_WWPN, lpfc_fcp_bind_WWNNHUOlpfc_fcp_bind_DID, target IDSHEZHIBANGDINGLEIXING。TUIJIANTONGGUOWWPNSHIXIANYONGJIUBANGDING。

                    DIWUBU,BAOCUNDUI/etc/modules.confWENJIANDEGENGGAI。

                    宏源棋牌DILIUBU,TONGGUOZHIXING/sbin/#./modprobelpfcddGENGXINlpfcddMOKUAI。

                    JULI2:

                    宏源棋牌#/etc/more modules.conf

                    aliasparport_lowlevelparport_pc

                    宏源棋牌aliasscsi_hostadapter sym53c8xx

                    宏源棋牌alias scsi_hostadapter1 lpfcdd

                    alias scsi_hostadapter2 lpfcdd

                    宏源棋牌alias eth0 tlan

                    宏源棋牌optionsscsi_modmax_scsi_luns=256 scsi_allow_ghost_devices=1

                    optionslpfcdd lpfc0_topology=0x02 lpfc1_topology=0x02

                    宏源棋牌lpfc_network_on=0 lpfc_use_data_direction=0 lpfc_automap=0

                    lpfc_scandown=0 lpfc_bind_entries=4

                    lpfc_fcp_bind_WWPN={.50060160006000ed:lpfc0t1,50060168006000ed:lpfc0t2,50

                    060160006000ed:lpfc1t1,50060168006000ed:lpfc1t2.};

                    宏源棋牌BENLIZHONGWOMENXIUGAILE/etc/modules.confWENJIAN,SHEZHIlpfc_automap=0, lpfc_scandown=0,

                    lpfc_bind_entries=4,BINGTONGGUOlpfc_fcp_bind_WWPN={“50060160006000ed:lpfc0t1,50060168006000ed:lpfc0t2,50060160006000ed:lpfc1t1,50060168006000ed:lpfc1t2”}BANGDINGWWPN。  

                    SHIBIECUNCHUSHEBEI:

                    HBAANZHUANGJIESHUBINGZHONGQIXITONGZHIHOU,YONGHUKEYITONGGUOZHIXING“more messages |grep SCSI”SHIBIEHBAFAXIANDECIPANSHEBEI。BENLIZHONGWOMENKANDAODESHEBEICONGsdaDAOsdf。

                    Linux下HBA卡的连接配置过程分享
                    继续阅读
                    中国存储网声明:此文观点不代表本站立场,如有版权疑问请联系我们。
                    相关阅读
                    产品推荐
                    头条阅读
                    栏目热点

                    宏源棋牌Copyright @ 2006-2019 ubergeil.com BANQUANSUOYOU JINGICPBEI14047533HAO

                    中国存储网

                    宏源棋牌CUNCHUDIYIZHAN,CUNCHUMENHU,CUNCHUZAIXIANJIAOLIUPINGTAI

                    在线赌博最新 娱乐正规网址-Welcome 天宫棋牌下载---宏源棋牌_欢迎您 延边棋牌游戏---宏源棋牌_Welcome 乐酷棋牌---宏源棋牌_欢迎您