hey all,
so i'm trying to mirror the contents of one zpool to another
using zfs send / recieve while maintaining all snapshots and clones.

essentially i'm taking a recursive snapshot.  them i'm mirroring
the oldest snapshots first and working my way forward.  to deal
with clones i have a hack that uses zfs promote.  i've scripted it
and things seem to work...  except of course for one thing.  ;)
there's one snapshot on my system that i can't seem to transfer.

here's the problem:
---8<---
[EMAIL PROTECTED] zfs send export/ws/[EMAIL PROTECTED] | zfs receive -v -d 
export2
receiving full stream of export/ws/[EMAIL PROTECTED] into export2/ws/[EMAIL 
PROTECTED]
received 134MB stream in 28 seconds (4.77MB/sec)
[EMAIL PROTECTED]
[EMAIL PROTECTED] zfs send -i 070221 export/ws/[EMAIL PROTECTED] | zfs receive 
-v -d export2
receiving incremental stream of export/ws/[EMAIL PROTECTED] into 
export2/ws/[EMAIL PROTECTED]
cannot receive: destination has been modified since most recent snapshot
---8<---

as far as i know, there's nothing special about these two snapshots.
---8<---
[EMAIL PROTECTED] zfs list | grep export/ws/xen-1
export/ws/xen-1                       105M  3.09G   104M  /export/ws/xen-1
export/ws/[EMAIL PROTECTED]                570K      -   103M  -
export/ws/[EMAIL PROTECTED]                     0      -   104M  -
[EMAIL PROTECTED] zfs get -Hp -o value creation export/ws/[EMAIL PROTECTED]
1172088367
[EMAIL PROTECTED] zfs get -Hp -o value creation export/ws/[EMAIL PROTECTED]
1192301172
---8<---

any idea what might be wrong here?  it seems that the problem is
on the recieve side.  i've even tried doing:
        zfs rollback export2/ws/[EMAIL PROTECTED]
before doing the second send but that didn't make any difference.

i'm currently running snv_74.  both pool are currently at zfs v8,
but the source pool has seen lots of zfs and live upgrades.

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

Reply via email to