Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2002 23:38:51 +0100
From:      Mark Huizer <freebsd@dohd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: not enough space
Message-ID:  <20020120223851.GA57621@eeyore.local.dohd.org>
In-Reply-To: <000d01c1a1fd$e1125f40$faa0b542@noc>
References:  <CMENKLIECOJCDGNFIDPFEEAHCCAA.tony@tntpro.com> <000d01c1a1fd$e1125f40$faa0b542@noc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 20, 2002 at 05:00:31PM -0500, alexus wrote:
> 

>> > allworld# pwd
>> > /
>> > allworld# df -h
>> > Filesystem    Size   Used  Avail Capacity  Mounted on
>> > /dev/da0s1a    32G    29G   1.2G    96%    /
>> > procfs        4.0K   4.0K     0B   100%    /proc
>> > usr
>> > allworld# du -hs bin boot  cdrom compat dev dist etc home mnt modules root
>> > sbin stand sys tmp usr var

[..snip..]
>> >
>> > how can it show that 29G is used if barly 2G is used in total, what am i
>> > missing?

>> > is your home directory truly totally empty?

> yeh

Hmm... ok, after some rewriting this is getting somewhere near readable.
OK, now for some answering.
Do you have file descriptors open to files you have deleted? Check with
ps if you have vi's, tail's, less's open for old files, or files rotated
long ago.
Check with fstat if that happens.
Files that are open when unlinked are not removed from the filesystem
until the last handle is closed, even though they don't show up in df
and du.

Check for daemons that use huge tempfiles (unnamed files)

If all else fails, try a reboot, that will make sure all files are
closed. See if you still miss 20Gb

Mark

-- 
Nice testing in little China...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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