From owner-freebsd-questions Sun Jun 10 23:20: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id D689137B405 for ; Sun, 10 Jun 2001 23:19:57 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id IAA20580; Mon, 11 Jun 2001 08:28:00 +0200 Message-ID: <3B246394.F42ED62F@i-clue.de> Date: Mon, 11 Jun 2001 08:22:12 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: Dariusz Kowalski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with free space on harddisk References: <20010610182806.A17807@dreamnet.waw.pl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dariusz Kowalski schrieb: > > I have problem with free space on disk drive. > Some days ago, I configured program, and it produce > 1,3GB log file. > > df -h command shown me that there is 108% used on root partition. > How does it possible? A configurable amount of disk space is set aside for root's use only. It seems the offending log file was written with root permissions. > When I deleted that log file, df command still shown > me 108% of usage. When I reboot computer, > everything come back to right situation. > Is any way to avoid rebooting computer? > > PS. I using FreeBSD 4.0 RELEASE Manually rotate the log file: [optional] Copy the offending file to a safe place cat /dev/null > offending.log Some applications need to be told to re-open their logfiles after that. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message