Re: /var FS full. What can be erased?



Vlad Mfk <freelance@xxxxxxxxxxxxxx> wrote:
I've already deleted all /var/tmp and checked /var/log file sizes. The
logs are very small. Btw, what's the correct way to clean log files? As
far as I know it cannot be just deleted. Right ?

freebsd rotates logfiles as needed, see newsyslog

What else is in your /var/? Maybe some mysql databases?

in /var/ do a

# du -hs *

so you can see what directory holds the data.

Peter

--
http://www.boosten.org

Mail: peter at boosten dot org
.



Relevant Pages

  • Re: /var FS full. What can be erased?
    ... Btw, what's the correct way to clean log files? ... 4.0K crash ... i'm installing mysql server, it needs alot of space for logging, so we ...
    (comp.unix.bsd.freebsd.misc)
  • Re: /var FS full. What can be erased?
    ... Vlad Mfk wrote: ... Btw, what's the correct way to clean log files? ... Why would he have two devfs on his system? ...
    (comp.unix.bsd.freebsd.misc)
  • /var FS full. What can be erased?
    ... Btw, what's the correct way to clean log files? ... Filesystem Size Used Avail Capacity Mounted on ... Kind regards, ...
    (comp.unix.bsd.freebsd.misc)