From owner-freebsd-questions Thu Oct 4 4:47:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 42F4337B406 for ; Thu, 4 Oct 2001 04:47:06 -0700 (PDT) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id NAA95072; Thu, 4 Oct 2001 13:46:41 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "David Oleszkiewicz" , Subject: RE: /var filling up Date: Thu, 4 Oct 2001 13:49:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20011002195847.M13152-100000@labrador.dhs.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal 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 David, Greg Lehey's fine book suggests symlink-ing /var, as suggested also by Zach. The last 10 or 15 boxes I have set up have no /var partition, just / (128M), swap (xxxM), and /usr (the rest of the first disk). Immediately after installation I do this: # mkdir /usr/var # cd /var # tar cf - . | (cd /usr/var; tar xf -) # ls -al /usr/var # Just to be sure it happened! # cd / # rm -rf /var # ln -s /usr/var /var I do the same with /tmp, then: # shutdown -r now so that the box can come up clean with the new /var . This procedure has NEVER given me trouble, and it saves worrying about a small /var partition. Thanks to Greg's instructions :) Patrick. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Oleszkiewicz Sent: 03 October 2001 05:02 To: freebsd-questions@FreeBSD.ORG Subject: /var filling up so after about a week and a half of firewall messages and normal logging messages, my /var fills up. i scan through all the logrotated .gz files for anything interesting and then i remove them. the thing is the /bin/df output shows that /var is still above 100%. This means i can't send or receive mail or anything interesting like that. i reboot and then everything is ok. /var is it's own slice with like 20M FreeBSD 4.3 Has anyone else seen this problem 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