LinHES Forums http://forum.linhes.org/ |
|
Help me find disk space http://forum.linhes.org/viewtopic.php?f=11&t=13451 |
Page 1 of 1 |
Author: | Atamido [ Thu Jan 11, 2007 9:26 pm ] |
Post subject: | Help me find disk space |
My system recently ran out of space on / and so they system locked and wouldn't start the front/backend processes. I went in and deleted the MySQL logs, but that only freed up 220MB. I am curious if there are other things I can look at to delete so that I can free up more space. Here is where it looks to be mostly distributed: Code: Filesystem 1K-blocks Used Available Use% Mounted on I pulled out the entries for /myth as they are on another drive. Does the KnoppMyth install really take up 4.2GB? Is there something in one of these directories that I could probably remove?
/dev/hda1 4424356 3975188 225064 95% / /dev/hdb1 488252928 233361476 254891452 48% /myth root@mythtv:/# du -k | sort -n | tail -20 90112 ./usr/share/mythtv 95900 ./usr/share/doc 108348 ./var/lib/mysql 150764 ./usr/bin 174920 ./var/lib 222672 ./var 420236 ./usr/lib 513060 ./usr/share 528298 ./proc 1235604 ./usr |
Author: | Dak48 [ Fri Jan 12, 2007 5:49 am ] |
Post subject: | |
The folders I would be looking at for space would be: /var/logs /tmp /home/mythtv /home/your-user-name /root Since the / partition is finite in space it can fill up rather quickly, especially if you have downloaded source and compiled and installed but not removed the source files. |
Author: | datobin1 [ Fri Jan 12, 2007 7:37 am ] |
Post subject: | |
go to the root folder Code: cd / type the following to see how big each folder and file is Code: du -sh * look at the folders and see what is taking up all the space. Most likely somthing in /var/logs For somthing to compare to here is one of my frontends that has a pretty clean install Code: root@mythtv-bedroom:/# du -sh *
0 0 3.3M bin 5.1M boot 8.0K cache 4.0K cdrom 140K dev 17M etc 36M home 4.0K initrd 4.0K knoppmyth 4.0K knoppmyth-sata 77M lib 16K lost+found 4.0K media 4.0K mnt 16M myth 4.0K none 4.0K opt 448M proc 48K root 8.3M sbin 0 sys 28K tmp 1.7G usr 65M var 0 vmlinuz root@mythtv-bedroom:/# |
Author: | bruce_s01 [ Fri Jan 12, 2007 9:51 am ] |
Post subject: | |
IIRC 5C1 had issues with not rotating logs, there should be a fix somewhere else here. If you you use mythstream a lot to listen to po^Wnetcasts or internet radio you will run out space on / as the mythtv home directory (where the downloaded files are) is held on the same partition. Bruce S. |
Author: | Atamido [ Fri Jan 12, 2007 6:20 pm ] |
Post subject: | |
I had a 'test' directory in /mnt/ that held some 2GB for files. ![]() |
Author: | Atamido [ Fri Jan 12, 2007 8:28 pm ] |
Post subject: | |
Should my /var/lib/mysql/mythconverg be 86MB, or is this normal for a system that has been used for a for over a year? |
Author: | tjc [ Fri Jan 12, 2007 9:46 pm ] |
Post subject: | |
Mine is 136Mb... Code: root@black2:~# du -m /var/lib/mysql/mythconverg
136 /var/lib/mysql/mythconverg So that seems pretty reasonable to me. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |