[mythtv-users] rebalance deleted recordings

Michael T. Dean mtdean at thirdcontact.com
Thu Mar 20 18:09:15 UTC 2014

On 03/20/2014 01:52 PM, Warpme wrote:
> Yeah,
> I had this king of problem when I added new 4T HDD (/myth/tv1) to my 
> default recording storage group.
> Before addition, this SG had single, 3T dir. (/myth/tv) full of 
> recordings.
> I add 4T HDD and added /myth/tv1 dir to SG.
> After sometime I started experience deletion of non-expirable 
> recordings. Investigation shows me that it is because /myth/tv has 
> 100% non-expirable recordings. Despite that, myth schedules storage 
> rec. to /myth/tv/ so some non-expirable rec. had be deleted to make 
> room for new recordings.

MythTV will never automatically delete any non-expirable recording 
that's not already been Deleted interactively by the user (i.e. the user 
deleted it to the Deleted recording group).

> This is IMHO result deficiency of myth SG scheduler (as I think it not 
> takes into account expirable rec.size) .
> Solution was to re-balance occupancy of expirable recordings between 
> on all members of SG (target is to have equal amount of expirable rec. 
> on each member of SG).
> Now, after 6 months I see creeping out-of-balance, so after some time 
> I'll have to repeat balancing process

FWIW, you don't need to rebalance if you have "lots" of free space (as 
compared to the amount of space your "near term" recordings will take) 
available on all file systems.  You only really need to balance when 
some file systems--but not all--begin to fill.  (Though if all fill, 
you'll want to balance Live TV/Deleted/Watched recordings or 
pre-expire/manually delete from Deleted some recordings to make some 
free space.)


More information about the mythtv-users mailing list