Skip to content

btrfs balance on mixed capacity drives #802

Open
@CHerSun

Description

@CHerSun

Hi. Sorry if this is a duplicate, but I wasn't able to find issue on this.

I'm using RAID1 on 5 drives, all of the drives were 3 TB. Recently I've had to switch a failed drive to a 4 TB one. And only then I noted, that btrfs balances based on unallocated space on the drive and not on percentage used (used/total) of the drive. Between 3 and 4 TB drives that won't cause too large skew, but googling I've noted cases where ppl use configurations like 1+1+3+3 drives, and there this causes a huge skew, forcing to basically 2 disks until ~2 TB is written. I'm considering to upgrade to ~18 TB drives one by one - then I will get this skew too.

So the question is if it's possible to switch to percentage-based balancing. If not - could that be added? Is there any doc where I could read more on this decision?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionNot a bug, clarifications, undocumented behaviour

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions