[PVE-User] storage migration failed: error with cfs lock 'storage-nfs-scratch': unable to create image: got lock timeout - aborting command

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Sep 15 15:21:56 CEST 2021


On September 15, 2021 10:15 am, Marco Gaiarin wrote:
> 
> We are trying to move some VMs disks from a cluster (PVE 5, storage LVM
> thin), to a storage of type NFS (a PVE 6 server, debian buster standard
> NFS server), usin QCOW as destination file/image format.
> 
> We have correctly move some smaller disks (200GB), but if we try to
> move a 'big' disk, we got:
> 
> 	Sep 14 22:48:18 pveod1 pvedaemon[31552]: <root at pam> starting task UPID:pveod1:00007BE2:A90E5224:61410A92:qmmove:100:root at pam:
> 	Sep 14 22:49:18 pveod1 pvedaemon[31552]: <root at pam> end task UPID:pveod1:00007BE2:A90E5224:61410A92:qmmove:100:root at pam: storage migration failed: error with cfs lock 'storage-nfs-scratch': unable to create image: got lock timeout - aborting command
> 
> Only this log row appear, no kernel/nfs errors in nfs server or source
> machine.
> 
> 
> I've tried to google for this error, or for 'nfs lock timeout' but
> nothing relevant (to me) appear.
> 
> Someone have some feedback? Thanks.

this is an issue with certain shared-storage operations in PVE - they have to 
happen under a pmxcfs-lock, which has a hard timeout. if the operation 
takes too long, the lock will run into the timeout, and the operation 
fail.

there has been some recent development to improve the situation:

 https://lists.proxmox.com/pipermail/pve-devel/2021-September/049879.html

but it hasn't been finalized yet.





More information about the pve-user mailing list