From: Robert White <rwhite@pobox.com>
To: Patrik Lundquist <patrik.lundquist@gmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: ENOSPC after conversion [Was: Fixing Btrfs Filesystem Full Problems typo?]
Date: Thu, 11 Dec 2014 17:10:15 -0800 [thread overview]
Message-ID: <548A4077.3060704@pobox.com> (raw)
In-Reply-To: <CAA7pwKNTS770TZ9ENxMMQA9-50tfrr2aRb5BWJRFheVy9NOWtQ@mail.gmail.com>
TL;DR version
On 12/11/2014 03:01 PM, Patrik Lundquist wrote:
> Of course the filesystem is in a problematic state after the
> conversion, even if it's not a bug. ~1.5TB of free space and yet out
> of space and it can't be fixed with a balance. It might not be wrong
> per se but it's very problematic from a user perspective.
The file system is not in a problematic state, you just don't understand
the state its in. It has ~1.5TB of space for files. Storing files is why
we have filesystems after all.
> $ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdc1 2930265088 1402223656 1526389096 48% /mnt
There it is, ~1.5TB of available space.
That space is available for files. So no problem.
So it's not "out of space" at all. Go ahead and make a couple thousand
files of various sizes, you'll see. Lots of space.
Since it's not broken there is nothing for balance to "fix". The fact
that balance tells you it doesn't have enough space to juggle filesystem
bits HAS NOTHING TO DO with the file system's ability to store files.
You might as well be complaining that your hard disk is unfixable
because you don't have enough space to add another partition.
Apples and Polar Bears. The "out of space" is only a problem in your
head. At the same level of abstraction the EXT4 file system partition
was "out of space" before you started the conversion because all of the
partition was filled up with EXT4 structures.
No matter how many times you try to turn this into a "bug" it's just
_not_ a bug. Rewording it doesn't change the facts. The _file_ _system_
isn't "out of space" it's just filled its partition with BTRFS extents
enough to cause some extents to be skipped during balance.
Nothing to see here, move along. 8-)
next prev parent reply other threads:[~2014-12-12 1:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-11 8:18 ENOSPC after conversion [Was: Fixing Btrfs Filesystem Full Problems typo?] Patrik Lundquist
2014-12-11 10:18 ` Robert White
2014-12-11 23:01 ` Patrik Lundquist
2014-12-12 0:36 ` Robert White
2014-12-12 1:10 ` Robert White [this message]
2014-12-11 22:00 ` A note on spotting "bugs" [Was: ENOSPC after conversion] Robert White
2014-12-12 6:42 ` Patrik Lundquist
2014-12-12 13:29 ` Robert White
2014-12-12 14:09 ` Patrik Lundquist
2014-12-13 1:12 ` Duncan
2014-12-13 3:10 ` Robert White
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=548A4077.3060704@pobox.com \
--to=rwhite@pobox.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=patrik.lundquist@gmail.com \
/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).