본문 바로가기
IT/AIX

[AIX] HBA카드 WWN 및 정보 확인하기

by 양눈 2017. 1. 3.

 [AIX] HBA카드 WWN 정보 확인하기

1. 디바이스 조회

 

# lsdev -Cc adapter

cor0 Available 0A-00 GXT145 Graphics Adapter

ent0 Available Logical Host Ethernet Port (lp-hea)

ent1 Available Logical Host Ethernet Port (lp-hea)

ent2 Available Logical Host Ethernet Port (lp-hea)

ent3 Available Logical Host Ethernet Port (lp-hea)

ent4 Available EtherChannel / IEEE 802.3ad Link Aggregation

fcs0 Available 03-00 4Gb FC PCI Express Adapter (df1000fe)

fcs1 Available 03-01 4Gb FC PCI Express Adapter (df1000fe)

fcs2 Available 04-00 4Gb FC PCI Express Adapter (df1000fe)

fcs3 Available 04-01 4Gb FC PCI Express Adapter (df1000fe)

fcs4 Available 06-00 4Gb FC PCI Express Adapter (df1000fe)

fcs5 Available 06-01 4Gb FC PCI Express Adapter (df1000fe)

lhea0 Available Logical Host Ethernet Adapter (l-hea)

sissas0 Available 00-08 PCI-X266 Planar 3Gb SAS RAID Adapter

sissas1 Available 01-08 PCI-X266 Planar 3Gb SAS RAID Adapter

usbhc0 Available 02-08 USB Host Controller (33103500)

usbhc1 Available 02-09 USB Host Controller (33103500)

usbhc2 Available 02-0a USB Enhanced Host Controller (3310e000)

vsa0 Defined LPAR Virtual Serial Adapter

vsa1 Available LPAR Virtual Serial Adapter

vsa2 Available LPAR Virtual Serial Adapter

 

2. 링크상태 확인

# fcstat -D fcs0 | grep Attention

Attention Type: Link Up

 

#  fcstat -D fcs1 | grep Attention

Error opening device: /dev/fscsi1

errno: 00000005

 

# fcstat -D fcs2 | grep Attention

Attention Type: Link Up

 

# fcstat -D fcs3 | grep Attention

Error opening device: /dev/fscsi3

errno: 00000005

fcs0, fcs2 사용중인 포트임을 확인 있다.

 

3. WWN 확인

# fcstat fcs0

 

FIBRE CHANNEL STATISTICS REPORT: fcs0

Device Type: 4Gb FC PCI Express Adapter (df1000fe) (adapter/pciex/df1000fe)

Serial Number: 1B84204CD5

Option ROM Version: 02E8277F

ZA: Z1F2.70A5

World Wide Node Name: 0x20000000C980DBE8

World Wide Port Name: 0x10000000C980DBE8

FC-4 TYPES:

Supported: 0x0000012000000000000000000000000000000000000000000000000000000000

Active: 0x0000010000000000000000000000000000000000000000000000000000000000

Class of Service: 3

Port Speed (supported): 4 GBIT

Port Speed (running): 4 GBIT

Port FC ID: 0x000001

Port Type: Private Loop

Seconds Since Last Reset: 1219675

Transmit Statistics Receive Statistics

------------------- ------------------

Frames: 203978 407400

Words: 2862592 12623616

LIP Count: 1

NOS Count: 0

Error Frames: 0

Dumped Frames: 0

Link Failure Count: 0

Loss of Sync Count: 4

Loss of Signal: 0

Primitive Seq Protocol Error Count: 0

Invalid Tx Word Count: 7

Invalid CRC Count: 0

IP over FC Adapter Driver Information

No DMA Resource Count: 0

No Adapter Elements Count: 0

FC SCSI Adapter Driver Information

No DMA Resource Count: 0

No Adapter Elements Count: 0

No Command Resource Count: 0

IP over FC Traffic Statistics

Input Requests: 0

Output Requests: 0

Control Requests: 0

Input Bytes: 0

Output Bytes: 0

FC SCSI Traffic Statistics

Input Requests: 203340

Output Requests: 10

Control Requests: 51

Input Bytes: 51849495

Output Bytes: 252

 

위에서 보이는 World Wide Node Name World Wide Port Name 차이는 싱글 포트 HBA 경우는 WWNN WWPN이 동일하며 듀얼포트의 한 개의 WWNN 가지고 WWPN 다르다고 한다

 

 

4. 특정 PV 사용중인 패스 보기

 

# lspath -l hdisk6

Enabled hdisk6 fscsi0

Enabled hdisk6 fscsi0

Enabled hdisk6 fscsi2

Enabled hdisk6 fscsi2

 

5. 추가정보 확인

 

# lscfg -vl fcs0

fcs0 U78AB.001.WZSG050-P1-C3-T1 4Gb FC PCI Express Adapter (df1000fe)

Part Number.................10N7255

Serial Number...............1B84204CD5

Manufacturer................001B

EC Level....................D76626

Customer Card ID Number.....5774

FRU Number.................. 10N7255

Device Specific.(ZM)........3

Network Address.............10000000C980DBE8

ROS Level and ID............02E8277F

Device Specific.(Z0)........2057706D

Device Specific.(Z1)........00000000

Device Specific.(Z2)........00000000

Device Specific.(Z3)........03000909

Device Specific.(Z4)........FFE01212

Device Specific.(Z5)........02E8277F

Device Specific.(Z6)........06E12715

Device Specific.(Z7)........07E1277F

Device Specific.(Z8)........20000000C980DBE8

Device Specific.(Z9)........ZS2.71X15

Device Specific.(ZA)........Z1F2.70A5

Device Specific.(ZB)........Z2F2.71X15

Device Specific.(ZC)........00000000

Hardware Location Code......U78AB.001.WZSG050-P1-C3-T1

'IT > AIX' 카테고리의 다른 글

[AIX] NTP서버 설정방법  (0) 2016.12.31

댓글