From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 11:15:36 2004 Return-Path: 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 2621616A4D8 for ; Fri, 9 Jan 2004 11:15:36 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD7F043D2D for ; Fri, 9 Jan 2004 11:15:34 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.200.37]) by comcast.net (sccrmhc13) with ESMTP id <2004010919153001600qp553e>; Fri, 9 Jan 2004 19:15:34 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 22FA63A; Fri, 9 Jan 2004 14:15:30 -0500 (EST) Sender: lowell@be-well.ilk.org To: =?iso-8859-15?q?Simon_=B4ekar?= References: <3FFC91D9.2050609@literal.si> From: Lowell Gilbert Date: 09 Jan 2004 14:15:29 -0500 In-Reply-To: <3FFC91D9.2050609@literal.si> Message-ID: <44llohq6ge.fsf@be-well.ilk.org> Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable cc: freebsd-questions@freebsd.org Subject: Re: partition not freeing it's space after deleting files from it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 19:15:36 -0000 Simon =B4ekar 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...