From: "Piotr Pawłow" <pp@siedziba.pl>
To: Linux Btrfs <linux-btrfs@vger.kernel.org>
Cc: Calvin Walton <calvin.walton@kepstin.ca>
Subject: Re: Help! - "btrfs device delete missing" running out of space
Date: Mon, 06 Jan 2014 19:44:52 +0100 [thread overview]
Message-ID: <52CAF9A4.3060203@siedziba.pl> (raw)
In-Reply-To: <1389025462.18558.8.camel@sasami.ottawa.blindsidenetworks.com>
Hello,
> I'm not sure what the solution is, but the issue seems to be that
> btrfs is laying out the RAID1 like this:
[snip]
Yeah, it kinda ended up like this. I think the problem stems from the
fact, that restoring redundancy works by relocating block groups, which
rewrites all chunks instead of restoring only the ones that are missing.
And it uses the usual allocation strategy, which fails in this case. It
treats unreplicated data as allocated, when in fact all of that data
will be, sooner or later, freed in the process.
If I succeed deleting the missing device, then running "btrfs balance"
should fix the problem.
Regards
prev parent reply other threads:[~2014-01-06 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-05 13:57 Help! - "btrfs device delete missing" running out of space Piotr Pawłow
2014-01-05 19:00 ` Piotr Pawłow
2014-01-06 16:24 ` Calvin Walton
2014-01-06 18:44 ` Piotr Pawłow [this message]
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=52CAF9A4.3060203@siedziba.pl \
--to=pp@siedziba.pl \
--cc=calvin.walton@kepstin.ca \
--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