From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 15:10:41 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 283CB16A4D0 for ; Wed, 7 Jan 2004 15:10:41 -0800 (PST) Received: from mindtrip.entered.net (BSN-77-156-119.dsl.siol.net [193.77.156.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3F3243D5A for ; Wed, 7 Jan 2004 15:10:38 -0800 (PST) (envelope-from simon.zekar@literal.si) Received: from localhost (localhost [127.0.0.1]) by mindtrip.entered.net (Postfix) with ESMTP id A0BED6110 for ; Thu, 8 Jan 2004 00:10:36 +0100 (CET) Received: from mindtrip.entered.net ([127.0.0.1]) by localhost (mindtrip.entered.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 43114-08 for ; Thu, 8 Jan 2004 00:10:17 +0100 (CET) Received: from literal.si (ozone.entered.net [192.168.128.10]) by mindtrip.entered.net (Postfix) with ESMTP id 3438E60E7 for ; Thu, 8 Jan 2004 00:10:17 +0100 (CET) Message-ID: <3FFC91D9.2050609@literal.si> Date: Thu, 08 Jan 2004 00:10:17 +0100 From: =?ISO-8859-2?Q?Simon_=AEekar?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at entered.net Subject: 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 23:10:41 -0000 Hi, 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. `df -hi /var` Filesystem Size Used Avail Capacity iused ifree %iused Mounted /dev/twed0s1e 252M 78M 154M 33% 2388 30122 7% /var `du -d0 -h /var` 18M /var 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. 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. 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. The system is on 3Ware Escalade ATA RAID controller on RAID-1 array. What could be causing this ? Thanks, Simon.