freeBSD nullfs together nfs and "silly rename"

Leon Meßner l.messner at
Wed Jun 2 11:50:36 UTC 2010

I hope this is not the wrong list to ask. Didn't get any answers on

When you try to do the following inside a nullfs mounted directory,
where the nullfs origin is itself mounted via 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 (producing nasty little .nfsXXXX files).


[2],v rev:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list