From owner-freebsd-stable@FreeBSD.ORG Thu Apr 1 06:46:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACAC516A4CE for ; Thu, 1 Apr 2004 06:46:00 -0800 (PST) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE13643D1F for ; Thu, 1 Apr 2004 06:45:59 -0800 (PST) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (bapqbq@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.9p2/8.12.9) with ESMTP id i31EjvNa045067 for ; Thu, 1 Apr 2004 16:45:57 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.9p2/8.12.9/Submit) id i31Ejvfo045066; Thu, 1 Apr 2004 16:45:57 +0200 (CEST) (envelope-from olli) Date: Thu, 1 Apr 2004 16:45:57 +0200 (CEST) Message-Id: <200404011445.i31Ejvfo045066@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20040331234536.52721.qmail@web41408.mail.yahoo.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.9-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: File system error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 14:46:00 -0000 water B wrote: > I got a little problem with /usr partition > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 288M 72M 193M 27% / > /dev/da0s1f 15G 13G 535M 96% /usr > /dev/da0s1e 288M 97M 168M 37% /var > procfs 4.0K 4.0K 0B 100% /proc > # du -h /usr > ... > 6.4G /usr > I have deleted some files but it does not restore the used disk. > Does anybody have an idea? That happens if there are processes that still hold the files open which you deleted. As long as a process is accessing the file data, the space is not reclaimed by the file system. Find the process (or processes) and kill it (or them). /usr/bin/fstat (or lsof from the ports collection) might be helpful. If you prefer a windows solution, you can also simply reboot. ;-) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal