zfs error: cannot destroy xxxxxxx: dataset is busy

mcdull

Member
Aug 23, 2020
65
2
13
46
I encountered error on a very basic operation.
I created a zfs pool and created thin provision VM disk image on it.
After some testing, I decided to remove the disks but show "dataset is busy"

The storage is only being used for VM disk image. i.e. No iSCSI, No container.

I tried reboot, filtering in /etc/pve/storage.cfg

Finally, I even removed the entired VM, which the disks are still in the pool and now belongs to unknown VM.

Code:
fuser -am /dev/nvmepool/vm-303-disk-1
/dev/zd32:

No process is locking the disk, and I am out of ideas.....