Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 08:40:28 +0200
From:      "Heiko Wundram (Beenic)" <wundram@beenic.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: bonnie++ aborts on NFS volume
Message-ID:  <200707170840.28332.wundram@beenic.net>
In-Reply-To: <20070717060948.GA3622@schottelius.org>
References:  <20070717060948.GA3622@schottelius.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 17 July 2007 08:09:48 Nico -telmich- Schottelius wrote:
> Anyone an idea why it aborts and how to fix?

An idea why it aborts _could_ be the fact that the Linux (kernel) NFS-serve=
r=20
(there's also a userland NFS server, but that's not widely used, so I presu=
me=20
this isn't the case for you) doesn't unlink files that are unlinked from=20
remote immediately, but moves them to a temporary (.nfs<someid>) name befor=
e=20
finally truly unlinking them in case the file is still referenced by some N=
=46S=20
handle (i.e., opened at the remote end), thus causing the directory to not =
be=20
empty, even though all files in it have actually been unlinked from the=20
remote end.

I don't know whether some performance/caching issues cause this, but as the=
=20
temporary (seemingly) disappeared when bonnie++ was closed (and thus all fi=
le=20
descriptors of bonnie among with any cache the OS kept freed), I'd guess in=
=20
this direction.

Again, this is just a wild guess, and I've never had problems running bonni=
e++=20
on a Linux Kernel-NFS-server exported filesystem, but from Linux NFS-client=
s,=20
that is, which might (or rather, will probably) behave differently.

=2D-=20
Heiko Wundram
Product & Application Development
=2D------------------------------------
Office Germany - EXPO PARK HANNOVER
=20
Beenic Networks GmbH
Mail=E4nder Stra=DFe 2
30539 Hannover
=20
=46on        +49 511 / 590 935 - 15
=46ax        +49 511 / 590 935 - 29
Mail       wundram@beenic.net


Beenic Networks GmbH
=2D------------------------------------
Sitz der Gesellschaft: Hannover
Gesch=E4ftsf=FChrer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover



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