[zfs-discuss] possible to override/inherit mountpoint on received snapshots?

2009-07-07 Thread Andrew Daugherity
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

Re: [zfs-discuss] possible to override/inherit mountpoint on received snapshots?

2009-07-07 Thread Richard Elling
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

Re: [zfs-discuss] possible to override/inherit mountpoint on received snapshots?

2009-07-07 Thread Lori Alt
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

Re: [zfs-discuss] possible to override/inherit mountpoint on received snapshots?

2009-07-07 Thread Cindy . Swearingen
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: