[OpenIndiana-discuss] [zfs-discuss] zfs incremental send?
Reginald Beardsley
pulaskite at yahoo.com
Tue Mar 29 13:07:06 UTC 2011
??? It's trivial to interrupt and resume a ZFS send, full or incremental. It's a stream like any other. Just suspend the sending process.
Job control in the shell works, but for production use I'd suggest writing a small program pair to do this over a socket interface. That would provide a nice framework for implementing flow control based on system loads and avoid any issues on the receiving end w/ timeouts in a remote shell.
Have Fun!
Reg
--- On Tue, 3/29/11, Roy Sigurd Karlsbakk <roy at karlsbakk.net> wrote:
> From: Roy Sigurd Karlsbakk <roy at karlsbakk.net>
> Subject: Re: [OpenIndiana-discuss] [zfs-discuss] zfs incremental send?
> To: "Peter Jeremy" <peter.jeremy at alcatel-lucent.com>
> Cc: "ZFS Discussions" <zfs-discuss at opensolaris.org>, "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>, "Illumos Developers" <developer at lists.illumos.org>
> Date: Tuesday, March 29, 2011, 5:10 AM
> ----- Original Message -----
> > On 2011-Mar-29 02:19:30 +0800, Roy Sigurd Karlsbakk
> > <roy at karlsbakk.net>
> wrote:
> > >Is it (or will it) be possible to do a
> partial/resumable zfs
> > >send/receive? If having 30TB of data and only a
> gigabit link, such
> > >transfers takes a while, and if interrupted, will
> require a
> > >re-transmit of all the data.
> >
> > zfs send/receive works on snapshots: The smallest
> chunk of data that
> > can be sent/received is the delta between two
> snapshots. There's no
> > way to do a partial delta - defining the endpoint of a
> partial
> > transfer or the starting point for resumption is
> effectively a
> > snapshot.
>
> I know that's how it works, I'm merely pointing out that
> changing this to something resumable would be rather nice,
> since an initial transfer or 30 or 300 terabytes may easily
> be interrupted.
>
> Vennlige hilsener / Best regards
>
> roy
> --
> Roy Sigurd Karlsbakk
> (+47) 97542685
> roy at karlsbakk.net
> http://blogg.karlsbakk.net/
> --
> I all pedagogikk er det essensielt at pensum presenteres
> intelligibelt. Det er et elementært imperativ for alle
> pedagoger å unngå eksessiv anvendelse av idiomer med
> fremmed opprinnelse. I de fleste tilfeller eksisterer
> adekvate og relevante synonymer på norsk.
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list