From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: [bug] btrfs fi usage reports bogus 16EiB free space
Date: Tue, 29 Dec 2015 02:22:19 +0000 (UTC) [thread overview]
Message-ID: <pan$18231$95fbaba1$d74d6453$6c085a71@cox.net> (raw)
In-Reply-To: CAJCQCtTKWdAknD9Cbr0kfVNsZ5GW0jH+ZE8ZsNmJ14223aVo2A@mail.gmail.com
Chris Murphy posted on Mon, 28 Dec 2015 17:12:13 -0700 as excerpted:
> Filed a bug:
> https://bugzilla.kernel.org/show_bug.cgi?id=110111
>
> The gist is that with a full USB stick, 'btrfs fi usage' reports:
>
> Free (estimated): 16.00EiB (min: 16.00EiB)
>
> Which is clearly wrong, but very exciting to imagine what such a thing
> would look like!
[After double-checking the bug report to ensure it was as I suspected, as
the critical line wasn't included above.]
ENOTIMPLEMENTED. See that "WARNING: MIXED blockgroups not handled" line
at the top? =:^)
FWIW I've been seeing this on my /boot and its backup since original fi
usage implementation.
The patches implementing usage didn't cover the mixed-bg case, except
with the warning, but were still taken because the report is useful in
the default case. IIRC it did something similar for raid56 mode, which
wasn't complete at the time fi usage was introduced and thus wasn't
implemented either.
Which is one reason (besides not being in older versions) that we still
request btrfs fi df and btrfs fi show both, instead of btrfs fi usage.
It's still interesting to imagine a 16 EiB device (not even an array, a
single device, imagine an array...), tho. Kinda like reading
Hitchhiker's Guide to the Galaxy for the first time, rather mind
stretching! =:^)
Of course back a few years ago TiB or even GiB would have seemed equally
mind stretching... I remember when the memory in my machine first
surpassed the size of the entire hard drive I had in my first 486sx25, 4
MiB RAM, 130 MB hard drive... and I counted myself lucky just to get a
486 instead of a 386... Yes, there's kids messing up my lawn too; I
shout and shake my cane at 'em sometimes. =:^)
(But 16 EiB is STILL mind stretching!)
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2015-12-29 2:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 0:12 [bug] btrfs fi usage reports bogus 16EiB free space Chris Murphy
2015-12-29 2:22 ` Duncan [this message]
2015-12-29 2:29 ` Chris Murphy
2015-12-29 2:48 ` Chris Murphy
2015-12-29 5:32 ` Christoph Anton Mitterer
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='pan$18231$95fbaba1$d74d6453$6c085a71@cox.net' \
--to=1i5t5.duncan@cox.net \
--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.