Re: ZFS pool balance and performance

From: Gerrit Kühn <gerrit.kuehn_at_aei.mpg.de>
Date: Mon, 25 Aug 2025 06:18:30 UTC
Am Sun, 24 Aug 2025 10:41:40 -0400
schrieb Chris Ross <cross+freebsd@distal.com>:

> > I'm unaware of any good means to rebalance allocation
> > "in-place."  

> Yeah, google search suggested there isn’t any way to rebalance.

I think a faced a badly balanced pool after adding more disks many years
ago, and just wrote the files to themselves using rsync or similar to make
zfs rebalance them. After doing a bit of google, I just found this script
which appears to to something similar (although it creates a real copy
first and does not write files to themselves directly):
https://github.com/markusressel/zfs-inplace-rebalancing/blob/master/README.md


HTH
cu
  Gerrit