<div dir="ltr"><div dir="ltr">On Sun, Jan 10, 2021 at 5:22 AM James Linder <<a href="mailto:jam@tigger.ws" target="_blank">jam@tigger.ws</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> On 10 Jan 2021, at 6:06 pm, Mike Perkins <<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>> wrote:<br>
> <br>
> On 10/01/2021 02:27, Richard Shaw wrote:<br>
>> I'm looking at moving to a 4 drive raid1 array (and perhaps converting to<br>
>> raid5 later) btrfs array. Most of the space will be used for media but I<br>
>> want to keep 1TB for recordings.<br>
>> The problem is that btrfs will share free space among subvolumes by default<br>
>> and I don't know if there is  a quota method that will limit free space<br>
>> reporting so that the backend will expire recordings properly like on a<br>
>> dedicated filesystem.<br>
>> Anyone else run into this and have a solution?<br>
> 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.<br>
> <br>
> [1] Each volume can them be formatted a different way as required.<br>
<br>
Richard why would you not partiton your disks *exactly* as you want, rather than what your vendor (suse ??) decided what was good for most people. When I looked I decided that btrfs was not what I wanted on my myth server<br></blockquote><div><br></div><div>I've used LVM for over a decade, and while it works, every time I need to replace a disk live I have to go back to the documentation and deal with the three levels in the right order to make the magic happen. pv... vg... lv... </div><div><br></div><div>Btrfs still has a few issues but it's gotten pretty stable so I'd like to play around with it. My recordings are not critical. And I can do things like change between raid1 and raid5 at will, live. And lots of other interesting features. </div><div><br></div><div>Thanks,</div><div>Richard</div></div></div>