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. -- Jeff Layton <jlayton@xxxxxxxxxx> -- 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