[mythtv-users] rebalance deleted recordings

Simon Hobson linux at thehobsons.co.uk
Thu Mar 20 15:49:19 UTC 2014

"Brian J. Murrell" <brian at interlinx.bc.ca> wrote:

> I wonder though if you record as much stuff, in parallel as I do and
> therefore need the I/O balancing?  I can have as many as 4-6 programs
> all recording at the same time.

Yes, I've had that, usually only during the overlap for pre/post roll. Add processing jobs on top of that, and done on two drives.

>> Thus, as I watch and delete stuff, space gets created across all drives*.
> Indeed.  See above.  I do not.

But presumably you *do* delete stuff when you have either watched it or decided it's of no interest ? It's not actually all that different to mine - I tend to record anything that I think I *might* be interested in, and delete the recordings and schedule when I decide I'm not. I do have some things where old stuff is being re-shown, and I'm letting Myth record (in some cases) hundreds of episodes which are being transmitted out of order - eventually I'll get to watch them from the beginning 9and then delete them).

>> TL;DR summary.
>> IMO, if you set Myth to delete deleted recordings after a certain period, and possibly do a one-off move of some recordings to rebalance free space, then you'll find it will "just work".
> I think you will change your opinion on that after understanding how
> things work here.

Actually no.

What I'm finding hard to get is how you come to have a drive with no deleted recordings on it, and another drive with a lot of deleted recordings on it. That suggests to me that something isn't quite right, and it's been that way for a while. If your recordings are getting distributed across all drives, then statistically it should be very hard to end up with the very imbalanced deleted recordings you report.

As I read http://www.mythtv.org/wiki/Storage_Groups#Storage_Group_Disk_Scheduler it talks about "free space" which doesn't suggest to me that it's considering "free plus freeable". Also, which scheduling option are you using ?

More information about the mythtv-users mailing list