°Ô½Ã¹° 20°Ç
 
[RHEL7] HBA card WWNN ¾Ë¾Æº¸±â
±Û¾´ÀÌ : theko ³¯Â¥ : 2019-09-16 (¿ù) 09:58 Á¶È¸ : 2701
lrwxrwxrwx 1 root root 0 Oct 26 17:10 host2 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host2
lrwxrwxrwx 1 root root 0 Oct 26 17:10 host3 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host3
lrwxrwxrwx 1 root root 0 Oct 26 17:10 host4 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.0/host2/fc_host/host4

#ls -lrt /sys/class/fc_transport/

drwxr-xr-x  2 root root 0 May 27 09:40 target7:0:2
drwxr-xr-x  2 root root 0 May 27 09:40 target7:0:1
drwxr-xr-x  2 root root 0 May 27 09:40 target7:0:0
drwxr-xr-x  2 root root 0 May 27 09:40 target5:0:2
drwxr-xr-x  2 root root 0 May 27 09:40 target5:0:1
drwxr-xr-x  2 root root 0 May 27 09:40 target5:0:0


# cat /sys/class/fc_host/host?/port_name

0x500143802426baf2
0x500143802426baf3
0x500143802426baf4
0x500143802426baf5

# cat /sys/class/fc_host/host1/node_name
0x500143802426baf2


# yum install sysfsutils

# systool -c fc_host -v | grep port_name
    port_name           = "0x500143802426baf2"
    port_name           = "0x500143802426baf3"
    port_name           = "0x500143802426baf4"
    port_name           = "0x500143802426baf5"


# systool -c fc_host -v | grep port_state
    port_state          = "Online"
    port_state          = "Online"
    port_state          = "Online"
    port_state          = "Online"


#systool -c fc_transport -v

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com