1. lspci | grep -i fibre 명령어로 HBA 장치 확인
- HBA 확인 방법
18:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
18:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
86:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
86:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01)
총 2개의 HBA Card를 확인할 수 있음.
2. ls -l /sys/class/scsi_host 명령어로 FC 매칭 host 확인.
해당 명령어로 위의 HBA 장치 번호랑 매칭되는 host 를 찾을수 있습니다.
18:00.0 = host3 -> ../../devices/pci0000:17/0000:17:00.0/0000:18:00.0/host3/scsi_host/host3
18:00.1 = host12 -> ../../devices/pci0000:17/0000:17:00.0/0000:18:00.1/host12/scsi_host/host12
86:00.0 = host13 -> ../../devices/pci0000:85/0000:85:00.0/0000:86:00.0/host13/scsi_host/host13
86:00.1 = host14 -> ../../devices/pci0000:85/0000:85:00.0/0000:86:00.1/host14/scsi_host/host14
3. cat /sys/class/scsi_host/host3/device/fc_host/host3/port_name 로host 의 WWN 확인
해당 명령어로 host3(번호는 각각 다름) 을 읽으시면 WWN 을 알수 있습니다
host3 의 WWN 는 0x2100f4e9d4528f7a 인것을 알수 있습니다.
'OS' 카테고리의 다른 글
Lunix Hostname 변경 방법 (0) | 2025.02.28 |
---|---|
REHL7,8,9 / Rokey Linux nmcli 사용하여 IP 설정 (0) | 2025.02.28 |
RHEL HA와 Pacemaker + 관련 개념들 (0) | 2022.05.17 |
[Linux] ISO 파일로 Local repository 생성 (0) | 2019.12.04 |