On Mon, 2009-06-08 at 05:38 -0700, Maurilio Longo wrote: > 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.
>From the man page, -R tries to replicate everything, including any existing snapshots to the send stream. What's probably happened, is that the auto-snapshot service has dutifully destroyed snapshots that have reached their expiration, and this has broken -R, which is trying to send those now-non-existent snapshots. I bet what you really want is 'zfs send -r f...@snap' which would send a snapshot of all descendant datasets with an '@snap' snapshot, rather than all snapshots of all descendant datasets up to '@snap': unfortunately that command argument doesn't exist. You could easily script this with: # zfs snapshot -r mydata...@t1 # for ds in $(zfs list -t filesystem,volume -o name -r mydataset) > do > echo sending $...@t1 > zfs send $...@t1 | ssh remote-host zfs recv -d foo > done cheers, tim _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss