[mythtv-users] Autoexpire not working
Michael T. Dean
mtdean at thirdcontact.com
Fri Jun 17 16:19:47 UTC 2011
On 06/17/2011 02:03 AM, Zuriel wrote:
> My MythTV backend just ran out of disk space.
> Autoexpire is turned on. In the log I get screen after screen of:
> 2011-06-12 04:44:36.223 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.265 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.307 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.349 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.391 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.433 AutoExpire: Adding 1055 at
> 2011-06-12 04:44:36.475 AutoExpire: Adding 1062 at
> 2011-06-12 04:44:36.517 AutoExpire: Adding 1062 at
> 2011-06-12 04:44:36.559 AutoExpire: Adding 1055 at
> ending with:
> 2011-06-17 15:42:57.417 fsID #0: Total: 452.5 GB Used: 450.4
> GB Free: 2.2 GB
> 2011-06-17 15:42:57.459 fsID #1: Total: 1833.8 GB Used: 1824.1
> GB Free: 9.7 GB
> 2011-06-17 15:42:57.501 fsID #2: Total: 916.9 GB Used: 916.9
> GB Free: 0.0 GB
> 2011-06-17 15:42:57.543 AutoExpire: SendDeleteMessages. Nothing to expire.
> 2011-06-17 15:42:57.590 AutoExpire: Adding Programs to 'Do Not Expire'
> 2011-06-17 15:42:57.627 AutoExpire: ExpireLiveTV(10000)
> 2011-06-17 15:42:57.668 AutoExpire: FillDBOrdered: Adding Short LiveTV
> programs in starttime order
> 2011-06-17 15:42:57.711 AutoExpire: SendDeleteMessages. Nothing to expire.
> 2011-06-17 15:43:57.588 AutoExpire: Adding Programs to 'Do Not Expire'
> It's marking things to expire... but just not actually deleting
> anything? Not sure how to fix it.
> I'm running master, a couple of weeks old I think. v0.25pre-2142-g6124698.
Auto-expire only deletes things while recordings are in progress. So,
if your file system is already full, MythTV can't start a recording, so
it won't expire anything.
Delete a show manually (i.e. change Watch Recordings to show Live TV
recording group and then Deleted recording group) and when you delete a
show from Deleted recording group, it will be removed from the disk.
Then, MythTV should be able to start recordings, so it should be able to
run the expirer. If that doesn't help, you'll need to post complete
logs showing the auto-expire run so we can figure out why it's refusing
to delete anything.
Also, note that if you've enabled slow deletes, MythTV will delete each
individual show slowly, but at a rate faster than your recorders can
record. If other processes are writing to the disk, you could easily
fill it up faster than MythTV is deleting shows.
More information about the mythtv-users