From: Karsten Vinding <karstenvinding@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Balance of Raid1 pool, does not balance properly.
Date: Tue, 8 Jan 2019 20:40:12 +0100 [thread overview]
Message-ID: <cbffc26e-a57f-e1ad-284c-a54431c4e2f1@gmail.com> (raw)
Hello.
I have a Raid1 pool consisting of 6 drives, 3 3TB disks and 3 2TB disks.
Until yesterday it consisted of 3 2TB disks, 2 3TB disks and one 1TB disk.
I replaced the 1TB disk as the pool was close to full.
Replacement went well, and I ended up with 5 almost full disks, and 1
3TB disk that was one third full.
So I kicked of a balance, expecting it to balance the data as evenly as
possible on the 6 disks (btrfs balace start poolname).
The balance ran fine but I ended up with this:
Total devices 6 FS bytes used 5.66TiB
devid 9 size 2.73TiB used 2.69TiB path /dev/sdf
devid 10 size 1.82TiB used 1.78TiB path /dev/sdb
devid 11 size 1.82TiB used 1.73TiB path /dev/sdc
devid 12 size 1.82TiB used 1.73TiB path /dev/sdd
devid 13 size 2.73TiB used 2.65TiB path /dev/sde
devid 15 size 2.73TiB used 817.87GiB path /dev/sdg
The sixth drive sdg, is still only one third full.
How do I force BTRFS to distribute the data more evenly across the disks?
The way BTRFS has done it now, will bring problems, when I write more
data to the array.
next reply other threads:[~2019-01-08 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-08 19:40 Karsten Vinding [this message]
2019-01-09 1:08 ` Balance of Raid1 pool, does not balance properly Duncan
2019-01-09 17:20 ` Karsten Vinding
2019-01-09 20:47 ` Peter Becker
2019-01-10 18:21 ` Karsten Vinding
2019-01-10 18:58 ` Peter Becker
2019-01-11 22:04 ` Karsten Vinding
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=cbffc26e-a57f-e1ad-284c-a54431c4e2f1@gmail.com \
--to=karstenvinding@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).