Skip site navigation (1)Skip section navigation (2)
Date:      09 Jan 2004 14:15:29 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        =?iso-8859-15?q?Simon_=B4ekar?= <simon.zekar@literal.si>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: partition not freeing it's space after deleting files from it
Message-ID:  <44llohq6ge.fsf@be-well.ilk.org>
In-Reply-To: <3FFC91D9.2050609@literal.si>
References:  <3FFC91D9.2050609@literal.si>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon =B4ekar <simon.zekar@literal.si> writes:

> after quite some time of flawless working my FreeBSD 4.7 server's
> "/var" partition apeared full. I've examined used space which reveals
> that partition could not be full.
>=20
> `df -hi /var`
> Filesystem      Size   Used  Avail Capacity iused ifree %iused  Mounted
> /dev/twed0s1e   252M    78M   154M    33%    2388 30122    7%   /var
>=20
> `du -d0 -h /var`
> 18M    /var
>=20
> There were regular open files from syslog (fstat, lsof), since i
> thought that might be some reason of not releasing the space i've
> shoutdowned them all but nothing happened. Used space remained
> untouched.
>=20
> Even if I create some random file on this filesystem, the used size of
> partition grows, but after deletion of this file the size does never
> shrink.
>=20
> After reboot and fsck at boot the information about usage of partition
> are fixed, but endless growing exists, so i have to reboot server
> frequently to fix the filesystem's information.
>=20
> The system is on 3Ware Escalade ATA RAID controller on RAID-1 array.

Is the fsck needed on reboot?  That would be a hint...



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