Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2010 16:44:43 +0200
From:      Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de>
To:        freebsd-stable@freebsd.org
Subject:   freeBSD nullfs together with nfs and "silly rename"
Message-ID:  <20100606144443.GA50876@emmi.physik-pool.tu-berlin.de>

next in thread | raw e-mail | index | archive | help

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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=20
# tail -f foo&=20
# rm -f foo=20
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).

TIA,
Leon

[1] http://nfs.sourceforge.net/#faq_d2
[2] http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nfsc=
lient/nfsnode.h,v rev:1.32.2.1

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkwLtFsACgkQJCh4HSRvNnxT4wCfZ9DBwVjHfLuXqR3UPkmrtBRH
QVEAn3AftWuZnrZJZxGcIkdcNf2xYAjl
=DMgV
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100606144443.GA50876>