[Gluster-users] reducing size of gdata.log

vlad at cosy.sbg.ac.at vlad at cosy.sbg.ac.at
Tue Dec 13 16:54:56 UTC 2011


Dear Pat,

>
> Hi,
>
> Our gdata.log file has gotten quite large (6.4G) and contributed
> to problems we experienced due to a full /var area.  Is there
> a recommended/safe way to reduce the size of this file?
>
> As an example would I come to grief trying:
>
> mv gdata.log gdata.log.1; touch gdata.log
>
> Then moving gdata.log.1 to another area?


Have a look for logrotate, which might be the 1st step of your solution.
You could still  backup the old logs elsewhere then  I think...
Hope to have given you a clue.

Greetings,

Vlad Popa

University of Salzburg
Computer Science/HPC Computing
Jakob Harringer Str, 2
5020 Salzburg
Austria



More information about the Gluster-users mailing list