Re: btrfs qgroup destroy - ERROR: unable to create quota group: Device or resource busy

2013-08-09 Thread Tomasz Chmielewski
On Fri, 09 Aug 2013 13:56:19 +0800 Wang Shilong wangsl.f...@cn.fujitsu.com wrote: It seems that btrfs automatically assigns a qgroup to newly created snapshot/subvolume, but does not destroy the qgroup when the subvolume is deleted. This should be implemented. And will soon. Great to

Re: btrfs qgroup destroy - ERROR: unable to create quota group: Device or resource busy

2013-08-09 Thread Wang Shilong
On 08/09/2013 02:42 PM, Tomasz Chmielewski wrote: On Fri, 09 Aug 2013 14:08:48 +0800 Wang Shilong wangsl.f...@cn.fujitsu.com wrote: 0/4494 839516160 18446744073709481984 --- -- want to remove only this one 13/1 2142674944 2142674944

Re: btrfs qgroup destroy - ERROR: unable to create quota group: Device or resource busy

2013-08-09 Thread Tomasz Chmielewski
On Fri, 09 Aug 2013 14:56:15 +0800 Wang Shilong wangsl.f...@cn.fujitsu.com wrote: So how exactly should I do it? A bit confused on how to proceed. btrfs qgroup remove 4494 13/1 mnt will destroy relation between 4494 and 13/1 Then you can try: btrfs qgroup destroy 4494 mnt Excellent,

Re: btrfs qgroup destroy - ERROR: unable to create quota group: Device or resource busy

2013-08-09 Thread Wang Shilong
Hello, just add my answer for a missing question. On Fri, 09 Aug 2013 13:56:19 +0800 Wang Shilong wangsl.f...@cn.fujitsu.com wrote: It seems that btrfs automatically assigns a qgroup to newly created snapshot/subvolume, but does not destroy the qgroup when the subvolume is deleted.

Re: btrfs qgroup destroy - ERROR: unable to create quota group: Device or resource busy

2013-08-08 Thread Wang Shilong
Hello, On 08/09/2013 01:39 PM, Tomasz Chmielewski wrote: I'm using qgroups and have created a few hundreds of subvolumes in the past. It seems that btrfs automatically assigns a qgroup to newly created snapshot/subvolume, but does not destroy the qgroup when the subvolume is deleted. This