[mythtv-users] rebalance deleted recordings
Michael T. Dean
mtdean at thirdcontact.com
Thu Mar 20 18:53:05 UTC 2014
On 03/20/2014 02:38 PM, Warpme wrote:
> 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...
And you're saying you have a real recording rule to record the 7pm
news? If it was Live TV, it did the right thing--because Live TV is
/always/ deleted before even Deleted recordings since it's "just noise"
you had on that you didn't care enough about to create a recording rule.
Or you may have been hit by the "recording gets put in Live TV group
when watching"
If your file system is 100% full and you have no expirable recordings
(and no Live TV and no Deleted recordings) on it, and MythTV starts a
new recording on that file system, it will fail to write data when it
writes that last-available byte--and will almost definitely crash
hard/lock up/not recover/...
Mike
More information about the mythtv-users
mailing list