View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: I/o Error
PostPosted: Fri Apr 22, 2005 2:37 am 
Offline
Joined: Wed Jan 26, 2005 3:13 pm
Posts: 117
Checking /var/log/mythtv/mythbackend.log I see this:



ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 3: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 3: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 3: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on device
ERROR: file I/O problem in safe_write(), errcnt = 3: No space left on device



It goes on forever. It seems the cache is full and stays full. I can delete the cache and it will stay up and working for some time.
Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 3:13 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
ahhh...
Code:
df -h

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject: df -h
PostPosted: Fri Apr 22, 2005 4:58 pm 
Offline
Joined: Wed Jan 26, 2005 3:13 pm
Posts: 117
root@mythtvsbe:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.8G 1.6G 2.0G 46% /
/dev/hda3 13G 236M 12G 2% /cache
/dev/vg/myth 356G 31G 326G 9% /myth

But it is empty now because I deleted the files in it.


Top
 Profile  
 
 Post subject: i/o error
PostPosted: Fri Apr 22, 2005 5:09 pm 
Offline
Joined: Wed Jan 26, 2005 3:13 pm
Posts: 117
Is the cache supposed to grow so big?


Top
 Profile  
 
 Post subject: Re: df -h
PostPosted: Fri Apr 22, 2005 5:58 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
snake3061 wrote:
root@mythtvsbe:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.8G 1.6G 2.0G 46% /
/dev/hda3 13G 236M 12G 2% /cache
/dev/vg/myth 356G 31G 326G 9% /myth

But it is empty now because I deleted the files in it.


It might be worth booting up in singleuser mode and running fsck on the /cache volume.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 23, 2005 3:14 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
As you watch live TV, /cache will grow. If the backend too a dump while watching TV, changes are you need to clean out /cache/cache...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject: err
PostPosted: Sat Apr 23, 2005 5:05 pm 
Offline
Joined: Wed Jan 26, 2005 3:13 pm
Posts: 117
Ok.. I guess that is what has happened. Overnight the backend will crash which doesn't clear the cache and the only way to reclame the cache is to remove it..

thanks


Top
 Profile  
 
 Post subject: No space left on device
PostPosted: Tue May 03, 2005 2:04 am 
Offline
Joined: Mon Nov 29, 2004 7:59 am
Posts: 25
Location: Hoogland, The Netherlands
in another thread this is mentioned.
----snip-----
probably need to reformat the drive. by default the myth drive gets formated with few inodes expecting not too may large files. if you fill it with lots of small files you run out of inodes even though you have space left. there is a thread about this.
----snip----

Belcampo


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 7:49 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
that shouldn't have anything to do with cache. If you are putting any files at all other than the ringbuffer in /cache then you are just asking for trouble, so the limited inodes will not affect it.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 5:50 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Sounded like the problem was the old Unix FAQ, why didn't deleting the file free it's space? For the curious who don't already know this - Because so long as something has it open the inode (which actually controls the space) stays around.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 08, 2005 4:25 pm 
Offline
Joined: Fri Mar 25, 2005 10:51 pm
Posts: 8
I'm having a similar problem, and so far my solution has been to just delete the 1gig+ log files this is generating. Help?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 11:00 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
ahhh
Code:
df -h
Have you read the logs? There are filling up for a reason...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 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