2011-10-18 16:26, Darren J Moffat пишет:
On 10/18/11 13:18, Edward Ned Harvey wrote:
* btrfs is able to balance. (after adding new blank devices, rebalance, so
the data& workload are distributed across all the devices.) zfs is not
able to do this yet.

ZFS does slightly biases new vdevs for new writes so that we will get to a more even spread. It doesn't go and move already written blocks onto the new vdevs though. So while there isn't an admin interface to rebalancing ZFS does do something in this area.

This is implemented in metaslab_alloc_dva()


See lines 1356-1378

And the admin interface would be what exactly?..

After adding a device, I'd kick it "go rewrite old
data including snapshots and clones so it's written
in a balanced manner anew? Kind of like send-recv
in the same pool? Why is it not done yet? ;)


zfs-discuss mailing list

Reply via email to