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

ChrisDB

Active Member
Jan 28, 2020
12
14
43
37
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