From owner-freebsd-questions Thu Dec 2 8:20:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.wirehub.nl (smtp.wirehub.nl [195.86.25.80]) by hub.freebsd.org (Postfix) with ESMTP id 0CA2714D27 for ; Thu, 2 Dec 1999 08:20:34 -0800 (PST) (envelope-from Ben.Grimm@wirehub.net) Received: from ben.wirehub.nl (ben.wirehub.nl [195.86.25.13]) by smtp.wirehub.nl (8.9.3/8.9.3) with SMTP id RAA05441 for ; Thu, 2 Dec 1999 17:17:49 +0100 (CET) From: "Ben C. O. Grimm" To: questions@FreeBSD.ORG Subject: Re: 22 Mb hidden,wasted Date: Thu, 02 Dec 1999 17:17:47 +0100 Organization: Wirehub! Internet Engineering Message-ID: <1i6d4sojn28hm4tot5eap0lpnu0r99f3ao@smtp.wirehub.nl> References: <199912020048.SAA92531@barnes1.wustl.edu.newsgate.clinet.fi> In-Reply-To: <199912020048.SAA92531@barnes1.wustl.edu.newsgate.clinet.fi> X-Mailer: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2 Dec 1999 02:44:26 +0200, Wayne M Barnes wrote: > One of my partitions (the one where I collect mail) just filled > up accidentally (and I lost 2 days worth of email, somehow). > This partition was little-used, I thought, but when this happened > I found that a directory listing shows 22246 bytes in the root of > this partition, with no files or anything that I can delete. > I have deleted 5 Mb of stuff to get by with until I solve this problem. > How did this space get taken up, and how can I reclaim it? > root@barnes1:/drive2var>du > 1 ./at/jobs > 1 ./at/spool > 3 ./at > 15 ./backups > 2 ./cron/tabs > 31 ./cron > 21719 ./mail > 2 ./msgs > 52 ./run > 1 ./rwho > 19 ./yp > 17 ./etcsave/uucp > 2 ./etcsave/gnats > 1 ./etcsave/kerberosIV > 15 ./etcsave/mtree > 7 ./etcsave/namedb > 12 ./etcsave/ppp > 402 ./etcsave > 1 ./etc > 22246 . <--- *** THIS IS MY PROBLEM !!! I don't see the problem. This is the summed total of the files right above it, which are files residing in the current directory (a.k.a. "."). As you can see, this total corresponds exactly with df -k's 'Used' field: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd2s1e 29727 22246 5103 81% /drive2var So you're not experiencing 'invisible bytes eating up your disk space'. You just have lots of mail on this partition ... -- - Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net - - Wirehub! Internet Engineering - http://www.wirehub.net/ - - Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ - - Private Ponderings ------- http://libertas.wirehub.net/ - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message