Skip to content

Instantly share code, notes, and snippets.

@rkeiii
rkeiii / gist:0fe05fdcee6f520c208280acbf2b49ea
Created September 10, 2022 23:20
Hack fix script for volumes suffering ZFS encryption bug
#!/usr/bin/env bash
#
# This script attempts to recover a ZFS filesystem afflicted by the bug described in
# the following GitHub issues:
#
# * https://github.com/openzfs/zfs/issues/13859
# * https://github.com/openzfs/zfs/issues/13521
# * https://github.com/openzfs/zfs/issues/13709
#