linux作業系統如何識別hba卡的wwn號
在連線儲存的時候,通常儲存管理員要求我們提供一下wwn號,這樣便於與儲存管理器上識別的wwn號對應起來,也就是檢視一下hba的id號,現在把linux的檢視方法與大家分享一下
一、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/AS6
redhat5及redat6的方法是一樣的
[root@mytest host3]# pwd
/sys/class/fc_host/host3
[root@mytest host3]# cat port_name
0x10000090fa74258b
包括centos、oel與redhat的方法是相同的
三、SuSE Linux 9
檢視 /proc/scsi/qla2xxx/* ,並以 adapter-port 為關鍵字過濾即可檢視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 檔案的內容即可看到對應FC HBA卡的WWN資訊:
mytest:/sys/class/fc_host/host3 # pwd
/sys/class/fc_host/host3
mytest:/sys/class/fc_host/host3 # cat port_name
0x21000024ff356b02
一、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/AS6
redhat5及redat6的方法是一樣的
[root@mytest host3]# pwd
/sys/class/fc_host/host3
[root@mytest host3]# cat port_name
0x10000090fa74258b
包括centos、oel與redhat的方法是相同的
三、SuSE Linux 9
檢視 /proc/scsi/qla2xxx/* ,並以 adapter-port 為關鍵字過濾即可檢視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 檔案的內容即可看到對應FC HBA卡的WWN資訊:
mytest:/sys/class/fc_host/host3 # pwd
/sys/class/fc_host/host3
mytest:/sys/class/fc_host/host3 # cat port_name
0x21000024ff356b02
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29371470/viewspace-1292679/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux作業系統的認識和使用Linux作業系統
- 使用去中心化識別符號 (DID) 作為識別符號元系統中心化符號
- Linux檢視光纖儲存wwn號Linux
- 登高作業安全繩佩戴識別系統
- 【linux】Linux作業系統Linux作業系統
- 工作學習中如何選擇作業系統?如何學習linux作業系統作業系統Linux
- 如何檢視Linux作業系統版本?Linux作業系統
- Linux 作業系統Linux作業系統
- Linux作業系統Linux作業系統
- 作業區域工服穿戴識別系統
- Linux作業系統執行級別介紹Linux作業系統
- Linux作業系統關於ftp,samba,nfs的區別Linux作業系統FTPSambaNFS
- 製作Linux系統SD啟動卡Linux
- 【Linux入門知識】最適合新手使用的Linux作業系統!Linux作業系統
- 如何區分Linux和Unix?作業系統!Linux作業系統
- 作業系統與Linux作業系統Linux
- Linux作業系統概述Linux作業系統
- 作業系統 Linux下的程式作業系統Linux
- Unix和Linux作業系統有什麼區別Linux作業系統
- 如何安裝Linux作業系統?Linux運維教學Linux作業系統運維
- Linux作業系統中如何連線Microsoft OneDriveLinux作業系統ROS
- 作業系統知識點作業系統
- 【知識分享】Linux作業系統的Web伺服器優點Linux作業系統Web伺服器
- 作業系統是什麼?Linux是什麼作業系統?作業系統Linux
- linux作業系統介紹Linux作業系統
- 科普帖:Linux作業系統Linux作業系統
- Linux 作業系統!開篇!!!Linux作業系統
- Linux作業系統基礎Linux作業系統
- Linux作業系統 paste命令Linux作業系統AST
- 黑客專用的 Linux 作業系統-黑客Linux作業系統
- 【計題02組專業03號】作業系統知識點複習作業系統
- linux是什麼作業系統 linux和windows的區別詳細說明Linux作業系統Windows
- LINUX作業系統知識:程式與執行緒詳解Linux作業系統執行緒
- Linux作業系統有什麼檔案型別?Linux基礎教程Linux作業系統型別
- Linux作業系統支援的檔案系統有哪些?Linux作業系統
- 作業人員護目鏡佩戴自動識別系統
- 工地人員作業安全帶穿戴識別檢測系統
- 記學習滲透測試之識別作業系統作業系統
- Linux作業系統的日誌說明Linux作業系統