From owner-freebsd-questions Sun Jan 20 14:39: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nala.dohd.org (a29150.upc-a.chello.nl [62.163.29.150]) by hub.freebsd.org (Postfix) with ESMTP id 0B37D37B400 for ; Sun, 20 Jan 2002 14:38:58 -0800 (PST) Received: by nala.dohd.org (Postfix, from userid 1008) id 99EDCDB02; Sun, 20 Jan 2002 23:38:51 +0100 (MET) Date: Sun, 20 Jan 2002 23:38:51 +0100 From: Mark Huizer To: freebsd-questions@freebsd.org Subject: Re: not enough space Message-ID: <20020120223851.GA57621@eeyore.local.dohd.org> References: <000d01c1a1fd$e1125f40$faa0b542@noc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c1a1fd$e1125f40$faa0b542@noc> User-Agent: Mutt/1.3.24i 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 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