Is the 1 min timeout for storage migration changed in 7.x?

ChrisDB

Member
Jan 28, 2020
12
11
23
35
I have PVE 6.3-2 and while disk creation is allowed to take 6m 39s, disk migration times out after 1 minute.
Anyone knows if this was changed in 7+, so I don't try upgrade for nothing?
Code:
create full clone of drive ide0 (play:105/vm-105-disk-0.qcow2)
Formatting '/mnt/pve/sshd/images/105/vm-105-disk-0.qcow2', fmt=qcow2 cluster_size=65536 preallocation=metadata compression_type=zlib size=1099511627776 lazy_refcounts=off refcount_bits=16
TASK ERROR: storage migration failed: error during cfs-locked 'storage-sshd' operation: unable to create image: got lock timeout - aborting command
 
Hi,
I don't think it changed, but there's a difference between using shared (has a hard-coded timeout of 1 minute, because locks reside on the shared cluster filesystem) and local storages for example. The recommended workaround for storages that cannot allocate huge images quickly enough, is set the preallocation option to off in the storage configuration (possible since Proxmox VE 7.1).
 
  • Like
Reactions: pakuzaz and ChrisDB

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!