Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 10:03:59 -0800
From:      Steve Wingate <steve@velosystems.net>
To:        "Tim Erlin" <tperlin@yahoo.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
////////////////////////////////
>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 <s9810048@mmu.edu.my> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020118100359.16bf93ba.steve>