Redhat Linux下安裝HBA卡並檢視WWN號
這次是在真機上的安裝,HBA卡的型號是QLA2460。
首先下載Qlogic HBA卡的驅動,上傳到tmp目錄,解壓縮,並進入解壓縮目錄
[root@redhat tmp]# cd qlafc-linux-8.02.23-3-install
解壓縮後生成的檔案
[root@redhat qlafc-linux-8.02.23-3-install]# ls
agents qla2xxx-v8.02.23-3.noarch.rpm ql-pci.ids scli-1.7.2-7.i386.rpm scli-1.7.2-7.ppc64.rpm
LinuxTools qlinstall README.qlinstall.txt scli-1.7.2-7.ia64.rpm set_driver_param
執行安裝命令,之前我安裝了一個低版本的沒安裝成功,下面是升級安裝的介面
[root@redhat qlafc-linux-8.02.23-3-install]# ./qlinstall
#*********************************************************#
# SANsurfer Driver Installer for Linux #
# Installer Version: 1.01.00pre22 #
#*********************************************************#
Kernel version: 2.6.18-164.el5
Distribution: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Found following QLogic Adapter in the system
1. QLE2460
Installation will begin for following driver
1. qla2xxx version: v8.02.23
Warning: Found an installed driver. Version: v8.01.06
Overriding the already installed version....
Unloading any loaded drivers
Uninstall of rpm version v8.01.06-1 beginning...
Restoring original QLogic drivers....
Removing installation changes from /etc/modprobe.conf....
Building module dependency....
depmod...
QLA2XXX -- Rebuilding ramdisk image...
Removing QLogic HBA API library...
Done.
Installing scli....
Preparing packages for installation...
scli-1.7.2-7
Installing Driver...
Preparing... ##################################################
qla2xxx ##################################################
QLA2XXX -- Building the qla2xxx driver, please wait...
Installing intermodule.ko in /lib/modules/2.6.18-164.el5/kernel/kernel/
QLA2XXX -- Installing the qla2xxx modules to
/lib/modules/2.6.18-164.el5/kernel/drivers/scsi/qla2xxx/...
Setting up QLogic HBA API library...
Please make sure the /usr/lib/libqlsdm.so file is not in use.
Installing ia32 api binary.
Library 4.00 build25 already installed at /usr/lib/libqlsdm.so.
Done.
Loading module qla2xxx_conf version: v8.02.23....
Loaded module qla2xxx_conf
Loading module qla2xxx version: v8.02.23....
Loaded module qla2xxx
Building default persistent binding using SCLI
Warning: PrefOpenPreferenceFile: Failed to open preference file (/etc/agent.properties).
Saved copy of /etc/modprobe.conf as
/usr/src/qlogic/v8.02.23-3/backup/modprobe.conf-2.6.18-164.el5-082110-015423.bak
Saved copy of /boot/initrd-2.6.18-164.el5.img as
/boot/initrd-2.6.18-164.el5_QLI.org
QLA2XXX -- Rebuilding ramdisk image...
Ramdisk created.
Reloading the QLogic FC HBA drivers....
Unloaded module qla2xxx
Loading module qla2xxx_conf version: v8.02.23....
Loaded module qla2xxx_conf
Loading module qla2xxx version: v8.02.23....
Loaded module qla2xxx
Target Information on all HBAs:
==============================
Warning: PrefOpenPreferenceFile: Failed to open preference file (/etc/agent.properties).
--------------------------------------------------------------------------------
HBA Instance 0: QLE2460 Port 1 WWPN 21-00-00-1B-32-1E-75-A6 PortID 00-00-00
--------------------------------------------------------------------------------
No device connected to selected HBA (Instance 0)!
Installing the qlinstall-autoload script. in /etc/init.d/
#*********************************************************#
# INSTALLATION SUCCESSFUL!! #
# SANsurfer Driver installation for Linux completed #
#*********************************************************#
安裝成功
如果在/proc/scsi/目錄下出現qla2xxx/目錄說明安裝已經成功,裝置正常執行
[root@redhat qlafc-linux-8.02.23-3-install]# cat /proc/scsi/qla2xxx/5
QLogic PCI to Fibre Channel Host Adapter for QLE2460:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23
BIOS version 1.24
FCODE version 1.24
EFI version 1.08
Flash FW version 4.00.26 0002
ISP: ISP2432, Serial# RFC0712U08693
Request Queue = 0x36100000, Response Queue = 0x359b0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 4159
Device queue depth = 0x10
Number of free request entries = 4095
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state =
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000
SCSI Device Information:
scsi-qla0-adapter-node=2000001b321e75a6;
scsi-qla0-adapter-port=2100001b321e75a6;
FC Port Information:
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
[root@redhat qlafc-linux-8.02.23-3-install]#
紅色標註的就是HBA卡的WWN號
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/196700/viewspace-772335/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux下HBA卡的WWN檢視Linux
- Redhat Server檢視HBA和WWN的方法RedhatServer
- 查詢hba卡wwn號
- redhat linux系統下檢視Emulex HBA卡基本命令RedhatLinux
- 檢視AIX基於HBA的儲存的WWN號AI
- linux作業系統如何識別hba卡的wwn號Linux作業系統
- Linux/Unix下檢視WWN號碼的方法Linux
- linux系統檢視wwn號Linux
- 各作業系統檢視HBA和WWN的方法作業系統
- Linux檢視光纖儲存wwn號Linux
- Redhat 5.3 安裝hba卡,配置emc powerpath,配置LVMRedhatLVM
- 各平臺檢視wwn號
- [HP-UX] 如何檢視linux/unix檢視wwn號[轉載]Linux
- 檢視系統中的WWN號
- Redhat 5.3 安裝hba卡,配置emc powerpath,配置LVM-轉RedhatLVM
- Linux下更換HBA卡重新掃盤Linux
- UNIX/LINUX平臺下檢視MAC和WWN地址的方法LinuxMac
- 常用作業系統檢視主機的WWN號碼作業系統
- linux下檢視java的安裝路徑LinuxJava
- Linux下檢視MySQL的安裝路徑LinuxMySql
- redhat linux 5 之配置YUM源並安裝包RedhatLinux
- 在Linux操作下解除安裝,安裝redhat自帶的JDKLinuxRedhatJDK
- Redhat enterprise linux下安裝rlwrap工具RedhatLinux
- RedHat 5.x 安裝序列號Redhat
- [linux]ubuntu下解除安裝openjdk並安裝sunjdkLinuxUbuntuJDK
- linux下安裝node npm並配置LinuxNPM
- LINUX下安裝cassandra 並配置clusterLinux
- 在RedHat Linux下安裝惠普磁帶機(轉)RedhatLinux
- Linux檢視已安裝軟體Linux
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- RedHat Linux安裝CentOS YUMRedhatLinuxCentOS
- Redhat linux 6.5 yum安裝RedhatLinux
- Linux下檢視jdk安裝路徑版本、安裝jdk、配置環境變數LinuxJDK變數
- RedHat Linux企業版安裝詳解(視訊)薦RedhatLinux
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- 關於3650M4安裝HBA卡PCI報警解決方法
- how to add a hba adapter on redhatAPTRedhat
- windows下檢查是否安裝了JDK以及檢視JDK安裝路徑WindowsJDK