From: Ilya Dryomov <idryomov@gmail.com>
To: Tim Castle <timcastle@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs balance resume + raid5/6
Date: Sat, 22 Jun 2013 14:02:23 +0300 [thread overview]
Message-ID: <20130622110223.GA2021@zambezi.lan> (raw)
In-Reply-To: <loom.20130616T072808-446@post.gmane.org>
On Sun, Jun 16, 2013 at 06:00:10AM +0000, Tim Castle wrote:
> Greetings!
>
> I'm testing raid6, and recently added two drives.
> I haven't been able to properly resume a balance operation: the number of
> total chunks is always too low.
>
> It seems that the balance starts and pauses properly, but always resumes
> with ~7 chunks.
Hi Tim,
This is the expected behaviour. Balance does not actually remember
which chunks it had processed before it was paused, instead it uses a
heuristic which is based on the amount of space used out of each chunk.
As you have an almost full filesystem, all of your chunks, except for
those ~7, are fully (or almost fully) used, and balance resume simply
skips them. If you really want to balance everything (why?) you would
have to run balance to completion, w/o pausing it.
Thanks,
Ilya
prev parent reply other threads:[~2013-06-22 11:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-16 6:00 btrfs balance resume + raid5/6 Tim Castle
2013-06-22 11:02 ` Ilya Dryomov [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=20130622110223.GA2021@zambezi.lan \
--to=idryomov@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=timcastle@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).