From owner-freebsd-questions Thu Dec 2 5:30:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id EF93114E4E for ; Thu, 2 Dec 1999 05:30:46 -0800 (PST) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.8.7/8.8.7) with ESMTP id IAA26787; Thu, 2 Dec 1999 08:28:49 -0500 (EST) (envelope-from shovey@buffnet.net) Date: Thu, 2 Dec 1999 08:28:49 -0500 (EST) From: Steve Hovey To: Wayne M Barnes Cc: questions@FreeBSD.ORG Subject: Re: 22 Mb hidden,wasted In-Reply-To: <199912020048.SAA92531@barnes1.wustl.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It looks to me like you have 22MB of files in the mail dir which is what DU would tell ya. If its known empty - and if at one time it had a bazzillion files in it it might be the directory size itself - just rmdir it, and remake it. On Wed, 1 Dec 1999, Wayne M Barnes wrote: > Dear FreeBSDers, > > 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? > > Wayne M. Barnes, Ph.D. wayne@barnes1.wustl.edu > Biochemistry Dept. 8231 > Washington Univ. Medical School 314.362.3351 fax 7183 > 660 South Euclid Ave., St. Louis, MO 63110 > http://barnes1.wustl.edu Just plain Taq is old tech anymore. > > APPENDIX: > > Script started on Wed Dec 1 18:35:41 1999 > root@barnes1:/drive2var>ls -laF > total 13 > drwxr-xr-x 12 root wheel 512 Dec 1 15:12 ./ > drwxr-xr-x 26 root wheel 1024 Nov 17 08:53 ../ > drwxr-xr-x 4 root wheel 512 Apr 15 1998 at/ > drwxr-x--- 2 root wheel 512 Feb 23 1999 backups/ > drwxr-x--- 3 root wheel 512 Feb 20 1999 cron/ > drwxrwxr-x 2 root wheel 512 Jul 14 1997 etc/ > drwxr-xr-x 8 root wheel 1536 Oct 1 1996 etcsave/ > drwxrwxr-x 2 root mail 1024 Dec 1 17:10 mail/ > drwxr-xr-x 2 daemon wheel 512 Apr 15 1998 msgs/ > drwxr-xr-x 2 root wheel 512 Feb 24 1999 run/ > drwxrwxr-x 2 root daemon 512 Oct 21 1997 rwho/ > drwxr-xr-x 2 root wheel 512 Feb 22 1999 yp/ > > 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 !!! > > root@barnes1:/drive2var>df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0s1a 64455 23847 35452 40% / > /dev/wd0s1f 2660974 1387697 1060400 57% /usr > /dev/wd0s1e 59519 11311 43447 21% /var > /dev/wd2s1a 31775 24761 4472 85% /drive2 > /dev/wd2s1f 6005438 4476317 1048686 81% /drive2usr > /dev/wd2s1e 29727 22246 5103 81% /drive2var > procfs 4 4 0 100% /proc > > root@barnes1:/drive2var>mount > /dev/wd0s1a on / (NFS exported, local, writes: sync 29172 async 327752) > /dev/wd0s1f on /usr (NFS exported, local, writes: sync 4479 async 401510) > /dev/wd0s1e on /var (NFS exported, local, writes: sync 29060 async 203122) > /dev/wd2s1a on /drive2 (NFS exported, local, writes: sync 2 async 144) > /dev/wd2s1f on /drive2usr (NFS exported, local, writes: sync 197822 async 476500) > /dev/wd2s1e on /drive2var (NFS exported, local, writes: sync 6190 async 16340) > procfs on /proc (local) > root@barnes1:/drive2var>exit > exit > > Script done on Wed Dec 1 18:36:03 1999 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message