For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
Highlighted
rsl
New Contributor
Posts: 2
Registered: ‎03-15-2018
Accepted Solution

Tracing FC frame traffic

Dear all,

 

I have a storage port which is zoned to many host ports. By design, this port is a standby path and it should not have any IO going through unless there is a failover scenario. I do have a few of these other standby storage paths but i am only seeing IO on one of the standby storage paths.

 

What I'd like to achieve is to find which host/pid is sending the IO/frame to the storage port. Any help or advice on how to perform this trace is greatly appreciated.

  

 

> portperfshow 14 -tx -rx
14
TX RX
===============
1.4k 1.5k <--  How do I find out which PID is the sender or receiver of this traffic
14
TX RX
===============
0 0

TX RX
===============
0 0

 

> portlogdump 14

time task event port cmd args
-------------------------------------------------
Thu Mar 15 22:13:41 2018
22:13:41.561 FCPH read 0 40 02fffffd,00fffffd,ca000000,00000000,198a10ce
22:13:41.561 FCPH seq 0 28 22380000,198a10ce,000004b9,0000001c,00000000
22:13:52.192 FCPH write 0 40 00fffffd,00fffffd,00000000,00000000,00000000
22:13:52.192 FCPH seq 0 28 00300000,00000000,0000056d,00020182,00000000
22:13:52.193 PORT Tx 0 40 02fffffd,00fffffd,10bdffff,14000000
22:13:52.193 PORT Rx 0 0 c0fffffd,00fffffd,10bd198c,00000001
22:14:01.297 PORT Rx 0 204 02fffcc8,00fffc20,39b0ffff,01000000
22:14:01.298 PORT Tx 0 0 c0fffc20,00fffcc8,39b010cc,00000001
22:14:01.303 FCPH read 0 204 02fffcc8,00fffc20,98000000,00000000,39b010cc
22:14:01.303 FCPH seq 0 cc 20380000,39b010cc,000004f1,0000001c,00000000
22:14:01.582 PORT Rx 0 40 02fffffd,00fffffd,198effff,14000000
22:14:01.582 PORT Tx 0 0 c0fffffd,00fffffd,198e10cd,00000001
22:14:01.582 FCPH read 0 40 02fffffd,00fffffd,cc000000,00000000,198e10cd
22:14:01.582 FCPH seq 0 28 22380000,198e10cd,000004b9,0000001c,00000000

 

> version
Kernel: 2.6.14.2
Fabric OS: v7.4.2a
Made on: Fri Jun 30 00:22:16 2017
Flash: Sat Jan 13 02:57:21 2018
BootProm: 1.0.11

Regular Contributor
Posts: 166
Registered: ‎02-05-2014

Re: Tracing FC frame traffic

Create a flow monitor in learning mode and see which FCID's are being picked upon that port.

 

the portlogdump is not logging initiator-to-target traffic and only a subset of the different FC commands are logged. FCP is not one of them.

Kind regards,
Erwin van Londen
Brocade Distinguished Architect
http://www.erwinvanlonden.net The Fibre Channel blog



Q&A -> https://hackhands.com/elo/


-------

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.