From: Chris Murphy <lists@colorremedies.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs full, but not full, can't rebalance
Date: Fri, 3 Jul 2015 12:04:18 -0600 [thread overview]
Message-ID: <CAJCQCtQmppYhavcOcef2Nv3ZmpVYe+4b6LLSAvfAMdCD5bTvGw@mail.gmail.com> (raw)
In-Reply-To: <CAG+QAKUuwVSr8wibFi3zdwu1gR72YEjXEV1JFK126juWzDFvDg@mail.gmail.com>
What kernel version are you using?
I suggest reading the whole thread but in particular this note about
CentOS 7 and Btrfs.
http://www.spinics.net/lists/linux-btrfs/msg40850.html
So kernel 3.16 isn't necessarily too old, but I know there's been a
lot of on-going balance related work that's not in that kernel and
thus won't be in the CentOS 7.1 kernel either. And then there's also
some possibility the older btrfs-progs contributes to the problem,
even though I think most of the balance code is actually in the
kernel.
While the CentOS 7.1 kernel is going to be more stable/predictable
overall (not with respect to Btrfs but everything the kernel does):
a.) Btrfs is a tech preview
b.) To unwind the problems you've having with this volume right now,
I'd really suggest a much newer kernel.
> Total devices 2 FS bytes used 17.06GiB
> devid 1 size 111.11GiB used 22.03GiB path /dev/sdf3
> devid 2 size 111.11GiB used 22.03GiB path /dev/sdg3
There's tons of unallocated space for new data or metadata chunks.
> Data, RAID1: total=18.00GiB, used=16.36GiB
> System, RAID1: total=32.00MiB, used=16.00KiB
> Metadata, RAID1: total=4.00GiB, used=711.34MiB
> GlobalReserve, single: total=240.00MiB, used=128.00KiB
> ERROR: error during balancing '/' - No space left on device
And there's tons of space in already created data and metadata chunks.
So something is wrong, and I really wouldn't persist on trying to make
this work with an older kernel and progs. So I suggest putting the
volume on a system with a 4.1 kernel and 4.1 progs, and running a
btrfs check without --repair and report back with the full output.
Once you get things fixed up, it seems going back to the CentOS 7.1
kernel is fine. But periodically you might have to revert to a newer
kernel for some maintenance, at least until the fix for the problem
makes it into a future CentOS kernel.
Chris Murphy
next prev parent reply other threads:[~2015-07-03 18:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 5:32 btrfs full, but not full, can't rebalance Rich Rauenzahn
2015-07-03 5:45 ` Donald Pearson
2015-07-03 5:57 ` Rich Rauenzahn
2015-07-03 6:01 ` Donald Pearson
2015-07-03 6:03 ` Rich Rauenzahn
2015-07-03 6:05 ` Donald Pearson
2015-07-03 7:56 ` Rich Rauenzahn
2015-07-03 17:28 ` Rich Rauenzahn
2015-07-03 18:04 ` Chris Murphy [this message]
2015-07-12 6:10 ` Rich Rauenzahn
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=CAJCQCtQmppYhavcOcef2Nv3ZmpVYe+4b6LLSAvfAMdCD5bTvGw@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).