Web Hosting Talk







View Full Version : The filesystem [/] is getting very full.


WTFHosting
09-04-2001, 12:28 AM
It seems the / partition is getting full and is probably causing some crashes we've been experiencing. Does anyone have any idea of what might be taking up the space? I wouldn't even know where to being to look....

[admin /]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 743466 723784 19682 97% /
/dev/hda3 198601 96480 102121 49% /var
/dev/hda4 17671528 1803461 15868067 10% /home

irzyxel
09-04-2001, 01:25 AM
probably your log files growing large, if its a Raq4 install the latest patch, or search the archive ... this is an old problem

Chicken
09-04-2001, 03:36 AM
See: http://www.webhostingtalk.com/search.php?s=&action=showresults&searchid=101750&sortby=lastpost&sortorder=descending

Eagle
09-04-2001, 06:02 AM
Have you installed anything lately? I got it when I installed JSP support.

NOTE: When [/] gets full, this is VERY DANGEROUS!!! This can prevent you from getting root access to your drive!!!!!

Mike the newbie
09-04-2001, 06:54 AM
Originally posted by WTFHosting
It seems the / partition is getting full and is probably causing some crashes we've been experiencing. Does anyone have any idea of what might be taking up the space? I wouldn't even know where to being to look....

[admin /]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 743466 723784 19682 97% /
/dev/hda3 198601 96480 102121 49% /var
/dev/hda4 17671528 1803461 15868067 10% /home


One of the recent Cobalt patches caused the log files to be placed on /. There is a new patch to fix that. Look for the Log Files 4.0.1 patch.

WTFHosting
09-04-2001, 02:53 PM
Thanks everyone for the help. The 4.0.1 logfile patch did the trick. Sorry that this has been discussed already. :(

scsi
01-28-2002, 05:51 AM
please could you post the url of Log Files 4.0.1 patch.
I can't find it at cobalt site

Chicken
01-28-2002, 12:34 PM
If it isn't there anymore, it has most likely been incorporated into a newer update release.

scsi
01-28-2002, 12:40 PM
well, I've found this post that maybe could help people avoiding fill up their / filesytem.
I would ask to Experts to post correct instructions on how to make a backup of involved files before proceding...and naturally if this solution is fine or not.

"Then consider moving files to a partition with more space and creating a
symbolic link at the old location. /usr is on the root partition and there
should be directories you can safely move to /home which has plenty of space
on your server. Quick example:

mkdir /home/usr
mkdir /home/usr/local
mv /usr/local /home/usr/local
ln -s /home/usr/local /usr/local

Backup the files first and verify that it worked as expected. Do a 'df -h'
afterwards and you should have plenty of space"

I'm wait for your integration...thanx

nEMESIS4
03-05-2002, 02:16 PM
I attemped scsi's solution to clean up some space on the root partition by moving the local folder into /home. When I did that majordomo now seems to fail and no mails can be sent to the mailing list. I get this error to the admin account when I try mailing one of our mailing lists.

-----
The original message was received at Tue, 5 Mar 2002 13:08:08 -0500
from mail@localhost

----- The following addresses had permanent fatal errors -----
:include:/usr/local/majordomo/www.domain.com/lists/user
(expanded from: user_home-list)

----- Transcript of session follows -----
550 5.2.4 :include:/usr/local/majordomo/www.domain..com/lists/user... Cannot open /usr/local/majordomo/www.domain.com/lists/user: Group writable directory
-----

NoComment
03-05-2002, 05:48 PM
It's kind of risky to move over /usr/local/

See my post in this thread http://webhostingtalk.com/showthread.php?s=&threadid=38557

*NoComment*