From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 11:48:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3E2116A41F for ; Tue, 30 Aug 2005 11:48:15 +0000 (GMT) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6721E43D48 for ; Tue, 30 Aug 2005 11:48:14 +0000 (GMT) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (localhost [127.0.0.1]) by etustar.ze.tum.de (8.13.3/8.13.3) with ESMTP id j7UBmjbD072621; Tue, 30 Aug 2005 13:48:45 +0200 (CEST) (envelope-from estartu@etustar.ze.tum.de) Received: (from estartu@localhost) by etustar.ze.tum.de (8.13.3/8.13.3/Submit) id j7UBmjro072620; Tue, 30 Aug 2005 13:48:45 +0200 (CEST) (envelope-from estartu) Date: Tue, 30 Aug 2005 13:48:45 +0200 From: Gerhard Schmidt To: Frank de Bot Message-ID: <20050830114845.GA72574@augusta.de> References: <43144514.40005@searchy.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <43144514.40005@searchy.nl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: No free space add after removing large file 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, 30 Aug 2005 11:48:16 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 30, 2005 at 01:37:56PM +0200, Frank de Bot wrote: > Hi, >=20 > On my fs I had a file of 20gb. The free space on that fs was at that=20 > time around 1gb. But after removing the 20gb file, the freespace wasn't= =20 > added :-S ? > What has gone wrong and how can I 'reclaim' the free space? There could be a process which has an open filehandle to this file. The=20 file isn't deleted until all filehandles are closed.=20 Try to install /usr/ports/sysutils/lsof and look for the open handle. E.g. lsof | grep =20 Kill the process and the freespace should grow. If this doesn't work=20 or there is no open handle try do go to single user mode an force an=20 fsck on this fielsystem.=20 Bye Estartu =20 ---------------------------------------------------------------------------- Gerhard Schmidt | Nick : estartu IRC : Estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | EMail: estartu@augusta.de | on request Germany | | --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBQxRHmgzx22nOTJQRAQG0ggP/YWsDD5JgyUChKumvoJJJzPMnQVn+7P4t 1l/V/vP+rXJ/42/BAXnpZCkETKN2TKSzHko5zUMNZlwJXb74nzRDz/ngmKzZ1z83 CcbnkMJrSd+KwUXhAn+VttHJhPHaomh7plrAlhiElfGjxdFPBLmX50fzHPQfircs NBhfmzVFcxY= =2hU0 -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--