Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* btrfs raid1 balance slow
@ 2020-01-20 22:08 kjansen387
  2020-01-20 22:13 ` Hugo Mills
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: kjansen387 @ 2020-01-20 22:08 UTC (permalink / raw)
  To: linux-btrfs

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).

Is this normal ? I have to repeat this process 2 times (adding more 2TB 
disks), any way I can make it faster ?

Thanks!
Klaas


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-22  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20 22:08 btrfs raid1 balance slow kjansen387
2020-01-20 22:13 ` Hugo Mills
2020-01-20 23:59 ` Qu Wenruo
2020-01-21  9:51 ` kjansen387
2020-01-22  8:18   ` kjansen387

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox