I attempted to migrate data from one zfs pool to another, larger one (both
pools are currently mounted on the same host) using the snapshot send/receive
functionality. Of course, I could use something like rsync/cpio/tar instead,
but I'd have to first manually create all the target FSes, and
You need the zfs receive -u option.
-- richard
Andrew Daugherity wrote:
I attempted to migrate data from one zfs pool to another, larger one (both
pools are currently mounted on the same host) using the snapshot send/receive
functionality. Of course, I could use something like rsync/cpio/tar
To elaborate, the -u option to zfs receive suppresses all mounts. The
datasets you extract will STILL have mountpoints that might not work on
the local system, but at least you can unpack the entire hierarchy of
datasets and then modify mountpoints as needed to arrange to make the
file
FYI...
The -u option is described in the ZFS admin guide and the ZFS
troubleshooting wiki in the areas of restoring root pool snapshots.
The -u option is described in the zfs.1m man page starting in the
b115 release:
http://docs.sun.com/app/docs/doc/819-2240/zfs-1m
Cindy
Lori Alt wrote: