Skip site navigation (1)Skip section navigation (2)
From:      "Dan Lazin" <dan.lazin@su.ualberta.ca>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   /var is full, though it shouldn't be
Message-ID:  <008801bee05a$32c36fe0$ba9cb8a1@dan>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008801bee05a$32c36fe0$ba9cb8a1>