Skip to content

problame/zquash

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

zquash

zquash is a tool for squashing adjacent incremental ZFS send streams without using ZFS.

The code base is nothing but a proof-of-concept, very hacky, and not suitable for production.

zquash was written by Anton Schirg and Christian Schwarz in Feb-Apr 2019 based on ZFS on Linux 0.8-rc?. It was udpated to work with 0.8 release in Dec 2019.

Limitations

  • Only works with ZoL 0.8 encrypted streams (-w flag, see demo.bash)
  • Only tested for adjacent incremental streams, not for squashing a full + incremental stream

Building

Build zquash (by example on Ubuntu 19.10):

# install rust stable (tested on 1.39), e.g. using rustup.rs
apt install clang libzfslinux-dev libnvpair1linux
# clone this repo, change to root of repo
cargo build

Demo

Read & understand the shell script ./demo.bash, then run it as root.

About

zquash is a PoC for squashing adjacent incremental ZFS send streams WITHOUT USING ZFS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published