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

Disk full how do I fix this?
http://forums.linhes.org/viewtopic.php?f=5&t=9469
Page 1 of 2

Author:  dmills [ Mon Apr 03, 2006 6:58 pm ]
Post subject:  Disk full how do I fix this?

Ive been looking online for 2 days now and I still cant find the answere. I didnt delete some of my recorded shows for some time and now the disk is full. I logged in using putty, and deleted some the showes, and ist still showing 100% full. Can someone give me some ideas on how to fix this :?:

Author:  mac [ Mon Apr 03, 2006 7:18 pm ]
Post subject: 

Logging in with putty and deleting shows will case you to have inconsistencies between
your database and reality -- mythTV seems to have some difficulty reconciling the two.

Quote:
Can someone give me some ideas on how to fix this


type:
Code:
df

Now, which partition is full?

Is it /myth or / ? If its /, I would look problem under /var/log -- maybe the If
If that is cause seach for forum for mysql.log..

Author:  dmills [ Mon Apr 03, 2006 7:23 pm ]
Post subject: 

df shows
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 3055144 3051984 0 100% /
/dev/hda3 6298844 24 6298820 1% /cache
/dev/hda4 68097960 48597116 19500844 72% /myth

Author:  ryanpatterson [ Mon Apr 03, 2006 7:32 pm ]
Post subject: 

Deleating recorded shows wont help you at all. Go into /var/log and look for a really large log file or files. Deleate that and you should be fine.

Author:  mac [ Mon Apr 03, 2006 7:55 pm ]
Post subject: 

see:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=9261

Author:  dmills [ Mon Apr 03, 2006 8:49 pm ]
Post subject: 

Well I tryed the listed suggestions and no luck. Its still showing 100%.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 3055144 3035516 0 100% /
/dev/hda3 6298844 24 6298820 1% /cache
/dev/hda4 68097960 48597116 19500844 72% /myth

Im going to dig around a little more, If I cant find a solution I guess Ill have to start over. If any one else has an idea. it would be appreaciated :?

Author:  Greg Frost [ Mon Apr 03, 2006 9:04 pm ]
Post subject: 

Start at / and type
Code:
du -h --max-depth=1

Then cd into the directory with the the most stuff (excluding /myth and /cache) and do it again until you track down what is probably a big log file.

Author:  dmills [ Mon Apr 03, 2006 9:11 pm ]
Post subject: 

well not too much listed
root@dmhm:~# du -h --max-depth=1
4.0K ./.qt
8.0K ./.mythtv
44K .

Author:  mac [ Mon Apr 03, 2006 9:29 pm ]
Post subject: 

Your missing a very important part of Gregs instructions.

start at / !

ie.
Code:
cd /


Quote:
m going to dig around a little more, If I cant find a solution I guess Ill have to start over. If any one else has an idea. it would be appreaciated


look at the tread that I posted for you. It is quite simple find out where you disk space has
gone. Then again, maybe reinstalling for you is easy well, you never can tell.

Author:  dmills [ Mon Apr 03, 2006 9:33 pm ]
Post subject: 

oops, Thanks
When I check it. it showing
root@dmhm:/myth/tv# du -h --max-depth=1
47G .

and .myth is listing all my .nuv files.
so do I delete them?

Author:  dmills [ Mon Apr 03, 2006 9:41 pm ]
Post subject: 

I guess not. Because it didnt do any thing. BTW its a 60gig hd

Author:  tjc [ Mon Apr 03, 2006 11:03 pm ]
Post subject: 

Comon guys, if you're giving folks diagnostics to try, please run 'em yourself to make sure the example is complete and you're not missing something... I always tend to use something like this:
Code:
cd / ; du -xk 2>/dev/null | sort -n

Which makes it really clear where to look for house cleaning opportunities. The -h option is nice but it doesn't sort well.

Author:  dmills [ Tue Apr 04, 2006 9:46 am ]
Post subject: 

so do you feel its safe to delete .log files, or is there something else that you recommend?

Author:  dmills [ Tue Apr 04, 2006 10:55 am ]
Post subject: 

well I found out that if I go to cd /./var/log/mythtv
then ls -l,
and then delete the monstrous log files, all is well.
I just didnt know where to find them in the past

Thanks for everyones help
:D

Author:  cesman [ Tue Apr 04, 2006 3:35 pm ]
Post subject: 

I'd also recommend investigating these log files as they should not grow too big unless something is cause them to fill. I've never had an issue with my logs fills up and I leave my MBE on 24/7.

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