Hi,

I'm trying to send a pool (its filesystems) from a pc to another, so I first 
created a recursive snapshot:

# zfs list
NAME                         USED  AVAIL  REFER  MOUNTPOINT
nas                          840G   301G  3,28G  /nas
nas/drivers                 12,6G   301G  12,6G  /nas/drivers
nas/nwserv                   110G   301G  49,0G  /nas/nwserv
nas/rsync_clienti            166G   301G  17,5G  /nas/rsync_clienti
nas/rsync_privati            560M   301G  36,5K  /nas/rsync_privati
nas/rsync_privati/gianluca   560M   301G   560M  /nas/rsync_privati/gianluca
nas/samba                    486G   301G   486G  /nas/samba
nas/sviluppo-bak            1,91G   301G  1,60G  /nas/sviluppo-bak
nas/winsrv                  60,0G   301G  55,1G  /nas/winsrv

# zfs snapshot -r n...@t1

zfs list -t snapshot -r nas | grep T1
n...@t1                                                                  0      
-  3,28G  -
nas/driv...@t1                                                          0      
-  12,6G  -
nas/nws...@t1                                                           0      
-  49,0G  -
nas/rsync_clie...@t1                                                 101K      
-  17,5G  -
nas/rsync_priv...@t1                                                    0      
-  36,5K  -
nas/rsync_privati/gianl...@t1                                           0      
-   560M  -
nas/sa...@t1                                                            0      
-   486G  -
nas/sviluppo-...@t1                                                     0      
-  1,60G  -
nas/win...@t1                                                           0      
-  55,1G  -

So, now I have a recursive snapshot encompassing all my nas pool and its 
filesystems.

Then I issued a:

pfexec /sbin/zfs send -R n...@t1 | ssh biscotto pfexec /sbin/zfs recv -dF 
iscsi/nasone

this one from an user account which has auto login on the receiving box; the 
copy started ok and kept running for more than an hour, but stopped with this 
error:

warning: cannot send 'nas/nws...@zfs-auto-snap.frequent-2009-06-08-11.00': no 
such pool or dataset
warning: cannot send 'nas/nws...@zfs-auto-snap.frequent-2009-06-08-11.15': no 
such pool or dataset
warning: cannot send 'nas/nws...@t1': incremental source 
(@zfs-auto-snap.frequent-2009-06-08-11.15) does not exist

Now, from the error it seems that T1 needs all the snapshots which were active 
at the time it was created, which is not what I would expect from a snapshot.

I've now stopped the auto-snapshot service and restarted the send, but I'm 
wondering if this is the correct and expected behaviour or If I'm making 
something wrong or maybe I did not fully understand what send -R is supposed to 
do.

Maurilio
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to