[mythtv-users] rebalance deleted recordings

Warpme warpme at o2.pl
Thu Mar 20 18:38:27 UTC 2014


On 20/03/14 19:09, Michael T. Dean wrote:
> 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).
Well - so there is probably kind of bug in 0.27-fixes.
I remember clearly: at 7:40PM we sit to watch 7PM 30min news - and there 
wasn't recording to watch. Initially I was thinking that tuner/recorder 
fails to record. What surprise was when in BE log I saw 7PM news 
autoexpired, but other, few days old expirable shows, are still not 
expired. Looking in details show me that expirerer expire 7PM news 
because at 7:15PM another rec. started. Common thing was that 7PM news & 
7:15PM rec. was on the same /myth/tv member of SG. I looked on /myth/tv 
and discover it is:
100% full and size of non-expirable rec on /myth/tv is 100% of size of 
this dir.
As proof-of-concept, I moved some non-expirable rec. from /myth/tv to 
/myth/tv1 - and problem away...
>
>> 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.)
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>



More information about the mythtv-users mailing list