Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 1999 01:45:15 +0300
From:      =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= (Andy   V. Oleynik) <andyo@prime.net.ua>
To:        Dan Lazin <dan.lazin@su.ualberta.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /var is full, though it shouldn't be
Message-ID:  <37AB6579.75459979@prime.net.ua>
References:  <008801bee05a$32c36fe0$ba9cb8a1@dan>

next in thread | previous in thread | raw e-mail | index | archive | help
Jiesus, Dan!
It's not honour to give so many space to /var :)))
May be somebody will offer better solution
but I recommend reallocate ur present /var for swap
and symlink /var to /usr/var :)
Dan Lazin wrote:

> 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

--
Andy V. Oleynik
(When U aim for perfection,
 U discover it's a moving target ö80)





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?37AB6579.75459979>