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

Partition full
http://forum.linhes.org/viewtopic.php?f=5&t=14382
Page 1 of 1

Author:  ErikU [ Tue Feb 27, 2007 8:45 pm ]
Post subject:  Partition full

I installed RE50 on a new system with a single 300G drive. During the install it partitioned a very small section for linux and the rest for myth media. My linux partition keeps getting full and crashing the whole system. I have deleted everything I can think of, but it just keeps filling up!

I would like to take back a little of the myth partition to give to the linux partition, but don't know how. I would appreciate any help. Also, any thoughts as to why I keep filling up?

Thanks!

Author:  slowtolearn [ Tue Feb 27, 2007 8:59 pm ]
Post subject:  Re: Partition full

ErikU wrote:
Also, any thoughts as to why I keep filling up?

Thanks!
This would be the real question. Are you having any (known) issues with your R5E50 installation? Is this a combined backend/frontend, frontend only, something else? Did you perform an auto install, or did you manually partition the drive? What have you deleted? Lastly, what are you seeing in the various logs in /var/log and the sub-directories therein?

Basically, whatever information you can provide about your installation/setup will help...

Author:  ErikU [ Tue Feb 27, 2007 11:58 pm ]
Post subject: 

It is a combo frontend/backend, and I did the auto setup and let it decide how to make the partitions. I have just deleted some of the tar'd downloads for things like lirc, the LCD server, and the linux source. I haven't checked the logs yet, but I will shortly.

Author:  tkoster [ Wed Feb 28, 2007 1:41 pm ]
Post subject: 

It sounds like there may be a recurrent error filling up you logs. Check out /var/log for large files, check them out for what the error may be so you can fix it, then erase the old oversized files to reclaim disk space.

Author:  tjc [ Wed Feb 28, 2007 6:59 pm ]
Post subject: 

We need more details...

- How big is "small", my root partition is too big at ~20Gb, but even though it's using less than 3Gb at the moment, I would consider anything under 6Gb unwise.

- What does it show if you run
Code:
df -m
df -i
du -m / | sort -n | tail -50


The more/better diagnostic info you provide the better answer you'll be likely to get.

Author:  ErikU [ Thu Mar 01, 2007 1:18 am ]
Post subject: 

Code:
root@mythtv:~# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda1                 4716      4069       408  91% /
/dev/sda3               374825    353102     21724  95% /myth
tmpfs                      496         1       496   1% /dev/shm

root@mythtv:~# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1             500992  159974  341018   32% /
/dev/sda3              93728   10164   83564   11% /myth
tmpfs                 126857       3  126854    1% /dev/shm

root@mythtv:~# du -m / | sort -n | tail -50
41      /home/mythtv/.mythtv/themecache/blootube-wide.1920.1080
41      /usr/src/linux-source-2.6.18-chw-13/include
44      /usr/src/linux-source-2.6.18-chw-13/sound
46      /usr/src/linux-source-2.6.18-chw-13/net
47      /usr/share/locale
48      /usr/src/linux-source-2.6.18-chw-13/drivers/net
53      /lib/modules/2.6.18-chw-13/kernel
53      /usr/src/linux-2.6.19.2/arch
57      /usr/src/linux-source-2.6.18-chw-13/fs
57      /var/backups
61      /lib/modules
61      /lib/modules/2.6.18-chw-13
71      /lib
74      /usr/share/mythtv/themes
74      /usr/share/webmin
78      /usr/src/linux-source-2.6.18-chw-13/arch
96      /usr/share/doc
103     /usr/share/mythtv
115     /usr/src/linux-2.6.19.2/drivers
124     /var/lib/mysql/mythconverg
145     /var/lib/mysql
148     /usr/bin
149     /myth/music
226     /home/mythtv/.mythtv/osdcache
227     /var/lib
256     /usr/src/linux-source-2.6.18-chw-13/drivers
268     /home/mythtv/.mythtv
275     /usr/src/linux-2.6.19.2
370     /myth/motion
379     /home
379     /home/mythtv
411     /usr/lib
518     /usr/share
583     /usr/src/linux-source-2.6.18-chw-13
729     /var/log/mysql
742     /var/log
901     /proc
1052    /var
1176    /usr/src
2403    /usr
3116    /myth/tmp/work/dvd
3116    /myth/tmp/work/dvd/VIDEO_TS
6353    /myth/tmp/work/2
6969    /myth/tmp/work/1
7765    /myth/video
16447   /myth/tmp/work
16460   /myth/tmp
328120  /myth/tv
352907  /myth
357740  /
root@mythtv:~#


I think I understand the first two commands, but am not sure what the third one is telling me.?

Also, I have looked over the logs, and nothing really stands out as being full of errors. The only giant sized logs were in the mysql folder. As far as I could tell those logs looked like raw database info...??

Author:  slowtolearn [ Thu Mar 01, 2007 7:59 am ]
Post subject: 

ErikU wrote:
Code:
root@mythtv:~# df -m
root@mythtv:~# df -i
root@mythtv:~# du -m / | sort -n | tail -50

I think I understand the first two commands, but am not sure what the third one is telling me.?
The first shows total, used and free space on each of your filesystems, the second shows total inodes, the number of used and free inodes on each filesystem, and the third is showing you the 50 largest directories on your system. man df and man du will show you all the options you can use for each command.

ErikU wrote:
Also, I have looked over the logs, and nothing really stands out as being full of errors. The only giant sized logs were in the mysql folder. As far as I could tell those logs looked like raw database info...??
How big is giant? And what are the filenames?

On my R5D1 system I only see ASCII text files in /var/log/mysql, named mysql.err[.X.gz] and mysql.log[.X.gz]. The files ending in .gz are gzipped (compressed), so you can't read them directly. Try zcat <filename> | more. I'm guessing you will find a bunch of errors in these files.

ErikU wrote:
Code:
1176    /usr/src

What do you have in /usr/src? Mine is considerably smaller, though again I am on R5D1...

Author:  tjc [ Thu Mar 01, 2007 8:41 am ]
Post subject: 

I was going to ask the same about the /usr/src directory. It doesn't even show up in my top 50...

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