On Tue, Oct 19, 2010 at 6:13 AM, Roy Sigurd Karlsbakk <r...@karlsbakk.net> 
wrote:
> Now, is there a way, manually or automatically, to somehow balance the data 
> across these LVOLs? My first guess is that doing this _automatically_ will 
> require block pointer rewrite, but then, is there way to hack this thing by 
> hand?

You could send | receive some datasets to the same system, then
destroy the original and rename the new copy back to the original
location. Or send a dataset to a different system, destroy the
original, and then send it back again.

Most of the new copy should end up on the new vdev, which will help
balance things some. Of course, since the new copy is still mostly on
one vdev and may not have better performance. Future writes will be
able to spread across all the vdevs.

You could continue to do this until you feel that datasets have been
balanced out. Imagine mixing two fluids by pouring them back and forth
between two glasses - After a few times it'll be a homogenous
solution.

This makes me wonder if a 'ghetto bp_rewrite' would be possible by
simply preventing future writes to one vdev and duplicating (even via
send | receive) all the blocks that are stored on that vdev.

-B

-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to