[zfs-discuss] ZFS Send/Receive Question

2010-04-12 Thread Robert Loper
I am trying to duplicate a filesystem from one zpool to another zpool.  I
don't care so much about snapshots on the destination side...I am more
trying to duplicate how RSYNC would copy a filesystem, and then only copy
incrementals from the source side to the destination side in subsequent runs
until I can complete a switch-over.  What would be some examples of the
syntax in zfs send/receive?

-- 
Robert Loper
rlo...@gmail.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs send/receive question

2007-04-17 Thread Cindy . Swearingen

Chris,

This option will be available in the upcoming Solaris 10 release, a
few months from now.

We'll send out a listing of the new ZFS features around that time.

Cindy

Krzys wrote:
Ah, ok, not a problem, do you know Cindy when next Solaris Update is 
going to be released by SUN? Yes, I am running U3 at this moment.


Regards,

Chris

On Mon, 16 Apr 2007, [EMAIL PROTECTED] wrote:


Chris,

Looks like you're not running a Solaris release that contains
the zfs receive -F option. This option is in current Solaris community
release, build 48.

http://docs.sun.com/app/docs/doc/817-2271/6mhupg6f1?a=view#gdsup

Otherwise, you'll have to wait until an upcoming Solaris 10 release.

Cindy

Krzys wrote:

[18:19:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED] 
mypool/[EMAIL PROTECTED] | zfs receive -F mypool2/[EMAIL PROTECTED]

invalid option 'F'
usage:
 receive [-vn] filesystem|volume|snapshot
 receive [-vn] -d filesystem

For the property list, run: zfs set|get

It does not seem to work unless I am doing it incorectly.

Chris

On Tue, 17 Apr 2007, Nicholas Lee wrote:


On 4/17/07, Krzys [EMAIL PROTECTED] wrote:




and when I did try to run that last command I got the following error:
[16:26:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED]
mypool/[EMAIL PROTECTED] |
zfs receive mypool2/[EMAIL PROTECTED]
cannot receive: destination has been modified since most recent 
snapshot


is there any way to do such replication by zfs send/receive and avoind
such
error message? Is there any way to force file system not to be 
mounted? Is

there
any way to make it maybe read only parition and then when its 
needed maybe

make
it live or whaverer?





Check the -F option to zfs receive. This automatically rolls back the
target.
Nicholas


___
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


!DSPAM:122,4623fa8a1809423226276!


___
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


Re: [zfs-discuss] zfs send/receive question

2007-04-16 Thread Krzys
[18:19:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED] mypool/[EMAIL PROTECTED] | 
zfs receive -F mypool2/[EMAIL PROTECTED]

invalid option 'F'
usage:
receive [-vn] filesystem|volume|snapshot
receive [-vn] -d filesystem

For the property list, run: zfs set|get

It does not seem to work unless I am doing it incorectly.

Chris

On Tue, 17 Apr 2007, Nicholas Lee wrote:


On 4/17/07, Krzys [EMAIL PROTECTED] wrote:



and when I did try to run that last command I got the following error:
[16:26:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED]
mypool/[EMAIL PROTECTED] |
zfs receive mypool2/[EMAIL PROTECTED]
cannot receive: destination has been modified since most recent snapshot

is there any way to do such replication by zfs send/receive and avoind
such
error message? Is there any way to force file system not to be mounted? Is
there
any way to make it maybe read only parition and then when its needed maybe
make
it live or whaverer?



Check the -F option to zfs receive. This automatically rolls back the
target.
Nicholas


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs send/receive question

2007-04-16 Thread Cindy . Swearingen

Chris,

Looks like you're not running a Solaris release that contains
the zfs receive -F option. This option is in current Solaris community
release, build 48.

http://docs.sun.com/app/docs/doc/817-2271/6mhupg6f1?a=view#gdsup

Otherwise, you'll have to wait until an upcoming Solaris 10 release.

Cindy

Krzys wrote:
[18:19:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED] 
mypool/[EMAIL PROTECTED] | zfs receive -F mypool2/[EMAIL PROTECTED]

invalid option 'F'
usage:
 receive [-vn] filesystem|volume|snapshot
 receive [-vn] -d filesystem

For the property list, run: zfs set|get

It does not seem to work unless I am doing it incorectly.

Chris

On Tue, 17 Apr 2007, Nicholas Lee wrote:


On 4/17/07, Krzys [EMAIL PROTECTED] wrote:




and when I did try to run that last command I got the following error:
[16:26:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED]
mypool/[EMAIL PROTECTED] |
zfs receive mypool2/[EMAIL PROTECTED]
cannot receive: destination has been modified since most recent snapshot

is there any way to do such replication by zfs send/receive and avoind
such
error message? Is there any way to force file system not to be 
mounted? Is

there
any way to make it maybe read only parition and then when its needed 
maybe

make
it live or whaverer?




Check the -F option to zfs receive. This automatically rolls back the
target.
Nicholas


___
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


Re: [zfs-discuss] zfs send/receive question

2007-04-16 Thread Krzys
Ah, ok, not a problem, do you know Cindy when next Solaris Update is going to be 
released by SUN? Yes, I am running U3 at this moment.


Regards,

Chris

On Mon, 16 Apr 2007, [EMAIL PROTECTED] wrote:


Chris,

Looks like you're not running a Solaris release that contains
the zfs receive -F option. This option is in current Solaris community
release, build 48.

http://docs.sun.com/app/docs/doc/817-2271/6mhupg6f1?a=view#gdsup

Otherwise, you'll have to wait until an upcoming Solaris 10 release.

Cindy

Krzys wrote:
[18:19:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED] 
mypool/[EMAIL PROTECTED] | zfs receive -F mypool2/[EMAIL PROTECTED]

invalid option 'F'
usage:
 receive [-vn] filesystem|volume|snapshot
 receive [-vn] -d filesystem

For the property list, run: zfs set|get

It does not seem to work unless I am doing it incorectly.

Chris

On Tue, 17 Apr 2007, Nicholas Lee wrote:


On 4/17/07, Krzys [EMAIL PROTECTED] wrote:




and when I did try to run that last command I got the following error:
[16:26:00] [EMAIL PROTECTED]: /root  zfs send -i mypool/[EMAIL PROTECTED]
mypool/[EMAIL PROTECTED] |
zfs receive mypool2/[EMAIL PROTECTED]
cannot receive: destination has been modified since most recent snapshot

is there any way to do such replication by zfs send/receive and avoind
such
error message? Is there any way to force file system not to be mounted? 
Is

there
any way to make it maybe read only parition and then when its needed 
maybe

make
it live or whaverer?




Check the -F option to zfs receive. This automatically rolls back the
target.
Nicholas


___
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


!DSPAM:122,4623fa8a1809423226276!


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs send/receive question

2007-04-16 Thread Shawn Walker

On 16/04/07, Krzys [EMAIL PROTECTED] wrote:

Ah, ok, not a problem, do you know Cindy when next Solaris Update is going to be
released by SUN? Yes, I am running U3 at this moment.


Summer is what I last read (July?).
--
Less is only more where more is no good. --Frank Lloyd Wright

Shawn Walker, Software and Systems Analyst
[EMAIL PROTECTED] - http://binarycrusader.blogspot.com/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss