[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] LVM log file size - please, help!



On Tuesday 17 July 2001 11:11 am, you wrote:

> We are using LVM here. And I recently noticed that /var/log/lvm is...
> 800MB! It's actually occupied all the free space, so, no user files can be
> created, and, since it's owned by root - it's going VERY soon to fill the
> disk completely! Do I need it, what do I do with it?... Please HELP!

If it's just a standard log file you can safely rm it and a new one will be 
created. Really when you install a package that creates logs it should make a 
logrotate entry (man logrotate) in /etc/logrotate.d/ so the files will be 
trimmed regularly. I haven't used LVM on Linux but I would think 800Mb a 
little excessive for a log file, are you sure there is no problem with some 
repeated message or something?
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.