-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete dataset (v0.4.0) #44
Comments
@Tualua |
Sorry for late reply Example code:
|
In my previous testing scenario, there is an issue when trying to delete a pool created via the command line using the API interface. However, when a pool is created using the API interface and then deleted using the same API interface, there is no problem. |
@alphandbelt Is dataset mounted? Because 'zfs destroy' will unmount or try to unmount implicitly, thats not the case with an API. https://openzfs.github.io/openzfs-docs/man/master/8/zfs-destroy.8.html |
Hello! I cannot delete dataset, both ds.Destroy and ds.DestroyRecursive returns "dataset is busy", however I can delete it with "zfs destroy"
zfs-2.1.0
What am I missing?
The text was updated successfully, but these errors were encountered: