Hi There, I''m getting invalid option error when I use ''-R'' option with zfs send command.> zfs send -R z1 at snap <mailto:z1 at snap> | zfs receive -F z2/backup-z1 > invalid option ''R'' > usage: > send [-i <snapshot>] <snapshot> > > For the property list, run: zfs set|get > cannot receive: invalid stream (failed to read first record)My co-worker and I were trying to save a snapshot of a zpool name ''z1'' to a new location <z2/backup-z1>; Here are the steps we did: zpool create -f z2 c0t3d0s2 zfs snapshot -r z1 at snap <mailto:z1 at snap> zfs send -R z1 at snap <mailto:z1 at snap> | zfs receive -F z2/backup-z1 (error occurred) Any advice how to solve this issue? Thanks, Wen -- Wenhwa Liu wenhwa.liu at oracle.com Office: x84799 / 650-786-4799 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100714/97f18ef4/attachment.html>
On Wed, Jul 14, 2010 at 5:01 PM, Wenhwa Liu <wenhwa.liu at oracle.com> wrote:> I''m getting invalid option error when I use ''-R'' option with > zfs send command.What build of solaris are you using? -- Brandon High : bhigh at freaks.com
The build is : Solaris 10 8/07 s10s_u4wos_12b SPARC zfs version: v4 VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS version 2 Ditto blocks (replicated metadata) 3 Hot spares and double parity RAID-Z 4 zpool history thanks, wen Brandon High wrote:> On Wed, Jul 14, 2010 at 5:01 PM, Wenhwa Liu <wenhwa.liu at oracle.com> wrote: > >> I''m getting invalid option error when I use ''-R'' option with >> zfs send command. >> > > What build of solaris are you using? > >-- Wenhwa Liu wenhwa.liu at oracle.com Office: x84799 / 650-786-4799 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100715/8d84a732/attachment.html>
On Thu, Jul 15, 2010 at 4:42 PM, Wenhwa Liu <wenhwa.liu at oracle.com> wrote:> The build is : Solaris 10 8/07 s10s_u4wos_12b SPARCu4 is pretty outdated. I don''t believe the userspace tools support -R. -B -- Brandon High : bhigh at freaks.com