Unable to create VM due to storage lock

dthacker9

Member
Jul 2, 2021
7
0
6
66
Versions: Proxmox V 7.4-3 OpenMediaVault 6.3.0-2
Type of Storage: NFS
Output of pvesm:
root@prox01:~# pvesm status Name Type Status Total Used Available % iso nfs active 2928454656 140402688 2788051968 4.79% local dir active 81568176 4679128 72699660 5.74% local-lvm lvmthin active 179601408 3376506 176224901 1.88% s01 lvmthin active 179601408 3376506 176224901 1.88% vm01 nfs active 2928454656 140402688 2788051968 4.79%

When creating a new VM from an iso, I get this error message:
Formatting '/mnt/pve/vm01/images/106/vm-106-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=214748364800 lazy_refcounts=off refcount_bits=16 TASK ERROR: unable to create VM 106 - unable to create image: 'storage-vm01'-locked command timed out - aborting

What I've tried:
- Shut down all VM's
- Reboot Storage
- Reboot promox host

How can I find a clear this lock?
Thank you in advance.

Dave
 
Hi,
I'd suggest using pvesm set vm01 --preallocation off. Then image creation will not allocate the metadata and should be fast enough to finish before hitting the timeout.
 

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!