On 19/01/15 18:45, Marc Stürmer wrote:
> Am 19.01.2015 um 09:32 schrieb Bill Kenworthy:
> 
>> Can someone suggest what is causing a balance on this raid 1, 3 disk
>> volume to successfully complete but leave the data unevenly distributed?
>>   Content is mostly VM images.
>>
>> sdc and sdd are 2TB WD greens, and sda is a 2TB WD red.
> 
> Question: was /dev/sda a smaller HDD before the 2 TB WD red?
> 
> If your sda was around 250 GB before you changed it with 2 TB, did you
> just issue a "btrfs balance" after that? If so, Btrfs just configured
> itself for 2*2 TB + 1*250 GB, that's why.
> 
> The proper Btrfs way if replacing a smaller hdd for a bigger one in Raid
> 1 is to issue "btrfs filesystem resize" to make it use all of the
> available space.
> 
> This would be one possible explanation for the behaviour of your array.
> 

Brilliant, you have hit on the answer! - The ancient 300GB system disk
was sda at one point and moved to sdb - possibly at the time I changed
to using UUID's.  Ive just resized all the disks and its now moved past
300G for the first time as well as the other two falling in step with
the data moving.

I moved to UUID's as the machine has a number of sata ports and a PCI-e
sata adaptor and the sd* drive numbering kept moving around when I added
the WD red.

BillK



Reply via email to