Date: Tue, 30 Aug 2005 13:48:45 +0200 From: Gerhard Schmidt <estartu@augusta.de> To: Frank de Bot <freebsd@searchy.nl> Cc: freebsd-questions@freebsd.org Subject: Re: No free space add after removing large file Message-ID: <20050830114845.GA72574@augusta.de> In-Reply-To: <43144514.40005@searchy.nl>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Tue, Aug 30, 2005 at 01:37:56PM +0200, Frank de Bot wrote:
> Hi,
>
> On my fs I had a file of 20gb. The free space on that fs was at that
> time around 1gb. But after removing the 20gb file, the freespace wasn't
> 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
file isn't deleted until all filehandles are closed.
Try to install /usr/ports/sysutils/lsof and look for the open handle. E.g.
lsof | grep <filename>
Kill the process and the freespace should grow. If this doesn't work
or there is no open handle try do go to single user mode an force an
fsck on this fielsystem.
Bye
Estartu
----------------------------------------------------------------------------
Gerhard Schmidt | Nick : estartu IRC : Estartu |
Fischbachweg 3 | | PGP Public Key
86856 Hiltenfingen | EMail: estartu@augusta.de | on request
Germany | |
[-- Attachment #2 --]
-----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-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830114845.GA72574>
