From: "J. Bruce Fields" <bfields@fieldses.org>
To: Jeff Layton <jlayton@redhat.com>
Cc: "Tayade, Nilesh" <Nilesh.Tayade@netscout.com>,
Bian Naimeng <biannm@cn.fujitsu.com>,
linux-nfs@vger.kernel.org
Subject: Re: Query regarding NFS packet capture at application layer - umount operation.
Date: Tue, 7 Sep 2010 13:31:18 -0400 [thread overview]
Message-ID: <20100907173118.GC13022@fieldses.org> (raw)
In-Reply-To: <20100907131902.3f22b411@tlielax.poochiereds.net>
On Tue, Sep 07, 2010 at 01:19:02PM -0400, Jeff Layton wrote:
> On Tue, 7 Sep 2010 04:02:29 -0400
> "Tayade, Nilesh" <Nilesh.Tayade@netscout.com> wrote:
>
> > > -----Original Message-----
> > > From: Bian Naimeng [mailto:biannm@cn.fujitsu.com]
> > > Sent: Tuesday, September 07, 2010 1:18 PM
> > > To: Tayade, Nilesh
> > > Cc: linux-nfs@vger.kernel.org
> > > Subject: Re: Query regarding NFS packet capture at application layer
> > > - umount operation.
> > >
> >
> >
> > > > 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?
> > > >
> > >
> > > I guess you used NFSv4. NFSv4 umount operation does not send any
> > > NFS packet.
> > > The TCP packets you captured were sent by TCP close procedure,
> > > because NFS
> > > umount operation need close the TCP connection with NFS server.
> >
> > I am using NFSv3. (Sorry, I forgot to mention it in first email - so I
> > have replied to my original email with capture file).
> >
>
> I'm fairly sure that's still handled by the userspace piece. Do you
> have a /sbin/umount.nfs? If not, that may be why.
Or if you're only capturing traffic to port 2049, that would also
explain why you don't see anything. (NFSv2/v3 mount/umount use
different protocol.)
--b.
next prev parent reply other threads:[~2010-09-07 17:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2010-09-08 5:34 ` Tayade, Nilesh
-- strict thread matches above, loose matches on Subject: below --
2010-09-07 6:19 Tayade, Nilesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100907173118.GC13022@fieldses.org \
--to=bfields@fieldses.org \
--cc=Nilesh.Tayade@netscout.com \
--cc=biannm@cn.fujitsu.com \
--cc=jlayton@redhat.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox