All of lore.kernel.org
 help / color / mirror / Atom feed
* Query regarding NFS packet capture at application layer - umount operation.
@ 2010-09-06 12:33 Tayade, Nilesh
  2010-09-07  7:47 ` Bian Naimeng
  0 siblings, 1 reply; 7+ messages in thread
From: Tayade, Nilesh @ 2010-09-06 12:33 UTC (permalink / raw)
  To: linux-nfs

Hi,

I have a query related to NFS packet captured at application layer. I
have setup the NFS node on local system itself (just for test purpose). 
And capturing the packets for various events (mount, umount, file access
etc) on loop-back interface itself. However, in case of the umount
scenario, I do not see any NFS packet captured (I can only see three TCP
packets exchanged). 

Could someone please explain why there is no NFS packet observed during
an unmount? Also there seems not much information, related to NFS mount
point being unmounted, in TCP packet. So is there any way to detect the
unmount operation by hacking such packets?

The last TCP packet looks like:

Transmission Control Protocol, Src Port: 866 (866), Dst Port: 2049
(2049), Seq: 1, Ack: 1, Len: 0
Source port: 866 (866)
Destination port: 2049 (2049)
Sequence number: 1    (relative sequence number)
Acknowledgement number: 1    (relative ack number)
Header length: 32 bytes
Flags: 0x10 (ACK)
Checksum: 0xef2f [correct]
Options: (12 bytes)
This is an ACK to the segment in frame: 2
The RTT to ACK the segment was: 0.000017000 seconds

Please let me know in case the capture file is required.

--
Thanks,
Nilesh
[nilesh(dot)tayade(at)netscout(dot)com]


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Query regarding NFS packet capture at application layer - umount operation.
@ 2010-09-07  6:19 Tayade, Nilesh
  0 siblings, 0 replies; 7+ messages in thread
From: Tayade, Nilesh @ 2010-09-07  6:19 UTC (permalink / raw)
  To: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

> -----Original Message-----
> From: Tayade, Nilesh
> Sent: Monday, September 06, 2010 6:03 PM
> To: linux-nfs@vger.kernel.org
> Subject: Query regarding NFS packet capture at application layer -
> umount operation.
> 
> Hi,
> 
> I have a query related to NFS packet captured at application layer.
> I have setup the NFS node on local system itself (just for test
> purpose).
> And capturing the packets for various events (mount, umount, file
> access etc) on loop-back interface itself. However, in case of the
> umount scenario, I do not see any NFS packet captured (I can only
> see three TCP packets exchanged).
> 
> Could someone please explain why there is no NFS packet observed
> during an unmount? Also there seems not much information, related to
> NFS mount point being unmounted, in TCP packet. So is there any way
> to detect the unmount operation by hacking such packets?
> 
> The last TCP packet looks like:
> 
> Transmission Control Protocol, Src Port: 866 (866), Dst Port: 2049
> (2049), Seq: 1, Ack: 1, Len: 0
> Source port: 866 (866)
> Destination port: 2049 (2049)
> Sequence number: 1    (relative sequence number)
> Acknowledgement number: 1    (relative ack number)
> Header length: 32 bytes
> Flags: 0x10 (ACK)
> Checksum: 0xef2f [correct]
> Options: (12 bytes)
> This is an ACK to the segment in frame: 2
> The RTT to ACK the segment was: 0.000017000 seconds
> 
> Please let me know in case the capture file is required.

Attached is the capture file obtained using tshark, in case required.
Also the NFS protocol version here is NFSv3.

> --
> Thanks,
> Nilesh
> [nilesh(dot)tayade(at)netscout(dot)com]


[-- Attachment #2: nfs_unmount --]
[-- Type: application/octet-stream, Size: 270 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-08  5:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-06 12:33 Query regarding NFS packet capture at application layer - umount operation Tayade, Nilesh
2010-09-07  7:47 ` Bian Naimeng
2010-09-07  8:02   ` Tayade, Nilesh
2010-09-07 17:19     ` Jeff Layton
2010-09-07 17:31       ` J. Bruce Fields
2010-09-08  5:34         ` Tayade, Nilesh
  -- strict thread matches above, loose matches on Subject: below --
2010-09-07  6:19 Tayade, Nilesh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.