[mythtv-users] Why are all my recordings expired almostimmediately? (v0.19)

Gert-Jan Bilt, van de GertJan at vdbilt.eu
Thu Aug 10 07:45:45 UTC 2006


Indeed I am using ext3 on a Mandriva 2006 box. If I look at the partition information I see the following:
df -k: 
Filesystem           1K-blocks      Used          Available Use%    Mounted on
/dev/hda1              8840140    2607112    5783968  32%     /
/dev/hda7             20560436   6800040  12715984  35%     /opt               <---- storage of recorder data

And in Mythfrontend:
Disk usage on server:
   20 GB total, 7.5 GB used, 12 GB (or 62%)...

So it seems that both Mythfrontend and df are more or less in agreement. Also when I start the backend it shows the following in the log file: 2006-08-10 09:41:38.161 AutoExpire: Required Free Space: 3.1 GB w/freq: 10 min

So, somehow Myth calculates with 3.1 GB/10 minutes of video? Even though the pixels and bitrate on the "default" recording profile are set in such a way that in reality it is 250 MB/10 minutes. This is just not right! 

And also this response does not really answer the question I have: How does MythTV v0.19 decide when to delete files. What are the space calculation rules? Can anybody explain these rules? And then the logical next step: How can one influence these rules? 

I did find out that MythTV also deletes a recording which is specifically marked "no auto-expire", which I set because I really wanted to keep it. 

Oh, and what is this "root reservation" thingie? 

>>> chris at cpr.homelinux.net 8/10/2006 06:20:54 >>>
On Wed, Aug 09, 2006 at 09:16:07PM +0200, Gert-Jan Bilt, van de wrote:
> I do not have too much disk space available at the moment, around 
> 12 GB, but I have also set the bitrate a bit lower then default, 
> giving about 1.5 GB/hour of recording quality. The setting for 
> "keep available" is at 2 GB. This should be enough to store at 
> least 3 hours of recording before it should expire I imagine. Yet 
> all the recordings keep vanishing. 

What filesystem are you using?  How big is your partition?  Where 
are you reading the free-space figure (`df` or the mythfrontend 
or...)?

If you're using ext2/3 then you may be running into the root 
reservation.

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org 
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list