All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alin Dobre <alin.dobre@elastichosts.com>
To: linux-btrfs@vger.kernel.org
Subject: Negative qgroup sizes
Date: Thu, 01 May 2014 14:32:55 +0100	[thread overview]
Message-ID: <53624D07.2000602@elastichosts.com> (raw)

Hello,

I am having trouble with one of the btrfs subvolumes, as it shows
negative quota accounting values, like in the following output:

  # btrfs qgroup show -f /tmp/test
  qgroupid rfer                 excl
  -------- ----                 ----
  0/299    -1576960             -1511424

Running a "btrfs quota rescan -w /tmp/test" seems to fix it, but it
seems to come back pretty often (happened twice in the last couple of
days). I can't think of a possible reproduction of the problem, so I'm
just stuck. Here's the output of subvolume after the rescan, maybe it
also gives you some insight:

  # btrfs qgroup show -f /tmp/test
  qgroupid rfer       excl
  -------- ----       ----
  0/299    1065955328 1056542720

The kernel we are using is 3.14.1 (stable) and the btrfs-progs version
is 3.12.

Any idea on why this happens or if there's an obvious fix I missed?

Cheers,
Alin.

             reply	other threads:[~2014-05-01 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 13:32 Alin Dobre [this message]
2014-05-01 16:58 ` Negative qgroup sizes Duncan
2014-05-02  9:17   ` Alin Dobre

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=53624D07.2000602@elastichosts.com \
    --to=alin.dobre@elastichosts.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.