(sysadm_t:s0-s0:c0.c1023)root@play:/tmp# btrfs qgroup limit 20m /tmp (sysadm_t:s0-s0:c0.c1023)root@play:/tmp# du -h test 931M test (sysadm_t:s0-s0:c0.c1023)root@play:/tmp# rm test rm: cannot remove 'test': Disk quota exceeded (sysadm_t:s0-s0:c0.c1023)root@play:/tmp# echo -n > test -bash: test: Disk quota exceeded Is the above expected? If there's excess disk space usage I'd like to set a qgroup first then delete or truncate files. As an aside, is it expected that a SE Linux Play Machine (with hostile "root" user) should survive with BTRFS? I'm preparing a new Play Machine which will run BTRFS and use qgroups, are there any bugs or missing features I should be aware of? I realise that qgroups are an area of BTRFS that hasn't been tested a lot and that using them to restrict actively hostile users is probably more experimental than most BTRFS stuff. But I'm happy to get a broken system if we learn something useful. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html