[mythtv-users] understanding storage group balancing

Bill Meek keemllib at gmail.com
Thu Aug 6 16:28:26 UTC 2020


On 8/6/20 11:07 AM, Jim Abernathy wrote:
> I've been observing that no recordings are being written to one of my directories in my Storage Group - Default.  I have 2 directories defined 
> but only one has any files in it. The volume that is getting all the recordings has  about 300GB of free space more than the other volume.
> 
> df -h shows:
> 
> /dev/md1        1.8T  402G  1.4T  24% /mnt/md1
> /dev/md0        1.8T  702G  1.1T  41% /mnt/md0
> 
> jim at mythbuntu:~$ ls /mnt/md1/recorded-tv2/
> 10404_20200806103000.ts      11701_20200806110000.ts
> 10404_20200806103000.ts.png  11701_20200806110000.ts.png
> jim at mythbuntu:~$ ls /mnt/md0/recorded-tv1/
> lost+found
> jim at mythbuntu:~$
> 
> So my question: is mythtv using the storage group directory that is on the volume with the most free disk space?

Check which "Storage Group Disk Scheduler" is in use.

You probably want "Balanced Free Space" 'til the 2nd disk fills.

Then switch to your preferred scheduler, e.g."Balanced Disk I/O"

Ref: https://www.mythtv.org/wiki/Setup_Storage_Directories#Storage_Group_Disk_Scheduler

> I was kind of hoping that it would use the 2 directories on different volumes to balance the writes for multiple recordings at the same time.

It can.

--
Bill


More information about the mythtv-users mailing list