View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Help me find disk space
PostPosted: Thu Jan 11, 2007 9:26 pm 
Offline
Joined: Wed Jun 15, 2005 9:14 pm
Posts: 72
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
/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
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?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 5:49 am 
Offline
Joined: Mon May 29, 2006 2:16 pm
Posts: 52
Location: Lincoln, Nebraska
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.

_________________
Wouldn't it be really cool if Harley-Davidson made computers too?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 7:37 am 
Offline
Joined: Wed Dec 21, 2005 1:14 pm
Posts: 145
Location: Charlotte NC USA
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:/#


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 9:51 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
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.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 6:20 pm 
Offline
Joined: Wed Jun 15, 2005 9:14 pm
Posts: 72
I had a 'test' directory in /mnt/ that held some 2GB for files. :oops: Deleting that cleared up enough space for a while. Muchos gracias.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 8:28 pm 
Offline
Joined: Wed Jun 15, 2005 9:14 pm
Posts: 72
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?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 9:46 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Mine is 136Mb...
Code:
root@black2:~# du -m /var/lib/mysql/mythconverg
136     /var/lib/mysql/mythconverg

So that seems pretty reasonable to me.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu