Note
The quota groups feature requires that you boot the system using UEK R3.
To enable quotas, use the following command on a newly created btrfs file system before any creating any subvolumes:
# btrfs quota enable volume
To assign a quota-group limit to a subvolume, use the following command:
# btrfs qgroup limit size
/volume
/subvolume
For example:
#btrfs qgroup limit 1g /myvol/subvol1
#btrfs qgroup limit 512m /myvol/subvol2
To find out the quota usage for a subvolume, use the
btrfs qgroup show
path
command: