linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs fi du is unreliable
Date: Sun, 4 Dec 2016 13:21:20 -0700	[thread overview]
Message-ID: <CAJCQCtSLAjBhOCFHPLjp7gn2-GKjHP7_yJbfE1rdaozuQnHvEw@mail.gmail.com> (raw)
In-Reply-To: <CAJCQCtQcz6W-UD5eDAiWG1QJk3tSF7boN2haG_Du=PD_U6rx1g@mail.gmail.com>

Another example:

[chris@f25s ~]$ sudo btrfs fi du -s /mnt/first/everything-new
     Total   Exclusive  Set shared  Filename
 367.54GiB    14.21GiB   350.95GiB  /mnt/first/everything-new

The problem here is that Exclusive + Shared ≠ Total. Rather those two
add up to 365.16GiB, which suggests 2.38GiB is neither shared nor
exclusive. What would that be? The total not equalling shared +
exclusive is the most common bug I see with fi du.



---
Chris Murphy

  reply	other threads:[~2016-12-04 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-04 18:30 btrfs fi du is unreliable Chris Murphy
2016-12-04 20:21 ` Chris Murphy [this message]
2016-12-04 22:17 ` Henk Slager
2016-12-04 23:39   ` Chris Murphy
2016-12-05  2:51   ` Duncan

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=CAJCQCtSLAjBhOCFHPLjp7gn2-GKjHP7_yJbfE1rdaozuQnHvEw@mail.gmail.com \
    --to=lists@colorremedies.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 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).