From: Chris Murphy <lists@colorremedies.com>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs convert running out of space
Date: Tue, 20 Jan 2015 15:53:57 -0700 [thread overview]
Message-ID: <CAJCQCtTiboWRVkZLE2Te9Kb00SXxUk0_AwE5xv-vTHxrpaDCqA@mail.gmail.com> (raw)
In-Reply-To: <CA+WRLO89nFArYhRgjqPBruW0avExOZcf9iZgvusLAr_+4ddxoQ@mail.gmail.com>
On Tue, Jan 20, 2015 at 2:49 PM, Gareth Pye <gareth@cerberos.id.au> wrote:
> The conversion is going the other way (raid10->raid1), but I expect
> the analysis is going to be the same. I'll wait on 3.19 kernel then
> (or probably 3.19.1) as this system is slightly more production than
> use of btrfs would suggest.
>
> The flags 17 messages are from the non-converting balance to clear up
> the empty blocks, the flags 65 messages are from the RAID10->RAID1
> balance
Makes sense.
Are there any particularly large files? File bigger than 1GB? Are any
of those nocow (xattr +C)? I'm just throwing spaghetti to see what
might be different with this volume than others which have
successfully converted between raid10 and raid1. The file system was
created with btrfs-progs 3.12? Defaults? (Other than data raid 10.)
It looks to be a large file but it might be worth grabbing a
btrfs-image per the wiki in case the fs behavior changes while doing
anything else to it (even normal operation might free up whatever's
stuck and then the problem isn't reproducible).
Another option, if you have the space, is to create two more drbd
devices of the same size (as each other, they don't have to be the
same size as what's already in the array), and add them to this
volume, and then attempt to complete the conversion (with soft option
as you have been).
Also, those three block values reported with flags 65 can be plugged
into btrfs-debug-tree or btrfs inspect internal to find out what file
is involved, and maybe there's something about them that's instigating
the problem.
I would consider the file system suspect at this point, just being
conservative about it. The reason is that it's in the middle of a
conversion to raid1, so anything newly allocated will be raid1, and
anything old is raid10 and being in this state long term I think is
sufficiently non-deterministic in that who knows what could happen in
three weeks. It might be OK. So if you have the space to create a new
raid1 volume, and btrfs send old to new, it gets you where you
ultimately want to be much sooner. And then you can throw 3.19rc5 at
the problemed fs and see how it behaves.
--
Chris Murphy
next prev parent reply other threads:[~2015-01-20 22:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 23:45 btrfs convert running out of space Gareth Pye
2015-01-20 0:13 ` Gareth Pye
2015-01-20 5:39 ` Lakshmi_Narayanan_Du
2015-01-20 7:38 ` Chris Murphy
2015-01-20 21:25 ` Gareth Pye
2015-01-20 21:41 ` Chris Murphy
2015-01-20 21:49 ` Gareth Pye
2015-01-20 22:53 ` Chris Murphy [this message]
2015-01-20 23:04 ` Gareth Pye
2015-01-21 4:03 ` Chris Murphy
2015-01-22 21:58 ` Gareth Pye
2015-01-22 21:58 ` Gareth Pye
2015-01-23 4:34 ` Duncan
2015-01-23 7:54 ` Marc Joliet
2015-01-23 8:46 ` Duncan
2015-01-25 15:23 ` Marc Joliet
2015-01-27 3:24 ` Gareth Pye
2015-01-27 6:20 ` Duncan
2015-01-27 21:53 ` Gareth Pye
2015-01-28 0:18 ` Duncan
2015-01-20 23:33 ` Hugo Mills
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=CAJCQCtTiboWRVkZLE2Te9Kb00SXxUk0_AwE5xv-vTHxrpaDCqA@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).