View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Root is full <solved>
PostPosted: Sun Aug 14, 2011 9:30 pm 
Offline
Joined: Sat Apr 21, 2007 6:55 pm
Posts: 306
Location: CA,USA
I installed LH 6.03 a while back for my neighbor (who has no linux experience). Of course I have been his tech support ever since ;-) Lately he has been very upset at the apparent demise of his system and I had a few moments today to check it out - after being shocked at the myriad of errors and problems I realized root was full. Using 'du' I can see the var directory is the second biggest after /myth. I deleted the rotated log files from /var/log/ & /var/log/mythtv but it still shows 100% full but oddly 24 of 25GB used, MySQL still failed to start. Then I had to leave. Before I head over there again, has anyone any other suggestions on what would be good candidates for deletion?

Thanks.

_________________
Paul O'Flynn


Last edited by poflynn on Thu Aug 25, 2011 10:46 pm, edited 3 times in total.


Top
 Profile  
 
 Post subject: Re: Root is full
PostPosted: Sun Aug 14, 2011 9:54 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Hi Paul,

You will have to restart anything that is using those files: Linux will hang on to them until they are not being used. Try restarting myth backend and run du after you delete them. You may want to find out what caused it to fill first, though.

Mysql nearly always corrupts when root fills. You should run mysqlcheckdb with -r option to find and fix. Run it again before attempting to start mysql. From memory (warning: I have several faulty memory modules) it should be something like "mysqlcheckdb -u root mythconverg *"

Finally, it may never get to actual 100%, as a few % is usually reserved for fs stuff.

logrotate can help you further. Not sure why this isn't the default, but it can rotate logs based on size and only keep a couple (you set the number of old files). This will prevent your fs from filling which, as you have discovered, is very annoying and inconvenient (but a great learning experience).

Good luck

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2011 7:20 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Ouch. This is always ugly. As manicmike said your db will almost certainly need to be repaired. As for the cause of the partition filling up, logfiles are almost always the prime suspect, and in the current system the acpid daemon is one of the more common culprits. (Searching for "acpid" should turn up a couple threads about the exact problem.)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2011 11:27 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
When my root filled up it was because of firefox downloading to that partition. I was able to use gparted to increase the first partiton.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 23, 2011 1:37 am 
Offline
Joined: Tue Feb 28, 2006 12:54 pm
Posts: 124
Location: Konstanz, Germany
another problem is the pacman cache directory ...

check for with "ls -l /data/var/cache/pacman/" or "du -h -x --max-depth=1 /
data/var/cache/pacman/

my old R6 system has over 1.8GB files there, the following command will help :-)

Quote:
[root@wohnzimmer1 ~]# pacman -Sc
Cache directory: /data/var/cache/pacman/pkg/
Do you want to remove uninstalled packages from cache? [Y/n]
removing old packages from cache...

Database directory: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n] n



[/quote]

_________________
-------------------------------------------------
KnoppMyth R6 (release)
* ELITEGROUP 915P-A w P4 3,2 GHz 512MB
* ATI x300PCIe
* HD 200 GB SATA / DVD DL(RW)
- DVB-C / Hauppage PVR-500 (2x analog)
- ATI RemoteWonder, CHERRY /wl keyboard/mouse


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 25, 2011 10:46 pm 
Offline
Joined: Sat Apr 21, 2007 6:55 pm
Posts: 306
Location: CA,USA
Thanks all. Got enough free to make it run and it did require a repair of the DB so thanks for that tip... Will keep searching for more stuff to delete.

_________________
Paul O'Flynn


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 123 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu