Changing volume limits

This is a discussion on Changing volume limits within the Linux Administration forums, part of the Linux Forums category; Ran into a problem with my /var volume reaching 90 percent, and not allowing changes to crontab. Dumping logs and ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-17-2003
Joe Pollard
 
Posts: n/a
Default Changing volume limits

Ran into a problem with my /var volume reaching 90 percent, and not
allowing changes to crontab. Dumping logs and mail cleared it out.

Isn't there a way to change the limit above 90 percent before refusing
writes?

TIA,

Joe
Reply With Quote
  #2 (permalink)  
Old 12-18-2003
stuart abrams-humphries
 
Posts: n/a
Default Re: Changing volume limits

Hi Joe,

Try

tune2fs -m 5 /dev/...

replace 5 with the % you wish to change limit to ..also need device
name for /var as last argument

Kind Regards

Stuart

jmp@jcck.net (Joe Pollard) wrote in message news:<ad5b7ce3.0312170614.227fcaee@posting.google. com>...
> Ran into a problem with my /var volume reaching 90 percent, and not
> allowing changes to crontab. Dumping logs and mail cleared it out.
>
> Isn't there a way to change the limit above 90 percent before refusing
> writes?
>
> TIA,
>
> Joe

Reply With Quote
  #3 (permalink)  
Old 12-18-2003
Thorsten
 
Posts: n/a
Default Re: Changing volume limits

jmp@jcck.net (Joe Pollard) wrote in message news:<ad5b7ce3.0312170614.227fcaee@posting.google. com>...
> Ran into a problem with my /var volume reaching 90 percent, and not
> allowing changes to crontab. Dumping logs and mail cleared it out.
>
> Isn't there a way to change the limit above 90 percent before refusing
> writes?
>
> TIA,
>
> Joe


Hi,

I´m not sure if this is Your problem, but I found a file called
/etc/security/limits.conf. Maybe there is an entry.
Another workaround would be to edit ~/.vimrc and insert

set directory=/tmp,/,.

or other directorys (I suppose, Your EDITOR is set to vi).

regards

Thorsten
Reply With Quote
  #4 (permalink)  
Old 01-20-2004
Andy Smith
 
Posts: n/a
Default Re: Changing volume limits

Are you using something to keep your log file sizes down? logrotate
works fairly well:

http://iain.cx/src/logrotate/

Andy

--------------------------
Andy Smith, MCP
wasmith32@earthlink.net
--------------------------


Joe Pollard wrote:
> Ran into a problem with my /var volume reaching 90 percent, and not
> allowing changes to crontab. Dumping logs and mail cleared it out.
>
> Isn't there a way to change the limit above 90 percent before refusing
> writes?
>
> TIA,
>
> Joe


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0