I had a RAID-1 filesystem with 2*3TB disks and 330G of disk space free 
according to df -h.  I replaced a 3TB disk with a 4TB disk and df reported no 
change in the free space (as expected).

I added a 1TB disk to the filesystem and there was still no change!  I 
expected that adding a 1TB disk would give 3TB+1TB on one side and 4TB on the 
other so I would instantly get an extra 1TB of free space according to df -h.

1072 out of about 2734 chunks balanced (1073 considered),  61% left

I ran btrfs balance for just over a day and a btrfs balance status reported 
the above.  But it still only showed 860G free according to df -h.  I've 
cancelled the balance because 860G of free space is enough for the moment and 
I don't want that server running slowly and making noise any more.

I think that the allocation of disk space needs to be improved.  If I added a 
1TB disk to a pair of 3TB disks then it would be quite reasonably for some 
serious reallocation to be required to make use of the extra space.  But when 
I added a 1TB disk to an array that had a 3TB and a 4TB then it should be able 
to make use of the space quite easily.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to