linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs qgroup assign -> "ERROR: bad relation requested"
@ 2013-07-28  6:51 Tomasz Chmielewski
  2013-07-28  7:36 ` Wang Shilong
  0 siblings, 1 reply; 11+ messages in thread
From: Tomasz Chmielewski @ 2013-07-28  6:51 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

I'm trying to use this feature of qgroup:

btrfs qgroup assign <srcid> <destid> <path>
    Assigns the lower level qgroup src to the higher level qgroup dest
    in the btrfs found in <path>. It is used to build qgroup
    hierarchies.


However, I fail to understand how this feature should work, and I'm
getting "ERROR: bad relation requested":

# btrfs sub create test1
Create subvolume './test1'

# btrfs sub create test2
Create subvolume './test2'

# btrfs sub list /mnt/lxc2 | grep test
ID 1177 gen 85131 top level 5 path test1
ID 1178 gen 85132 top level 5 path test2

# btrfs qgroup show /mnt/lxc2
0/1177 4096 4096
0/1178 4096 4096

# btrfs qgroup assign 1177 1178 /mnt/lx2
ERROR: bad relation requested '/mnt/lx2'


Could anyone give examples of proper usage of this feature?

This is Linux 3.10.


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-02  6:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-28  6:51 btrfs qgroup assign -> "ERROR: bad relation requested" Tomasz Chmielewski
2013-07-28  7:36 ` Wang Shilong
2013-07-30 12:25   ` Tomasz Chmielewski
2013-07-30 13:06     ` Wang Shilong
2013-07-31  3:46       ` Tomasz Chmielewski
2013-07-31  4:19         ` Wang Shilong
2013-07-31  4:36           ` Tomasz Chmielewski
2013-07-31  5:13             ` Wang Shilong
2013-07-31  5:39               ` Tomasz Chmielewski
2013-07-31  6:08                 ` Wang Shilong
2013-08-02  6:32                 ` Arne Jansen

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).