Skip to content

mjansens/zvol_snap_diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

zvol_snap_diff

Read Optimized diff for zfs volumes (zvol) snapshots I wrote this after trying for days to "zfs send|zfs receive" SmartOS VM disks to another host while keeping the "clone architecture" intact.

2 PHP programs:

  • zvol_snap_diff.php : diffs 2 zfs volumes snapshots and outputs a diff stream.
  • cow_patch.php : applies the diff to a block device (same blocksize as source)
zvol_snap_diff.php uses 'zdb -vvvvv ' output to get a list of blocks (offset+checksums) in both snaps and compares checksums of blocks.

About

diff for zfs volumes snapshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages