Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 16:45:57 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: File system error
Message-ID:  <200404011445.i31Ejvfo045066@lurza.secnetix.de>
In-Reply-To: <20040331234536.52721.qmail@web41408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
water B <waterb11@yahoo.com> 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



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