I modified the ZFS Admin Guide to show a simple zfs send | zfs recv example, then a more complex example using ssh to another system.
Thanks for the feedback... Cindy Andrius wrote: > James C. McPherson wrote: > >> Andrius wrote: >> >>> Boyd Adamson wrote: >>> >>>> Andrius <[EMAIL PROTECTED]> writes: >>>> >>>>> Hi, >>>>> there is a small confusion with send receive. >>>>> >>>>> zfs andrius/sounds was snapshoted @421 and should be copied to new >>>>> zpool beta that on external USB disk. >>>>> After >>>>> /usr/sbin/zfs send andrius/[EMAIL PROTECTED] | ssh host1 /usr/sbin/zfs >>>>> recv beta >>>>> or >>>>> usr/sbin/zfs send andrius/[EMAIL PROTECTED] | ssh host1 /usr/sbin/zfs recv >>>>> beta/sounds >>>>> answer come >>>>> ssh: host1: node name or service name not known >>>>> >>>>> What has been done bad? >>>> >>>> >>>> Your machine cannot resolve the name "host1" into an IP address. >>>> This is >>>> a network configuration problem, not a zfs problem. >>>> >>>> You should find that >>>> ssh host1 >>>> >>>> fails too. >>> >>> Second pool is in the same machine. What to write instead of host2? >> >> >> try >> >> /usr/sbin/zfs send andrius/[EMAIL PROTECTED] | /usr/sbin/zfs recv beta/sounds >> >> >> You only need to pipe the zfs send output through ssh if >> you're actually sending it to a different system. >> >> >> James C. McPherson >> -- >> Senior Kernel Software Engineer, Solaris >> Sun Microsystems >> http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog >> > > Thanks, it works. Just strange, why s your simplified sample are hot in > ZFS Administration Guide. Somebody wanted to complicate things. > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss