게시물 20건
 
[RHEL7] HBA card WWNN 알아보기
글쓴이 : theko 날짜 : 2019-09-16 (월) 09:58 조회 : 19
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