[mdlug] WTF /var/log

Brian Brodsky brianbrodsky at ameritech.net
Thu Aug 18 20:22:50 EDT 2011


On 8/18/2011 6:03 PM, Garry Stahl wrote:
> Adam Tauno Williams wrote:
>> Quoting Garry Stahl<tesral at wowway.com>:
>>
>>
>>> Adam Tauno Williams wrote:
>>>
>>>> Yep; a good reason to have /var/log as its own volume.  Even on a
>>>> desktop/laptop system.  This is the most common problem I see regarding
>>>> omg-my-disk-is-full.
>>>>
>>> OK, I have the drive ready to install, how do I name that volume to make
>>> sure /var ends up there?  I have a 2 tera drive, 30 for /root, 4 for
>>> swap, ?/var rest /home.
>>> And should /var be the physical partition?
>>>
>> No, none of those should be physical partitions; they should all be
>> logical volumes.  Don't commit the entire physical volume - you can
>> grow this later if you discover you need to [resize even works
>> 'online' these days']
>>
>> I'd:
>> 12GB for root [probably bigger then you'll ever need]
>> 4GB for swap
>> 4Gb for /var/log
>> 250GB for /home
>>
> /home is at 425 gig now.  Why do you think 2 terabyte drives?
>

How much space is being used by /var now. What is the frequency you have 
setup for logrotate and how many versions of logs are you keeping. Are 
you sure all logs are being rotated?



More information about the mdlug mailing list