Re: Query regarding NFS packet capture at application layer - umount operation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> wrote:
> 
> > > -----Original Message-----
> > > From: Bian Naimeng [mailto:biannm@xxxxxxxxxxxxxx]
> > > Sent: Tuesday, September 07, 2010 1:18 PM
> > > To: Tayade, Nilesh
> > > Cc: linux-nfs@xxxxxxxxxxxxxxx
> > > 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux