[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] LVM log file size - please, help!
Hi
On Tue, 17 Jul 2001, Will Newton 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
>
> 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
It should, but it didn't:-( standard lvm_0.8i-1.deb from 2.2r3 potato:-(
So, I had to do it myself (after asking on the LVM mailing list, where
Heinz confirmed, that the log can be safely deleted). So, I now check the
file every hour, and if it's > 1MB it's archived as lvm.1.gz,..., lvm.3.gz
becomes lvm.4.gz and lvm.4.gz is removed. Strange Debian didn't do this...
> 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?
No, nothing suspicious.
Thanks
Guennadi
___
Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, Sheffield, U.K.
email: g.liakhovetski [at] sheffield.ac.uk
---------------------------------------------------------------------
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.