On Thu, 17 Sep 2009, Joe Toppi wrote:
I filled this with data. So I added a 1.5 TB drive to the pool.
Where will my ditto blocks and checksums go? Will it migrate data
from the other drives automatically? Will it migrate data if I scrub
or re-silver? will it never migrate data and just store all the new
blocks and checksums on the new drive?
Zfs does not automatically migrate data just because you added more
drives. Scrub will only migrate failing data blocks. Resilver
clones a failing disk. When a vdev becomes very full, more writes
will be directed to the empty devices.
If you have enough free disk space to store everything you had before,
plus lots of space to spare, you could try creating a new filesystem
in the pool and using zfs send to send from the existing filesystem to
the new filesystem, and then destroy the old filesystem once you are
satisified with the new one. This would only work if there is
considerably more free space than existing data and the result will
still be lop-sided.
If you have a whole lot of reliable storage space elsewhere, you could
use zfs send to send to a file in that other storage space, destroy
the old filesystem, and then recreate it with your zfs send file.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
zfs-discuss mailing list