linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WARNING: quotas may be inconsistent, rescan needed
@ 2016-03-20 16:58 Suman Chakravartula
  0 siblings, 0 replies; only message in thread
From: Suman Chakravartula @ 2016-03-20 16:58 UTC (permalink / raw)
  To: linux-btrfs

Hello my dear upstream heroes,

We are using progs v4.4.1 and kernel 4.4.5 in Rockstor and sometimes
this warning is displayed while assigning a qgroup. Here's a sample
output.

/sbin/btrfs qgroup assign 0/408 2015/6 /mnt2/<btrfs_pool>
WARNING: quotas may be inconsistent, rescan needed

2015/6 is the qgroup of a subvolume(/mnt2/<btrfs_name>/<subvol_name>)
created much earlier.

This started happening since progs v4.2. There are three scenarios I've tested.

1. Just ignore the warning and check if the qgroup assignment
succeeded with a "qgroup show" command. In most cases, the assignment
shows up immediately. But it could take a bit in some cases. Is there
any self/auto consistency check that is triggered by default? If so
can someone explain how that works?

2. Add a --rescan option to to the "qgroup assign" command above to
auto schedule a rescan as per the man page. Is this safe to do? What
are pros and cons?

3. Execute a "quata rescan" separately if the warning is displayed. Is
this any different from (2)?

Thanks for reading!

-- 
Suman Chakravartula
Founder @ Rockstor

http://rockstor.com
http://rockstor.com/blog
http://forum.rockstor.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-20 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 16:58 WARNING: quotas may be inconsistent, rescan needed Suman Chakravartula

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