Skip to content

zstream: Add subcommand applying zvol stream to block device or raw disk image#18565

Draft
ryan-moeller wants to merge 2 commits into
openzfs:masterfrom
KlaraSystems:zstream-raw
Draft

zstream: Add subcommand applying zvol stream to block device or raw disk image#18565
ryan-moeller wants to merge 2 commits into
openzfs:masterfrom
KlaraSystems:zstream-raw

Conversation

@ryan-moeller
Copy link
Copy Markdown
Contributor

I will fill this out when time is available.

Motivation and Context

Description

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Ryan Moeller added 2 commits May 11, 2026 22:38
This is a duplicate of the same function found in other commands, to be
used by upcoming work.

Sponsored-by: Klara, Inc.
Sponsored-by: Railway Corporation
Signed-off-by: Ryan Moeller <ryan.moeller@klarasystems.com>
Introduce a "zstream raw" command based on "zstream dump".

This command allows zvol send streams to be applied to a raw disk image
or block device, with support for incremental sends and compression.

Encrypted (raw) streams are not supported, but compression, large
blocks, and embedded write records are handled.

Sponsored-by: Klara, Inc.
Sponsored-by: Railway Corporation
Signed-off-by: Ryan Moeller <ryan.moeller@klarasystems.com>
@github-actions github-actions Bot added the Status: Work in Progress Not yet ready for general review label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Work in Progress Not yet ready for general review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant