All of lore.kernel.org
 help / color / mirror / Atom feed
* mountpoint-crossing
@ 2009-12-13 21:39 J. Bruce Fields
  2009-12-13 22:33 ` mountpoint-crossing Trond Myklebust
  0 siblings, 1 reply; 7+ messages in thread
From: J. Bruce Fields @ 2009-12-13 21:39 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-nfs

On a recent kernel:

	# mount -tnfs4 pearlet1:/ /mnt/
	# find /mnt/
	/mnt/
	find: File system loop detected; `/mnt/DIR' is part of the same
	file system loop as `/mnt/'.

Here /mnt/DIR is a server-side mountpoint, hence has a different fsid
than /mnt/.  Wireshark confirms that the server is returning a different
fsid.  However, 'strace -v find /mnt/' shows stat returning
st_dev=makedev(0, 22) for both /mnt and /mnt/DIR.

If I then do a 'ls /mnt/DIR', followed by another find, the error goes
away, and this time an strace shows that stat is returning (0, 23) for
/mnt/DIR.

I don't see any obvious problem with the network trace, so it looks to
me like the client is failing to recognize the mountpoint when it
should?

--b.

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

end of thread, other threads:[~2009-12-14 16:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13 21:39 mountpoint-crossing J. Bruce Fields
2009-12-13 22:33 ` mountpoint-crossing Trond Myklebust
2009-12-14 13:38   ` mountpoint-crossing Jeff Layton
     [not found]     ` <20091214083843.5e6e73f5-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2009-12-14 15:24       ` mountpoint-crossing J. Bruce Fields
2009-12-14 15:52         ` mountpoint-crossing Jeff Layton
     [not found]           ` <20091214105214.64714867-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2009-12-14 16:04             ` mountpoint-crossing J. Bruce Fields
2009-12-14 16:44               ` mountpoint-crossing Jeff Layton

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.