On 2020/1/21 上午6:08, kjansen387 wrote: > Hello, > > I had a btrfs raid1 with 2 4TB SATA 5400RPM disks . Regular disk I/O is > about 2MB/sec per drive, ~40IOPS, mostly write. I had ~150GB free and > added one 2 TB disk and started the balance: > > btrfs device add -f /dev/sdb /export > btrfs filesystem balance /export > > It's now running for 24 hours, 70% remaining: > > # btrfs balance status -v /export > Balance on '/export' is running > 1057 out of about 3561 chunks balanced (1058 considered), 70% left > Dumping filters: flags 0x7, state 0x1, force is off > DATA (flags 0x0): balancing > METADATA (flags 0x0): balancing > SYSTEM (flags 0x0): balancing > > I have searched for similar cases, but, I do not have quotas enabled, I > do not have compression enabled, and my CPU supports sse4_2 . CPU > (i7-8700K) is doing fine, 80% idle (average over all threads). Are you using qgroup? If so, that would be the cause. Please use kernel newer than v5.2, which contains the optimization. > > Is this normal ? I have to repeat this process 2 times (adding more 2TB > disks), any way I can make it faster ? Just as Hugo said, cancel the current one, add all device, then rebalance. Thanks, Qu > > Thanks! > Klaas >
Attachment:
signature.asc
Description: OpenPGP digital signature
