freeBSD nullfs together nfs and "silly rename"

Leon Meßner l.messner at physik.tu-berlin.de
Tue May 25 18:03:12 UTC 2010


Hi,

when you try to do the following inside a nullfs mounted directory,
where the nullfs origin is itself mounted with nfs you get an error:

# foo 
# tail -f foo& 
# rm -f foo 
tail: foo: Stale NFS file handle
# fg


This is really a problem when running services inside jails and using
NFS as storage. As of [2] it looks like this problem is known for a
while. On a normal NFS mount this does not happen as "silly renaming"
[1] works there.

As freeBSD is getting towards NFSv4 perhaps this would be a solution but
i actually would'nt want to use these in production.
Is there a fix or anything ?


[1] http://nfs.sourceforge.net/#faq_d2
[2] http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nfsclient/nfsnode.h,v rev:1.32.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100525/d3d1674e/attachment.pgp


More information about the freebsd-questions mailing list