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

root and cache partitions both full after crash
http://forum.linhes.org/viewtopic.php?f=6&t=6915
Page 1 of 1

Author:  gregp [ Sun Nov 13, 2005 10:04 pm ]
Post subject:  root and cache partitions both full after crash

I woke up this morning to a blank screen instead of the myth menu where I'd left it last night. CTRL+ALT+F1 brought up the console, but instead of a login prompt I was seeing a repeating error message scroll across the screen. I didnt copy it down b/c I'm a newb, but I remember it being
Code:
<something>ivtv<something else>#<large number counting up w/ each line (probably 10 per second)><something about inodes and the number 512>


I did a CTRL+ALT+F7 and then CTRL+ALT+BCKSPC and it eventually brought the graphical login back up, where I clicked actions, reboot. The same error message continued to scroll for a while w/ the shutdown stuff mixed in between. Once it finished rebooting and mythtv had logged in I get a popup that says:
Code:
GDM could not write to your authorization file.  This could mean that you are out of disk space and that your home directory could not be opened for writing.  In any case, it is not possible to log in.  Please contact your system administrator.<ok buttom>


I ran df from the console:
Code:
root@mythtv:/# df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/sda1                2.3G  2.3G     0 100% /
/dev/sda3                7.5G  7.5G     0 100% /cache
/dev/sda4                269G   66G  204G  25% /myth
root@mythtv:/# df -i
Filesystem               Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1                305824  116473  189351   39% /
/dev/sda3                  1920      14    1906    1% /cache
/dev/sda4                 68864     668   68196    1% /myth

My guess is that some logfile got filled with 2gb of that error message that which filled the root partition, but I have no idea about cache or even where to go from here. Any help would be appreciated greatly.

I have a PVR500, and I'm using the svideo out on a gforce MX4000; everything had been working fine for about two weeks before this.

Author:  cesman [ Sun Nov 13, 2005 10:42 pm ]
Post subject: 

You are right, whatever happened probably caused logs to fill /. You can delete the logs and whatever file(s) are in /cache.

Author:  mjl [ Mon Nov 14, 2005 8:39 am ]
Post subject: 

Hi

A big trap that seems to happen to folks is the cache. Ensure the cache size in mythtv-setup is at least 1 gig less than what you see with df -h and you should be good to go.

To help clean up, try:
nano cleanup-logs (create a file, copy and paste the following code)
#<code>
#!/bin/bash
#
df -h
echo " " > /var/log/messages
echo " " > /var/log/kern.log
echo " " > /var/log/syslog
echo " " > /var/log/mythtv/mythbackend.log
echo " " > /var/log/mythtv/mythbackend.log.1
df -h
/usr/local/bin/reset-mythbackend
echo "Check your drive space storeage setup"
#<end code>

you may need to rm /cache/cache/* also to clean out the ringbuffer

Mike

Author:  jakep_82 [ Mon Nov 14, 2005 6:18 pm ]
Post subject: 

I had this happen to me too. One other thing you should check are your database tables. I had to repair a couple tables to fix everything. Check this thread

Author:  mjl [ Thu Nov 17, 2005 7:20 pm ]
Post subject: 

Hi,
This may be of help
http://mysettopbox.tv/phpBB2/viewtopic. ... 1e76#40524
Mike

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