From owner-freebsd-questions Fri Jan 18 10: 4: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.velosystems.net (cx144844-b.pv1.ca.home.com [24.9.137.174]) by hub.freebsd.org (Postfix) with ESMTP id 0079037B404 for ; Fri, 18 Jan 2002 10:04:03 -0800 (PST) Received: from velosystems.net (jeeves [192.168.1.6]) by mail.velosystems.net (Postfix) with SMTP id 22EDA5078F; Fri, 18 Jan 2002 10:04:00 -0800 (PST) Date: Fri, 18 Jan 2002 10:03:59 -0800 From: Steve Wingate To: "Tim Erlin" Cc: s9810048@mmu.edu.my, freebsd-questions@FreeBSD.org Subject: Re: /var full.. how solve it? Message-Id: <20020118100359.16bf93ba.steve@velosystems.net> In-Reply-To: <20020118172302.98161.qmail@web11708.mail.yahoo.com> References: <3089.10.100.98.21.1011370910.squirrel@10.100.3.5> <20020118172302.98161.qmail@web11708.mail.yahoo.com> Organization: Velosystems X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 //////////////////////////////// >You can do a few things: > >1. Find out what specifically is taking up all the >space and delete it: > >cd /var >du -s * > >Perhaps you're not managing some log file properly. > >2. You can move /var into /usr where you have some >room. > >mkdir /usr/var >cd /var >tar cf - . | (cd /usr/var; tar xf - ) >rm -rf /var >ln -s /usr/var /var > >(from www.mostgraveconcern.com/freebsd) > >When I install, I usually do this with /tmp and /var. > >3. You could always add more diskspace and put /var >there. Probably not necessary. > >Hope that helps. > >--Tim >--- Deman wrote: >> Hi, >> >> I got the /var full after running portugrade >> >> Filesystem 1M-blocks Used Avail Capacity >> Mounted on >> /dev/ad0s1a 96 32 56 37% / >> /dev/ad0s1g 1025 897 46 95% >> /home >> /dev/ad0s1f 2713 739 1756 30% >> /usr >> /dev/ad0s1e 19 19 -1 109% >> /var >> procfs 0 0 0 100% >> /proc >> >> Is there any good suggestion of what should I do? >> And also how to do it or cross >> point to any article :) ////////////////////////////// No, the real problem is that your /var is simply too small. You can get around it for now by cleaning up old logs, but a 20MB /var won't hold you for long no matter what. I have a 500MB /var on this pure workstation and I've used up 130MB already. I see your disk is very small. Symlinking it to /usr/var is probably the least of all the evils you have to choose from. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message