[mythtv-users] Manage recording storage group with btrfs subvolume

Mike Perkins mikep at randomtraveller.org.uk
Sun Jan 10 10:06:02 UTC 2021


On 10/01/2021 02:27, Richard Shaw wrote:
> I'm looking at moving to a 4 drive raid1 array (and perhaps converting to
> raid5 later) btrfs array. Most of the space will be used for media but I
> want to keep 1TB for recordings.
> 
> The problem is that btrfs will share free space among subvolumes by default
> and I don't know if there is  a quota method that will limit free space
> reporting so that the backend will expire recordings properly like on a
> dedicated filesystem.
> 
> Anyone else run into this and have a solution?
> 
I run my "raid" volumes under LVM. That way I can allocate discrete volumes[1] to each function and 
the free space is not shared between them.

[1] Each volume can them be formatted a different way as required.

-- 

Mike Perkins



More information about the mythtv-users mailing list