linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
To: Tomasz Chmielewski <tch@virtall.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs qgroup destroy -> ERROR: unable to create quota group: Device or resource busy
Date: Fri, 09 Aug 2013 14:56:15 +0800	[thread overview]
Message-ID: <5204928F.1020603@cn.fujitsu.com> (raw)
In-Reply-To: <20130809144221.740d57b1@virtall.com>

On 08/09/2013 02:42 PM, Tomasz Chmielewski wrote:
> On Fri, 09 Aug 2013 14:08:48 +0800
> Wang Shilong <wangsl.fnst@cn.fujitsu.com> 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.

btrfs qgroup remove 4494 13/1 <mnt>

will destroy relation between 4494 and 13/1
Then you can try:

btrfs qgroup destroy 4494 <mnt>

Thanks,
Wang
> 
> - 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?
> 
> 


  reply	other threads:[~2013-08-09  6:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09  5:39 btrfs qgroup destroy -> ERROR: unable to create quota group: Device or resource busy Tomasz Chmielewski
2013-08-09  5:56 ` Wang Shilong
2013-08-09  6:07   ` Tomasz Chmielewski
2013-08-09  6:08     ` Wang Shilong
2013-08-09  6:42       ` Tomasz Chmielewski
2013-08-09  6:56         ` Wang Shilong [this message]
2013-08-09  7:47           ` Tomasz Chmielewski
2013-08-09 12:47     ` Wang Shilong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5204928F.1020603@cn.fujitsu.com \
    --to=wangsl.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=tch@virtall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).