From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.virtall.com ([178.63.195.102]:32973 "EHLO mail.virtall.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030444Ab3HIGmc (ORCPT ); Fri, 9 Aug 2013 02:42:32 -0400 Date: Fri, 9 Aug 2013 14:42:21 +0800 From: Tomasz Chmielewski To: Wang Shilong Cc: "linux-btrfs@vger.kernel.org" Subject: Re: btrfs qgroup destroy -> ERROR: unable to create quota group: Device or resource busy Message-ID: <20130809144221.740d57b1@virtall.com> In-Reply-To: <52048770.40602@cn.fujitsu.com> References: <20130809133933.2fbfc6e4@virtall.com> <52048483.1010809@cn.fujitsu.com> <20130809140750.59832bc4@virtall.com> <52048770.40602@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Fri, 09 Aug 2013 14:08:48 +0800 Wang Shilong wrote: > > 0/4494 839516160 18446744073709481984 --- <------ want to remove > > only this one > > > > 13/1 2142674944 2142674944 > > 0/3973,0/3974,0/3978,0/3981,0/4355,0/4373,0/4398,0/4400,0/4401,0/4427,0/4448,0/4449,0/4457,0/4458,0/4475,0/4476,0/4487,0/4488,0/4489,0/4490,0/4491,0/4492,0/4493,0/4494,0/4495,0/4496,0/4497,0/4498,0/4499,0/4506,0/4507,0/4518 > > > > > > Parent qgroup 13/1 makes accounting for other qgroups - therefore, > > I don't want to remove it. > > Sorry, you must destroy relation between 13/1 and 4494. then you can > remove it. So how exactly should I do it? A bit confused on how to proceed. - remove 13/1, remove 4494 - add 13/1, and add all previous qgroups to it? 0/3973,0/3974,0/3978,0/3981,0/4355,0/4373,0/4398,0/4400,0/4401,.... - run quota scan? It can't be right, can it? -- Tomasz Chmielewski http://wpkg.org