From owner-freebsd-questions Tue Sep 7 0:40:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id 1AA4115A8B for ; Tue, 7 Sep 1999 00:40:03 -0700 (PDT) (envelope-from williamsl@home.com) Received: from RELIABLE ([24.4.115.31]) by mail.rdc1.tn.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19990907073849.GWNX16271.mail.rdc1.tn.home.com@RELIABLE> for ; Tue, 7 Sep 1999 00:38:49 -0700 Date: Tue, 7 Sep 1999 03:32:59 -0400 From: Ben Williams X-Mailer: The Bat! (v1.34a) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <2147.990907@home.com> To: FreeBSD questions Subject: /var slice wierdness 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 I also have another box (a server) that is having some serious wierdness in the /var slice. This was only my second FreeBSD install and I went with the defaults for slice sizes which has been fine up until about a week ago when I noticed /var was nearly full, but a `du -x | sort -n` doesn't show me anything hoggging all my space up. Here is what I have: pentwo:/var# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0s1a 39647 27957 8519 77% / /dev/wd0s1f 2883558 849355 1803519 32% /usr /dev/wd0s1e 19815 17874 356 98% /var procfs 4 4 0 100% /proc but when I run a du from /var: pentwo:/var# du -x | sort -n 1 ./at/jobs 1 ./at/spool 1 ./cron/tabs 1 ./preserve 1 ./rwho 1 ./tmp/vi.recover 2 ./crash 2 ./msgs 2 ./tmp 3 ./at 4 ./mail 11 ./backups 19 ./yp 35 ./cron 51 ./run 58 ./log 190 . These results don't seem to match. What am I doing wrong here? I have gone through and SPACE_HOG_DIR="db ftp spool" mv $SPACE_HOG_DIR /usr/local/var/$SPACE_HOG_DIR && \ ln -s /usr/local/$SPACE_HOG_DIR /var/$SPACE_HOG_DIR` ( \ added for clarity ) These are not the "exact commands" I used .. I used the "mv ... && ln ..." individually for each dir in order of largest downwards. Did I play havoc with my fs by using mv on a dir with possibly live-and-being-accessed log file? TIA -- Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message