본문 바로가기

Compute™/Linux

[Linux] Redhat Enterprise 5.4 에 HBA(emulex) card 설치

반응형
SMALL

1. 서버 Power Off 후 HBA Card(emulex) 장착

2. 서버 부팅 후 lspci 명령어를 통해 pci device 인식 여부 확인


[root@test /]# lspci |grep Fibre
07:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre Channel Host Adapter (rev 02)
13:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre Channel Host Adapter (rev 02)


3. 해당 HBA card 제조사 홈페이지를 통해 O/S버전에 맞는 드라이버 다운로드
wget http://www-dl.emulex.com/support/linux/82096/lpfc_2.6_driver_kit-8.2.0.96-1.tar.gz

4. 드라이버 설치 전 필요 조건 확인
필요한 package 설치
- gcc
- kernel-devel-2.6.18-164.el5 (해당 O/S 커널값과 동일한 패키지) 
Redhat install CD or yum 을 통한 설치
 
5. 드라이버 패키지 설치
tar -xvf lpfc_2.6_driver_kit-8.2.0.96-1.tar.gz
cd lpfc_2.6_driver_kit-8.2.0.96-1
./lpfc-install



6. 재부팅 후 정상 확인
[root@test lpfc_2.6_driver_kit-8.2.0.96-1]# cat /etc/modprobe.conf
alias scsi_hostadapter3 lpfc
alias scsi_hostadapter4 lpfc

[root@test lpfc_2.6_driver_kit-8.2.0.96-1]# dmesg |grep scsi
scsi0 : ServeRAID
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:1:0: Attached scsi removable disk sdb
scsi1 :  on PCI bus 13 device 00 irq 177
scsi2 :  on PCI bus 07 device 00 irq 90
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
scsi 0:1:0:0: Attached scsi generic sg2 type 0
scsi 0:1:1:0: Attached scsi generic sg3 type 0
scsi 0:3:0:0: Attached scsi generic sg4 type 13

완료!!

반응형
LIST