From: Mario <dev@kicherer.org>
To: linux-btrfs@vger.kernel.org
Subject: Imbalanced RAID1 with three unequal disks
Date: Wed, 25 Nov 2015 12:36:32 +0100 [thread overview]
Message-ID: <56559D40.9050305@kicherer.org> (raw)
Hi,
I pushed a subvolume using send/receive to an 8 TB disk, added
two 4 TB disks and started a balance with conversion to RAID1.
Afterwards, I got the following:
Total devices 3 FS bytes used 5.40TiB
devid 1 size 7.28TiB used 4.54TiB path /dev/mapper/yellow4
devid 2 size 3.64TiB used 3.17TiB path /dev/mapper/yellow1
devid 3 size 3.64TiB used 3.17TiB path /dev/mapper/yellow2
Btrfs v3.17
Data, RAID1: total=5.43TiB, used=5.39TiB
System, RAID1: total=64.00MiB, used=800.00KiB
Metadata, RAID1: total=14.00GiB, used=5.55GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
In my understanding, the data isn't properly balanced and I
only get around 5.9TB of usable space. As suggested in #btrfs,
I started a second balance without filters and got this:
Total devices 3 FS bytes used 5.40TiB
devid 1 size 7.28TiB used 5.41TiB path /dev/mapper/yellow4
devid 2 size 3.64TiB used 2.71TiB path /dev/mapper/yellow1
devid 3 size 3.64TiB used 2.71TiB path /dev/mapper/yellow2
Data, RAID1: total=5.41TiB, used=5.39TiB
System, RAID1: total=32.00MiB, used=784.00KiB
Metadata, RAID1: total=7.00GiB, used=5.54GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
/dev/mapper/yellow4 7,3T 5,4T 969G 86% /mnt/yellow
Now, I get 6.3TB of usable space but, in my understand, I should
get around 7.28 TB or am I missing something here? Also, a second
balance shouldn't change the data distribution, right?
I'm using kernel v4.3 with a patch [1] from kernel bugzilla [2] for
the 8 TB SMR drive. The send/receive of a 5 TB subvolume worked
flawlessly with the patch. Without, I got a lot of errors in dmesg
within the first 200GB of transferred data. The OS is a x86_64
Ubuntu 15.04.
Thank you!
Mario
[1]
http://git.kernel.org/cgit/linux/kernel/git/mkp/linux.git/commit/?h=bugzilla-93581&id=7c4fbd50bfece00abf529bc96ac989dd2bb83ca4
[2] https://bugzilla.kernel.org/show_bug.cgi?id=93581
next reply other threads:[~2015-11-25 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 11:36 Mario [this message]
2015-11-25 15:14 ` Imbalanced RAID1 with three unequal disks 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=56559D40.9050305@kicherer.org \
--to=dev@kicherer.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.