From owner-freebsd-questions Fri Aug 6 15:21: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from edtnps04.telusplanet.net (edtnps04.telusplanet.net [198.161.157.104]) by hub.freebsd.org (Postfix) with ESMTP id AF7D61516F for ; Fri, 6 Aug 1999 15:20:53 -0700 (PDT) (envelope-from dan.lazin@su.ualberta.ca) Received: from edtn005266.hs.telusplanet.net ([161.184.156.186]:2262 "HELO dan") by smtp1.telusplanet.net with SMTP id <42980-26184>; Fri, 6 Aug 1999 16:19:44 -0600 Message-ID: <008801bee05a$32c36fe0$ba9cb8a1@dan> From: "Dan Lazin" To: Subject: /var is full, though it shouldn't be Date: Fri, 6 Aug 1999 16:22:41 -0600 Organization: The Gateway MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, all. I was running cat to squish together various apache log files so that they could be analyzed by by new log-analyzers, and /var ran out of disk space (my log files total around 8Mb, so when I took all of that and put it into a new file, I had 16Mb of logs, plus over 4Mb of other stuff). No problem. I deleted the new log, and told cat to build it over on / . Then / ran out of space (I'm not really with it today). So I tried /usr instead, and that worked fine. Then I noticed that this logfile was 16Mb, and had grabbed the biggest of the logfiles twice. So I tried to open it up in vi, but this seems to have been a bad idea. I got told that I had a full filesystem, and, once again, it was /var. But /var shouldn't be full. I ran 'ls -l -R' and I have nowhere near 20Mb of stuff. It's closer to 5Mb, since I've now moved all of my logfiles over to /usr/log and symlinked that to /var/log. What's eating up that space, and how do I rid myself of it? df sez: esther# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0s1a 39647 18477 17999 51% / /dev/wd0s1f 2852470 240264 2384009 9% /usr /dev/wd0s1e 19815 18699 -469 103% /var procfs 4 4 0 100% /proc Many thanks in advance. (note: I just tried to send this, and it's refusing to take it since /var is full, so I've had to use an account on another server. I want my mail service back!) Dan Lazin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message