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/sounds at 421 | ssh host1 /usr/sbin/zfs recv beta or usr/sbin/zfs send andrius/sounds at 421 | ssh host1 /usr/sbin/zfs recv beta/sounds answer come ssh: host1: node name or service name not known What has been done bad? -- Regards, Andrius Burlega -------------- next part -------------- A non-text attachment was scrubbed... Name: burlega.vcf Type: text/x-vcard Size: 146 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080621/7139dcf2/attachment.vcf>
Andrius <burlega at web.de> 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/sounds at 421 | ssh host1 /usr/sbin/zfs recv beta > or > usr/sbin/zfs send andrius/sounds at 421 | 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. Boyd
2008/6/21 Andrius <burlega at web.de>:> 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/sounds at 421 | ssh host1 /usr/sbin/zfs recv beta > or > usr/sbin/zfs send andrius/sounds at 421 | ssh host1 /usr/sbin/zfs recv > beta/sounds > answer come > ssh: host1: node name or service name not known > > What has been done bad?There is no computer named host1? That is a ssh error message, start by checking the ssh part by itself. If both zpools are on the same computer you don''t have to use ssh.
Boyd Adamson wrote:> Andrius <burlega at web.de> 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/sounds at 421 | ssh host1 /usr/sbin/zfs recv beta >> or >> usr/sbin/zfs send andrius/sounds at 421 | 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. > > Boyd >Second pool is in the same machine. What to write instead of host2? -- Regards, Andrius Burlega -------------- next part -------------- A non-text attachment was scrubbed... Name: burlega.vcf Type: text/x-vcard Size: 146 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080622/9cb7e085/attachment.vcf>
James C. McPherson
2008-Jun-22 03:18 UTC
[zfs-discuss] Confusion with snapshot send-receive
Andrius wrote:> Boyd Adamson wrote: >> Andrius <burlega at web.de> 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/sounds at 421 | ssh host1 /usr/sbin/zfs recv >>> beta >>> or >>> usr/sbin/zfs send andrius/sounds at 421 | 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/sounds at 421 | /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
James C. McPherson wrote:> Andrius wrote: >> Boyd Adamson wrote: >>> Andrius <burlega at web.de> 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/sounds at 421 | ssh host1 /usr/sbin/zfs recv >>>> beta >>>> or >>>> usr/sbin/zfs send andrius/sounds at 421 | 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/sounds at 421 | /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. -- Regards, Andrius Burlega -------------- next part -------------- A non-text attachment was scrubbed... Name: burlega.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080623/ba1fe1c4/attachment.vcf>
Cindy.Swearingen at Sun.COM
2008-Jun-23 20:41 UTC
[zfs-discuss] [SOLVED] Confusion with snapshot send-receive
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 <burlega at web.de> 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/sounds at 421 | ssh host1 /usr/sbin/zfs >>>>> recv beta >>>>> or >>>>> usr/sbin/zfs send andrius/sounds at 421 | 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/sounds at 421 | /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 at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss