On Oct 21, 2014, at 4:14 PM, Piotr Pawłow <p...@siedziba.pl> wrote:

> On 21.10.2014 20:59, Tomasz Chmielewski wrote:
>> FYI - after a failed disk and replacing it I've run a balance; it took 
>> almost 3 weeks to complete, for 120 GBs of data:
> 
> Looks normal to me. Last time I started a balance after adding 6th device to 
> my FS, it took 4 days to move 25GBs of data.

It's long term untenable. At some point it must be fixed. It's way, way slower 
than md raid.

> I think it is so slow, because it's disassembling chunks piece by piece and 
> stuffing these pieces elsewhere, instead of moving chunks as a whole. If you 
> have a lot of little pieces (as I do), it will take a while…

At a certain point it needs to fallback to block level copying, with a ~ 32KB 
block. It can't be treating things as if they're 1K files, doing file level 
copying that takes forever. It's just too risky that another device fails in 
the meantime.


Chris Murphy--
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