Skip to content

Commit

Permalink
disable incomplete stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Aug 29, 2023
1 parent ee1d17b commit 2c5d3c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions zfs_autobackup/ZfsAutoverify.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .ZfsNode import ZfsNode
import sys

raise("need to be rewritten to use zfs-check")

# # try to be as unix compatible as possible, while still having decent performance
# def compare_trees_find(source_node, source_path, target_node, target_path):
Expand Down
2 changes: 1 addition & 1 deletion zfs_autobackup/ZfsCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def prepare_zfs_volume(self, snapshot):

time.sleep(1)

raise (Exception("Timeout while waiting for /dev entry to appear. (looking in: {})".format(locations)))
raise (Exception("Timeout while waiting for /dev entry to appear. (looking in: {}). Hint: did you forget to load the encryption key?".format(locations)))

def cleanup_zfs_volume(self, snapshot):
"""destroys temporary volume snapshot"""
Expand Down

0 comments on commit 2c5d3c5

Please sign in to comment.