On Fri, 9 Nov 2001 18:24:09 +1300
Linux <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I seem to be loosing disk space on /var
> 
> I have deleted many unnecessary logs and other files but when I
deleted the
> files I did get back the disk space the file held
> 
> Any help gratefully received

You can create new subdirectories with new patitions. For instance, you
could add a new partition and move everything inside /var/spool/news to
it and mount the partition as /var/spool/news (make sure you put it in
fstab or it won't get mounted when it should). The same with anything
else there: /var/log, /var/spool, or anything else.

You can create a new, larger partition, and move everything to it,
umount the old, mount the new. You'd likely have to do some in single
user mode, and even then make changes in fstab and reboot. /var is a
partition that isn't happy with being umounted at any time other than
shutdown.

You can try one of the partition resizers (parted for one). I've never
used any of them so I make no guarantees

You can change the settings in /etc/logrotate.conf to free some space
more often. It would be better, though, to try one of the others if
possible. This isn't the optimal solution.

-- 
Here I am! Now what are your other two wishes?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to