Skip to content

Question: Is there a reliable way to programmatically determine whether a particular dataset is currently being received into? #9999

Answered by allanjude
jgottula asked this question in Q&A
Discussion options

You must be logged in to vote

If the zfs recv operation is ongoing, the dataset will be locked, and a snapshot will not be able to be created:

# zfs recv zroot/testing < replication_stream.zfs &
# zfs snapshot zroot/testing@testing
cannot create snapshot 'zroot/testing@testing': dataset is busy

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by behlendorf
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
Converted from issue

This discussion was converted from issue #9999 on December 22, 2020 00:44.