LinHES Forums http://forums.linhes.org/ |
|
Root is full <solved> http://forums.linhes.org/viewtopic.php?f=21&t=22216 |
Page 1 of 1 |
Author: | poflynn [ Sun Aug 14, 2011 9:30 pm ] |
Post subject: | Root is full <solved> |
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 ![]() Thanks. |
Author: | manicmike [ Sun Aug 14, 2011 9:54 pm ] |
Post subject: | Re: Root is full |
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 |
Author: | tjc [ Mon Aug 15, 2011 7:20 am ] |
Post subject: | |
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.) |
Author: | mattbatt [ Wed Aug 17, 2011 11:27 pm ] |
Post subject: | |
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. |
Author: | Martin1802 [ Tue Aug 23, 2011 1:37 am ] |
Post subject: | |
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] |
Author: | poflynn [ Thu Aug 25, 2011 10:46 pm ] |
Post subject: | |
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |