[root@TEST01 ~]# [root@TEST01 ~]# systool -c fc_host -v | more Class = "fc_host"
Class Device = "host10" Class Device path = "/sys/class/fc_host/host10" active_fc4s = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 " fabric_name = "0x100000053343a962" issue_lip = <store method only> maxframe_size = "2048 bytes" node_name = "0x20000000c9abfba8" port_id = "0x010b00" port_name = "0x10000000c9abfba8" port_state = "Online" port_type = "NPort (fabric via point-to-point)" speed = "4 Gbit" supported_classes = "Class 3" supported_fc4s = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 " supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit" tgtid_bind_type = "wwpn (World Wide Port Name)" uevent = <store method only>
Device = "host10" Device path = "/sys/devices/pci0000:50/0000:50:03.0/0000:61:00.0/host10" uevent = <store method only>
. . .
생략
# HBA 간략 확인 (host숫자는 HBTL SCSI addressing 에서의 H-value임)
[root@TEST01 ~]# systool -c fc_host -v | grep "Class Device path"
Class Device path = "/sys/class/fc_host/host3"
Class Device path = "/sys/class/fc_host/host4"
Class Device path = "/sys/class/fc_host/host5"
Class Device path = "/sys/class/fc_host/host6"
.
.
.
생략
[root@TEST01 ~]#
# HBA Card Host 번호와 맵핑된 PCI Bus 주소 확인
[root@TEST01 ~]# [root@TEST01 ~]# lspci | grep -i "fibre channel" 05:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) 05:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) 90:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) 90:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) [root@TEST01 ~]# [root@TEST01 ~]# [root@TEST01 ~]# find /sys/class/fc_host/ -type l -name device -exec ls -l {} \; lrwxrwxrwx 1 root root 0 3월 6 10:42 /sys/class/fc_host/host6/device -> ../../../devices/pci0000:80/0000:80:03.0/0000:90:00.1/host6 lrwxrwxrwx 1 root root 0 3월 6 10:42 /sys/class/fc_host/host5/device -> ../../../devices/pci0000:80/0000:80:03.0/0000:90:00.0/host5 lrwxrwxrwx 1 root root 0 3월 6 10:42 /sys/class/fc_host/host4/device -> ../../../devices/pci0000:00/0000:00:0a.0/0000:05:00.1/host4 lrwxrwxrwx 1 root root 0 3월 6 10:42 /sys/class/fc_host/host3/device -> ../../../devices/pci0000:00/0000:00:0a.0/0000:05:00.0/host3
.
.
.
생략
[root@TEST01 ~]# [root@TEST01 ~]#
# HOST HBA Card WWN 확인
[root@TEST01 ~]#
[root@TEST01 ~]# systool -c fc_host -v | grep node_name
node_name = "0x5001438024234b9d"
node_name = "0x5001438024234b9f"
node_name = "0x500143802422595d"
node_name = "0x500143802422595f"
.
.
.
생략
[root@TEST01 ~]#
[root@TEST01 ~]#
# SAN Joning WWPN 확인
[root@TEST01 ~]#
[root@nlogDB01 ~]# systool -c fc_host -v | grep "port_name"
port_name = "0x50014380186bf27c"
port_name = "0x50014380186bf27e"
port_name = "0x5001438021e3d6cc"
port_name = "0x5001438021e3d6ce"
.
.
.
생략
[root@TEST01 ~]# |