[mythtv-users] Myth not expiring recordings on some filesystems

Jeff Siddall news at siddall.name
Mon Jan 23 03:13:54 UTC 2012


I have a strange problem where myth is not expiring recordings in some 
filesystems such that new recordings to those filesystems run out of 
space.  I know something is happening because I see logs like this in 
the master backend:

2012-01-22 02:52:19.075 Expiring 185 MB for 1041 at 2012-01-21T22:00:00 
=> "NHL Hockey":"Calgary Flames at Edmonton Oilers"
2012-01-22 02:52:19.085 autoexpire: Expiring Program: Expiring 185 MB 
for 1041 at 2012-01-21T22:00:00 => "NHL Hockey":"Calgary Flames at 
Edmonton Oilers"

But then on the slave backend doing the actual recording I got this:

2012-01-22 00:46:05.007 No space left on the device for file 
'/TV/1/1041_20120122004000.mpg' file will be truncated, no further 
writing will be done.

I have myth setup to keep 25 GB free on the storage group and yet I see 
a lot less than that on two of the filesystems, including the one that 
ran out of space:

Disk Usage Summary:

     * Total Disk Space:
           o Total Space: 5,370,888 MB
           o Space Used: 5,329,512 MB
           o Space Free: 41,376 MB
           o Space Available After Auto-expire: 1,009,213 MB
                 + Space Used by LiveTV: 0 MB
                 + Space Used by Deleted Recordings: 0 MB
                 + Space Used by Auto-expirable Recordings: 967,837 MB

Disk Usage Details:

     * MythTV Drive #1:
           o Directories: siddall-2:/TV/1, siddall-3:/TV/1
           o Total Space: 1,651,401 MB
           o Space Used: 1,643,950 MB
           o Space Free: 7,451 MB
     * MythTV Drive #2:
           o Directories: siddall-2:/TV/2, siddall-3:/TV/2
           o Total Space: 1,857,825 MB
           o Space Used: 1,855,553 MB
           o Space Free: 2,272 MB
     * MythTV Drive #3:
           o Directories: siddall-2:/TV/3, siddall-3:/TV/3
           o Total Space: 1,861,662 MB
           o Space Used: 1,830,009 MB
           o Space Free: 31,653 MB

Is it possible I have no auto-expirable recordings left on those 
filesystems?  If so then why is Myth trying to record there?  Is it just 
not that smart?  Otherwise is there any way I can figure out what is 
going on?

Thanks,

Jeff


More information about the mythtv-users mailing list