Ahmed Kamal wrote:
> Did anyone share a script to send/recv zfs filesystems tree in
> parallel, especially if a cap on concurrency can be specified?
> Richard, how fast were you taking those snapshots, how fast were the
> syncs over the network. For example, assuming a snapshot every 10mins,
> is it reasonable to expect to sync every snapshot as they're created
> every 10 mins. What would be the limit trying to lower those 10mins
> even more
>   

We were snapping every hour with send/receive times on the order
of 25 minutes.  I do not believe there will be time to experiment with
other combinations.

> Is it catastrophic if a second zfs send launches, while an older one
> is still being run
>   

I use a semaphore property to help avoid this, by design. That said,
I have not tried to see if there is a lurking bug with ZFS receive that
would need to be fixed if it cannot handle concurrent receives. My
send/receive script will incrementally copy from the latest, common
snapshot to the latest snapshot. For rsync, it will sync from the
epoch to the latest snapshot.
 -- richard

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

Reply via email to