Skip to content

zfs_autobackup created file systems report busy to attempts to destroy -r #126

Answered by Scrin
hput asked this question in Q&A
Discussion options

You must be logged in to vote

zfs will show datasets as busy if they have an active hold and you try to delete them. zfs_autobackup uses holds to prevent deleting common snapshots required for incremental transfers.

You can use zfs holds path/to/dataset@name-of-the-snapshot to display the holds for a specific snapshot, and zfs release <tag> path/to/dataset@name-of-the-snapshot to release such hold. However do note that if you delete the last common snapshot (as marked by the hold), you will be unable to run zfs_autobackup on that dataset without first fully destroying the target dataset.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@hput
Comment options

@psy0rz
Comment options

@psy0rz
Comment options

@psy0rz
Comment options

Answer selected by psy0rz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants