Resumable ZFS Send Streams
New in Oracle Solaris 11.4, is the ability to resume ZFS send streams if a network transmission is interrupted or an error occurs, Basically, ZFS send streams can be restarted where they left off once network connectivity has been reestablished.
Using ZFS Send and Receive to transfer ZFS snapshots across systems is a convenient way to replicate ZFS file system data previously suffering from the following issues:
- A ZFS send operation could take many hours or days to complete. During that time, the send operation could be interrupted by a network outage or a system failure.
- If the send operation fails to complete, even if it is almost complete, it must be restarted from the beginning.
- The ZFS send operation might be unable to transfer large streams in the window between interruptions.
- A ZFS recv operation might be unable to detect and report transmission errors until the entire stream has been processed.
With this new Solaris 11.4 release these features now provides a way for ZFS send streams to be resumed at the point they were interrupted with the following new options:
- zfs receive -C — Writes a receive checkpoint to stdout.
- zfs send -C — Reads a receive checkpoint from stdin.
- zfs send -s (nocheck) — Disables the new on-the-wire format.
- zfs list -I (state) — Recursively displays incomplete datasets as incomplete datasets are not displayed by default.
For more information, see Managing ZFS File Systems in Oracle Solaris 11.4.
Read the entire article on the upcoming features in Oracle Solaris 11.4 (PDF).