I think https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup and https://btrfs.wiki.kernel.org/index.php/Quota_support are what you are looking for.

Richard Shaw <hobbes1069@gmail.com> 于 2021年1月8日周五 下午9:23写道:
I think this is one of the corner cases for BTRFS as most people want the opposite behavior, but on one computer I run MythTV and it manages how many recordings to keep based on the available free space. Once free space comes down to a certain threshold it starts expiring older recordings.

Obviously this runs counter to btrfs's subvolume method of sharing free space. 

So is there a way to set the "maximum" size of a subvolume? Google has failed me on this one.

Thanks,
Richard
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org