From: Tim Castle <timcastle@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs balance resume + raid5/6
Date: Sun, 16 Jun 2013 06:00:10 +0000 (UTC) [thread overview]
Message-ID: <loom.20130616T072808-446@post.gmane.org> (raw)
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.
Here's an example:
vendikar tim # uname -r
3.10.0-031000rc4-generic
vendikar tim # btrfs fi sho
Label: 'bank' uuid: 682bd1f5-1bd3-479b-8882-867dfe32375f
Total devices 7 FS bytes used 4.70TB
devid 4 size 1.82TB used 1.44TB path /dev/dm-9
devid 1 size 2.73TB used 1.44TB path /dev/dm-8
devid 5 size 2.73TB used 1.44TB path /dev/dm-7
devid 6 size 931.51GB used 207.00GB path /dev/dm-6
devid 2 size 2.73TB used 1.44TB path /dev/dm-5
devid 3 size 2.73TB used 1.44TB path /dev/dm-4
devid 7 size 931.51GB used 207.00GB path /dev/dm-3
Btrfs v0.20-rc1-324-g650e656
vendikar tim # btrfs fi df bank/
Data, RAID6: total=4.71TB, used=4.69TB
System, RAID1: total=32.00MB, used=376.00KB
System: total=4.00MB, used=0.00
Metadata, RAID1: total=8.00GB, used=6.54GB
vendikar tim # btrfs balance start bank/
vendikar tim # btrfs balance status bank/
Balance on 'bank/' is running
3 out of about 1479 chunks balanced (4 considered), 100% left
vendikar tim # btrfs balance pause bank/
vendikar tim # btrfs balance status bank/
Balance on 'bank/' is paused
4 out of about 1479 chunks balanced (4 considered), 100% left
vendikar tim # btrfs balance resume bank
vendikar tim # btrfs balance status bank/
Balance on 'bank/' is running
1 out of about 4 chunks balanced (5 considered), 75% left
All the best,
Tim
next reply other threads:[~2013-06-16 6:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-16 6:00 Tim Castle [this message]
2013-06-22 11:02 ` btrfs balance resume + raid5/6 Ilya Dryomov
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=loom.20130616T072808-446@post.gmane.org \
--to=timcastle@gmail.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).