日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux里hba状态_Windows和Linux系统查看HBA卡wwn号的方法 | 系统之家官网

發(fā)布時(shí)間:2023/12/1 linux 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux里hba状态_Windows和Linux系统查看HBA卡wwn号的方法 | 系统之家官网 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

一、windows 系統(tǒng)

在windows系統(tǒng)中,可以使用fc hba卡廠家提供的管理軟件查看光纖適配器的wwn號(hào)碼,具體如下:

qlogic:sansurfer

emulex:hbanyware

二、suse linux 9

查看 /proc/scsi/qla2xxx/* ,并以 adapter-port 為關(guān)鍵字過濾即可查看fc hba卡的wwn信息:

# cat /proc/scsi/qla2xxx/* | grep adapter-port

scsi-qla0-adapter-port=21000018822c8a2c;

scsi-qla1-adapter-port=21000018822c8a2d;

三、suse linux 10

查看 /sys/class/fc_host/host*/port_name 文件的內(nèi)容即可看到對(duì)應(yīng)fc hba卡的wwn信息:

# cat /sys/class/fc_host/host*/port_name

0x210000e08b907955

0x210000e08b902856

四、redhat linux as4

# grep scsi /proc/scsi/qla2xxx/3

number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0

scsi-qla0-adapter-node=20000018822d7834;

scsi-qla0-adapter-port=21000018822d7834;

scsi-qla0-target-0=202900a0b8423858;

scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;

五、redhat linux as5

# cat /sys/class/fc_host/hostx/port_name

六、solaris 10

提供了fcinfo命令,可以使用 fcinfo hba-port 查看fc hba的wwn信息:

# fcinfo hba-port

查看光纖卡端口的路徑及連接狀態(tài):

# luxadm -e port

查看端口的wwn:

# luxadm -e dump_map fibre_channel_hba_port // 上一命令的輸出

# prtconf –vp | grep -i wwn

# prtpicl –v | grep -i wwn (prtpicl - print picl tree)

六、hp-ux

# ioscan –func fc // 找到hba卡,再用fcmsutil查看hba卡信息

# fcmsutil /dev/fcd0(1)

七、aix

# lsdev -cc adapter // 找出hba卡

# lscfg –vpl fcs0 |grep network address

備注:

emulex的hba的wwn的第一個(gè)數(shù)字為1

qlogic的hba的wwn的第一個(gè)數(shù)字為2

hp tachyon hba的wwn的第一個(gè)數(shù)字為5

qlogic參數(shù)

connection options

0 - loop only

1 - point-to-point only

2 - loop preferred,otherwise point-to-point.

按服務(wù)器那邊的建議,das直連存儲(chǔ)時(shí)選擇loop only,通過光纖交換機(jī)連接存儲(chǔ)時(shí)選擇point-to-point only

總結(jié)

以上是生活随笔為你收集整理的linux里hba状态_Windows和Linux系统查看HBA卡wwn号的方法 | 系统之家官网的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。