Gentoo Archives: gentoo-user

From: "Marc Stürmer" <mail@×××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] btrfs fails to balance
Date: Mon, 19 Jan 2015 10:46:19
Message-Id: 54BCE066.5090205@marc-stuermer.de
In Reply to: [gentoo-user] btrfs fails to balance by Bill Kenworthy
1 Am 19.01.2015 um 09:32 schrieb Bill Kenworthy:
2
3 > Can someone suggest what is causing a balance on this raid 1, 3 disk
4 > volume to successfully complete but leave the data unevenly distributed?
5 > Content is mostly VM images.
6 >
7 > sdc and sdd are 2TB WD greens, and sda is a 2TB WD red.
8
9 Question: was /dev/sda a smaller HDD before the 2 TB WD red?
10
11 If your sda was around 250 GB before you changed it with 2 TB, did you
12 just issue a "btrfs balance" after that? If so, Btrfs just configured
13 itself for 2*2 TB + 1*250 GB, that's why.
14
15 The proper Btrfs way if replacing a smaller hdd for a bigger one in Raid
16 1 is to issue "btrfs filesystem resize" to make it use all of the
17 available space.
18
19 This would be one possible explanation for the behaviour of your array.

Replies

Subject Author
Re: [gentoo-user] btrfs fails to balance Bill Kenworthy <billk@×××××××××.au>