zfs error: cannot destroy xxxxxxx: dataset is busy

mcdull

Member
Aug 23, 2020
65
2
13
45
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.....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!