Fedora 38 - implementing Btrfs subvolume quotas not being enforced properly
I'm deploying to production and I'm converting an old project and I've been researching this but I'm wondering if anyone has experience with I'm stuck on something that should probably be simple... I'm currently working with an scenario with Btrfs on Fedora 38 where the user quotas for subvolumes are not being enforced as expected. I set up a Btrfs filesystem and created a subvolume for a specific user, but it seems the quotas are being ignored. Here's what I've done so far: I initialized the Btrfs filesystem with the following command: ```bash mkfs.btrfs /dev/sdX1 ``` Then, I created the subvolume for my user 'testuser': ```bash btrfs subvolume create /mnt/btrfs/testuser ``` Next, I enabled quota support on the filesystem with: ```bash btrfs quota enable /mnt/btrfs ``` After that, I assigned a quota to my subvolume using: ```bash btrfs quota set limit 1G /mnt/btrfs/testuser ``` However, when I attempt to copy more than 1GB of data into the subvolume, it does not restrict the usage, and I can keep adding data without hitting a limit. I verified the current quotas by running: ```bash btrfs subvolume quota show /mnt/btrfs/testuser ``` This command shows the limit but does not seem to enforce it. I've also tried remounting the filesystem and even rebooting the system, but the question continues. Any insights on what I might be missing or misconfiguring? Is there a specific option I need to set in the mount options to properly enforce these quotas? What's the best practice here? Am I missing something obvious? This issue appeared after updating to Bash 3.9. What would be the recommended way to handle this? How would you solve this? What's the best practice here?