From owner-freebsd-questions@FreeBSD.ORG Tue May 25 18:03:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4A031065679 for ; Tue, 25 May 2010 18:03:12 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 17AFE8FC1A for ; Tue, 25 May 2010 18:03:11 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id o4PI39JF092682 for ; Tue, 25 May 2010 20:03:09 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id o4PI39YJ092681 for freebsd-questions@freebsd.org; Tue, 25 May 2010 20:03:09 +0200 (CEST) (envelope-from elon) Date: Tue, 25 May 2010 20:03:09 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-questions@freebsd.org Message-ID: <20100525180309.GK1023@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRokNccIwvMzawGl" Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: freeBSD nullfs together nfs and "silly rename" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 18:03:12 -0000 --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--