Cannot delete a dataset — it says the dataset is busy or has dependents, and I cannot find what is holding it
I have a dataset left over from an experiment that I want gone. Deleting it fails: the system tells me it is busy, or that it has dependent clones or holds.
Nothing is obviously using it. It is not shared, no application is pointed at it as far as I know, and unmounting it also fails.
I can see there is a force option. I have not used it because I do not know what it forces, and I would rather understand what is holding the dataset than break something adjacent to it.
How do I find the actual dependency?
@jail_holdout · 13h ago
The one that gets me every time is the stopped virtual machine.
The VM is off, so mentally it does not exist, but its disk definition still references the dataset and the system will not let go. Same for a container that is stopped but not removed — the mount is part of the definition, not the running state.
So when you go looking, look at defined objects, not running ones. Anything in the system that has ever been pointed at that path and has not been deleted.
Second one, less obvious: a replication task with that dataset as its source. Even a disabled task keeps the reference and can be what placed a hold.
Reply
Report