Truenas - ZFS Over iSCSI - cannot delete Lun

Oct 10, 2022
3
0
1
Hello everyone,

I tried to configure my proxmox 7.2-11 Servers with my Truenas server (13.0 U2), using the plugin developed by TheGrandWazoo: https://github.com/TheGrandWazoo/freenas-proxmox (Thanks to him)

I made mistakes during the setup, but finally I was able to migrate disk on it, and VMs work perfectly.

But, I noticed something strange. If I move disks to another storage, the delete doesn't work, with the error dataset is busy:

1666110418903.png

So I tried to move disk without delete the source (works perfectly), and when the move is finished

1666110687983.png

I try to remove the Unused Disk, and once again:

1666110750681.png

But, If I wait for 5 or 10 minutes....and I retry the delete.... it works:

1666111062586.png

I tested with several Truenas versions:

Truenas Core 12.0-U8.1 --> Problem at remove, but after some minutes it works
Truenas Core 13.0-U2 --> Problem at remove, but after some minutes it works
Truenas Scale 22.02.4 --> Works perfectly without errors

I could stay with Truenas Scale, but to be honest I have much better performance with Truenas Core


I took time, looking on the forum, the Truenas Forum, and the Github project, before creating this post

I found some references (https://github.com/TheGrandWazoo/freenas-proxmox/issues/51), but it seems to be fixed

So if someone has the solution, he'll have all my gratitude
 
Based on the description, I suspect there is some sort of processing/activity happening inside the Truenas (independent of PVE) that is keeping the dataset busy.
Ideally you should try to reproduce the behavior without PVE or Plugin. Executing the same commands (provision,attach,detach,delete) and report it to Truenas support for advice.
Alternatively you can try to reach out to the author of the plugin by reporting an issue on github.

If the storage is truly taking 5min to release the dataset - there is no timeout variable that can be set to that high of the value in PVE to allow for seamless processing.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!