LinHES Forums
http://forum.linhes.org/

/ 100% FULL
http://forum.linhes.org/viewtopic.php?f=6&t=16790
Page 1 of 1

Author:  snake3061 [ Sun Sep 30, 2007 8:41 am ]
Post subject:  / 100% FULL

My / filesystem is showing 100 % full:

root@snakemain:/usr/src# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 14421344 13935708 0 100% /
tmpfs 776240 4 776236 1% /dev/shm
/dev/mapper/vg-myth 374993784 227569900 147423884 61% /myth

I have removed almost 5 gb Of files and it is still showing 100% full.

Any Help is appreciated..

Snake

Author:  bradpvr [ Sun Sep 30, 2007 8:46 am ]
Post subject: 

didja check /var/log/?

Author:  tjc [ Sun Sep 30, 2007 9:17 am ]
Post subject: 

What bradpvr said also run this this command as root:
Code:
du -xk / | sort -n

It'll produce a list of directories with their contents size sorted in ascending order. The last 20 or so things left on your screen will be the top 20 space users. On a healthy system you should see a listing like this:
Code:
root@black2:~# du -xk / | sort -n | tail -20
56080   /home/mythtv
56084   /home
60932   /var/backups
63516   /usr/src
66260   /lib/modules/2.6.18-chw-13
66264   /lib/modules
74664   /lib
78844   /usr/share/webmin
98308   /usr/share/mythtv/themes
115196  /usr/share/doc
133420  /usr/share/mythtv
153556  /usr/bin
192376  /var/lib/mysql/mythconverg
213612  /var/lib/mysql
285832  /var/lib
375128  /var
554596  /usr/lib
606444  /usr/share
1503000 /usr
2066056 /

If /home/mythtv or /var/log is closer to the end of the list they're prime candidates.

Author:  rkhanso [ Sun Sep 30, 2007 1:49 pm ]
Post subject: 

Does the ringbuffer need to be deleted?

Author:  ihatetivo [ Sun Sep 30, 2007 1:56 pm ]
Post subject: 

This may not help, but...

Earlier today, I was moving some files around. I accidentally moved a movie onto /dev/hda1. When I rebooted, I saw the most frightening screen yet. Between the black boot screen and the blue menu screen appeared a grey screen with a message something like "can not write to /temp". Anyway, after panicing, I noticed I could still use putty to start and xsession on my laptop. I noticed that hda1 was at 100%. I eventually remembered about moving the file, deleted the offending file, and rebooted. Everything was fine after that.

Author:  Merlinx [ Mon Oct 08, 2007 8:01 pm ]
Post subject:  Ive ran into having this issue a few times

i have had knoppmyth crash a few times due to the /var/log/mythtv/mythfrontend.log file growing so large that theres no room for mysql to start hence making my system into a boat archor. took me a bit to figure out a routine to recover when that happens but here it is.

step 1:
Boot to a knoppmyth setup cd

step 2:
hit control alt F2

Step 3:
type
mount /mnt/hda1
CD /mnt/hda1/var/log/mythtv/

Step 4:
Type ls -all
you should be able to see how large the log files are. i usually have a problem with the mythfrontend.log file. not sure whats in the file since its to large for me to open on my system but you might be able to using nano or what ever your favorite editor is.

Step 5:
to free up space
type
RM mythfrontend.log

Step 6:
reboot your system and take out the cd
type
shutdown -r now

this is what i usually end up doing when my system crashes hope it helps releave a few headaches out there.


Merlinx

Author:  TVBox [ Fri Oct 12, 2007 1:56 am ]
Post subject: 

I had Knoppmyth crash last week and this is what worked for me and it will only take a few minutes.

1. Log it to Webmin. It has been my experience that if everything is locked up, Webmen will still function. Webmin seems not need any space on the root drive to function. It also must be one of the first programs to load because is has worked for me on crashes on boot. Blank screen, keyboard locked up. When nothing else works Webmin works.

2. In Webmin menus goto >> Hardware >> Partitions on local disk>>
This will open up <Partition Manager> this will show you the three partitions
Root, Swap and Myth and show you the percentage of free space. My root partition on R27 is 4.67 GB and it normally has 52% free. So if I have 0% free space that means I have a file that is larger than 2GB that should not be there. If you click on the partitions it will show the size that they are.

3. In Webmin menus goto >> Others >> File Manager>>
Click on <Find> and Find Files will open up. In the search criteria box choose <file size>< more than> and enter 1000000000 your search results will return only hits larger that 1GB. Disregard all files in Myth and you are left with only files in the Root partition. Under normal conditions there are no files in the root partition larger than 1GB. If you fine one click on it and it will open up in File Manager where you can click on it to read it, Edit it, delete it, move it to the Myth partition or whatever.

In my case the /var/log/mythtv/mythfrontend.log was 2.5GB of repeated error code and I deleted it.

After watching this list for years I am surprised how few use Webmin and it is standard equipment in every Knoppmyth release. If I didn't have Webmin File Manager Knoppmyth would have went down road four years ago.

TVBox
A dyslexic Knoppmyth user

Author:  jzigmyth [ Fri Oct 12, 2007 6:45 am ]
Post subject: 

I have not heard of webmin. How do you "log it to webmin"?

Author:  tjc [ Fri Oct 12, 2007 7:13 am ]
Post subject: 

http://www.knoppmythwiki.org/index.php?page=WebminHowTo

I may also have something in the R5F27 Hints. The URL is: https://YOUR_HOSTNAME_OR_IP_HERE:10000/

Author:  jzigmyth [ Fri Oct 12, 2007 9:52 am ]
Post subject: 

Wow! Webmin is really cool! Thanks for hooking me up tjc and TVBox!

Author:  jcrewna2 [ Fri Oct 12, 2007 8:32 pm ]
Post subject:  xsessions error log

for me, the big disk waste was an .xsessions error log. If you are having problems finding where the disk is being used up, make sure to use the -a flag for ls to see the hidden file under /home/mythtv

Author:  jmairs [ Sun Oct 14, 2007 5:25 pm ]
Post subject: 

I'm running RF27 and I just went into the endless loop of .Xsession cannot write to /tmp.

My solution was to hold the CAPS Lock key down just as Lilo was starting and type Linux Single at the boot prompt.

My /var/log/mythtv/mythfrontend.log file was

2599211008 bytes

Author:  rmorgan [ Tue Oct 16, 2007 2:26 pm ]
Post subject:  I think I'm screwed...

I had this same problem just yesterday, and thinking I wasn't much of a noob, I deleted the /home/mythtv directory, thinking it was a directory that I had used for installing some stuff.

Now, nothing works... Surprise, surprise.

Any way to recover from this? I've been looking at undelete programs, and none of them look very easy to use. But if there is a chance, and it's the only way, I'll try one.

Author:  tjc [ Tue Oct 16, 2007 5:59 pm ]
Post subject: 

Making a backup and auto upgrading should get you back into a working state. See the R5F27 Hints for the steps to follow. Any customization you've made in that directory (e.g. changes to /home/mythtv/.fluxbox/apps or /home/mythtv/.mythtv/lircrc) will be gone, but you'll have a working system with all of your existing recordings and media files.

Author:  rmorgan [ Wed Oct 17, 2007 5:52 am ]
Post subject: 

Great! I'll give this a try. I thought about doing the auto-upgrade, but knowing that I didn't have a backup I was afraid to try. Being able to do the backup by hand will be good.

And, I didn't have any changes in those directories, so I should be good to go. I also figured out my problem, one of the log files was extremely long. I have removed that file and have plenty of space again.

Thanks for the tip!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/