Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2010 20:03:09 +0200
From:      Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de>
To:        freebsd-questions@freebsd.org
Subject:   freeBSD nullfs together nfs and "silly rename"
Message-ID:  <20100525180309.GK1023@emmi.physik-pool.tu-berlin.de>

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

--wRokNccIwvMzawGl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=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.

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/nfsc=
lient/nfsnode.h,v rev:1.32.2.1

--wRokNccIwvMzawGl
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkv8EN0ACgkQJCh4HSRvNnz1EwCdHZWTllMOi8ZvMmik38VM/X7v
0X8AniBnMfc+Jt4ZW+LFC3e3KrfXwOSR
=/GLk
-----END PGP SIGNATURE-----

--wRokNccIwvMzawGl--



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