On Tuesday 20 December 2005 07:58, Erich Titl wrote:
> Hi folks
>
> does anyone know how to resize /var/log _without_ rebooting the LEAF
> box. I stopped ksyslogd, ntp and ulogd, rmoved all files from the
> /var/log directory but still cannot umount it.

Tmpfs, right?

I just use mount -t tmpfs <mountpoint> /var/log -o remount -o size=<newsize>

tmpfs + remount lets you resize the volume "live" - without stopping any 
processes.

Just be careful you don't resize to a size greater than physical ram. :-)
  


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to