Thanks for the info

I only had 5Mb Left so I re-booted the machine, remember I deleted all the
files. When it came back up there was 400Mb available on the partition. It
has now been going for about 1.5 hours and about 10Mb has disappeared again.
This could be due to the replacement of logs I previously deleted. I will
follow the demise the /var partition tomorrow.

Many thanks

Mike

-----Original Message-----
From: ABrady [mailto:[EMAIL PROTECTED]]
Sent: Friday, 9 November 2001 20:04
To: [EMAIL PROTECTED]
Subject: Re: Running out of disk space Help!


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


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security & management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com



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

Reply via email to