{"id":869,"date":"2015-04-27T08:33:44","date_gmt":"2015-04-27T15:33:44","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=869"},"modified":"2015-04-27T08:33:44","modified_gmt":"2015-04-27T15:33:44","slug":"solaris-information-on-wwn","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/solaris-information-on-wwn\/","title":{"rendered":"Solaris Information On WWN"},"content":{"rendered":"
Recently I had some messages on a T5-2 hypervisor and I needed to find out exactly what it is complaining about.<\/p>\n
Messages looked like this:<\/p>\n
\r\nfctl: [ID 517869 kern.warning] WARNING: fp(5)::GPN_ID for D_ID=160003 failed\r\nfctl: [ID 517869 kern.warning] WARNING: fp(5)::N_x Port with D_ID=160003, PWWN=23220002ac0012b4 disappeared from fabric\r\nfctl: [ID 517869 kern.warning] WARNING: fp(6)::GPN_ID for D_ID=c0001 failed\r\nfctl: [ID 517869 kern.warning] WARNING: fp(6)::N_x Port with D_ID=c0001, PWWN=23210002ac0012b4 disappeared from fabric\r\nfctl: [ID 517869 kern.warning] WARNING: fp(6)::N_x Port with D_ID=c0001, PWWN=23210002ac0012b4 reappeared in fabric\r\nfctl: [ID 517869 kern.warning] WARNING: fp(5)::N_x Port with D_ID=160003, PWWN=23220002ac0012b4 reappeared in fabric\r\n<\/pre>\nFirst let's check the adapters and ports.<\/p>\n
\r\n# fcinfo hba-port\r\nHBA Port WWN: 21000024ff4e2a9c\r\n Port Mode: Initiator\r\n Port ID: 210600\r\n OS Device Name: \/dev\/cfg\/c4\r\n Manufacturer: QLogic Corp.\r\n Model: 371-4325-02\r\n Firmware Version: 5.08.00\r\n FCode\/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;\r\n Serial Number: 0402T00-1315130088\r\n Driver Name: qlc\r\n Driver Version: 20131114-4.03\r\n Type: N-port\r\n State: online\r\n Supported Speeds: 2Gb 4Gb 8Gb\r\n Current Speed: 8Gb\r\n Node WWN: 20000024ff4e2a9c\r\n Max NPIV Ports: 255\r\n NPIV port list:\r\nHBA Port WWN: 21000024ff4e2a9d\r\n Port Mode: Initiator\r\n Port ID: 0\r\n OS Device Name: \/dev\/cfg\/c5\r\n Manufacturer: QLogic Corp.\r\n Model: 371-4325-02\r\n Firmware Version: 5.08.00\r\n FCode\/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;\r\n Serial Number: 0402T00-1315130088\r\n Driver Name: qlc\r\n Driver Version: 20131114-4.03\r\n Type: unknown\r\n State: offline\r\n Supported Speeds: 2Gb 4Gb 8Gb\r\n Current Speed: not established\r\n Node WWN: 20000024ff4e2a9d\r\n Max NPIV Ports: 255\r\n NPIV port list:\r\nHBA Port WWN: 21000024ff4e29d6\r\n Port Mode: Initiator\r\n Port ID: 660700\r\n OS Device Name: \/dev\/cfg\/c6\r\n Manufacturer: QLogic Corp.\r\n Model: 371-4325-02\r\n Firmware Version: 5.08.00\r\n FCode\/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;\r\n Serial Number: 0402T00-1315129988\r\n Driver Name: qlc\r\n Driver Version: 20131114-4.03\r\n Type: N-port\r\n State: online\r\n Supported Speeds: 2Gb 4Gb 8Gb\r\n Current Speed: 8Gb\r\n Node WWN: 20000024ff4e29d6\r\n Max NPIV Ports: 255\r\n NPIV port list:\r\nHBA Port WWN: 21000024ff4e29d7\r\n Port Mode: Initiator\r\n Port ID: 0\r\n OS Device Name: \/dev\/cfg\/c7\r\n Manufacturer: QLogic Corp.\r\n Model: 371-4325-02\r\n Firmware Version: 5.08.00\r\n FCode\/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;\r\n Serial Number: 0402T00-1315129988\r\n Driver Name: qlc\r\n Driver Version: 20131114-4.03\r\n Type: unknown\r\n State: offline\r\n Supported Speeds: 2Gb 4Gb 8Gb\r\n Current Speed: not established\r\n Node WWN: 20000024ff4e29d7\r\n Max NPIV Ports: 255\r\n NPIV port list:\r\n<\/pre>\nLet's check which ports are connected.<\/p>\n
\r\n# luxadm -e port\r\n\/devices\/pci@340\/pci@1\/pci@0\/pci@4\/SUNW,qlc@0\/fp@0,0:devctl CONNECTED\r\n\/devices\/pci@340\/pci@1\/pci@0\/pci@5\/SUNW,qlc@0\/fp@0,0:devctl CONNECTED\r\n\/devices\/pci@340\/pci@1\/pci@0\/pci@4\/SUNW,qlc@0,1\/fp@0,0:devctl NOT CONNECTED\r\n\/devices\/pci@340\/pci@1\/pci@0\/pci@5\/SUNW,qlc@0,1\/fp@0,0:devctl NOT CONNECTED\r\n<\/pre>\nNow let's find devices on the above two connected ports. You should be able to see the original warning WWN's listed here.<\/p>\n
\r\n# luxadm -e dump_map \/devices\/pci@340\/pci@1\/pci@0\/pci@4\/SUNW,qlc@0\/fp@0,0:devctl\r\nPos Port_ID Hard_Addr Port WWN Node WWN Type\r\n0 160000 0 20220002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n1 160001 0 21220002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n2 160002 0 22220002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n3 160003 0 23220002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\t<-- Messages show this one\r\n4 210900 0 21000024ff57d60d 20000024ff57d60d 0x0 (Disk device)\r\n5 210a00 0 21000024ff57d64d 20000024ff57d64d 0x0 (Disk device)\r\n6 210b00 0 21000024ff57d649 20000024ff57d649 0x0 (Disk device)\r\n7 210c00 0 21000024ff57d60b 20000024ff57d60b 0x0 (Disk device)\r\n8 210600 0 21000024ff4e2a9c 20000024ff4e2a9c 0x1f (Unknown Type,Host Bus Adapter)\r\n\r\n# luxadm -e dump_map \/devices\/pci@340\/pci@1\/pci@0\/pci@5\/SUNW,qlc@0\/fp@0,0:devctl\r\nPos Port_ID Hard_Addr Port WWN Node WWN Type\r\n0 c0001 0 23210002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\t<-- Messages show this one\r\n1 c0002 0 22210002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n2 c0003 0 21210002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n3 c0004 0 20210002ac0012b4 2ff70002ac0012b4 0x0 (Disk device)\r\n4 660000 0 21000024ff57d64c 20000024ff57d64c 0x0 (Disk device)\r\n5 660100 0 21000024ff57d60a 20000024ff57d60a 0x0 (Disk device)\r\n6 660200 0 21000024ff57d648 20000024ff57d648 0x0 (Disk device)\r\n7 660a00 0 21000024ff57d60c 20000024ff57d60c 0x0 (Disk device)\r\n8 660700 0 21000024ff4e29d6 20000024ff4e29d6 0x1f (Unknown Type,Host Bus Adapter)\r\n<\/pre>\nYou can try and see if the device is listed here. In my case it was not so it appears that we are not using this device but maybe the switch still have us zoned for the device.<\/p>\n
\r\n# luxadm probe\r\nNo Network Array enclosures found in \/dev\/es\r\n\r\nFound Fibre Channel device(s):\r\n Node WWN:20000024ff57d64d Device Type:Disk device\r\n Logical Path:\/dev\/rdsk\/c0t600144F086479F15000053DA5A03000Ad0s2\r\n[..]\r\n\r\n# luxadm probe | grep 2ac0012b4 <-- Not found so remote?\r\n<\/pre>\nWe probably did not need all steps above to get to the next command but I am listing everything since it depends on the situation and what you are tracing.<\/p>\n
Here I can see the relevant WWN is a 3PAR SAN and in my case I knew I am not using 3PAR any longer so I can check if this is a zoning issue.<\/p>\n
\r\n# fcinfo remote-port -ls -p 21000024ff4e29d6\r\nRemote Port WWN: 20210002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 0:2:1 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 12\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 48\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses0\r\nRemote Port WWN: 21210002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 1:2:1 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 6\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 32\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses1\r\nRemote Port WWN: 22210002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 2:2:1 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 0\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 16\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses2\r\nRemote Port WWN: 23210002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 3:2:1 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 0\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 16\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses3\r\n[..]\r\n\r\n# fcinfo remote-port -ls -p 21000024ff4e2a9c\r\nRemote Port WWN: 20220002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 0:2:2 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 6\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 32\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses4\r\nRemote Port WWN: 21220002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 1:2:2 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 0\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 16\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses5\r\nRemote Port WWN: 22220002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 2:2:2 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 0\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 16\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses6\r\nRemote Port WWN: 23220002ac0012b4\r\n Active FC4 Types: SCSI\r\n SCSI Target: yes\r\n Port Symbolic Name: 1404788 - 3:2:2 - LPe12004\r\n Node WWN: 2ff70002ac0012b4\r\n Link Error Statistics:\r\n Link Failure Count: 0\r\n Loss of Sync Count: 0\r\n Loss of Signal Count: 0\r\n Primitive Seq Protocol Error Count: 0\r\n Invalid Tx Word Count: 16\r\n Invalid CRC Count: 0\r\n LUN: 254\r\n Vendor: 3PARdata\r\n Product: SES\r\n OS Device Name: \/dev\/es\/ses7\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Recently I had some messages on a T5-2 hypervisor and I needed to find out exactly what it is complaining<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-869","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/869\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}