cfs-lock 'file-vzdump_cron' error: got lock request timeout (500)

promoxer

Member
Apr 21, 2023
205
19
18
1723632619757.png

I'm trying to change the storage of my backup job and not sure how to translate this error into corrective action.
 
Hi,

Can you please clarify how you attempted to change the storage for your backup job?
 
1723658641865.png

1. Select the backup job by clicking on it
2. Click on `Edit`
3. Click on Storage dropdown to change it
4. Error shows up when I click `OK`

Error not showing after I reboot PVE
 
```
dir: usb-nvme
path /mnt/usb-nvme
content backup
prune-backups keep-all=1
shared 0
```

There are others, but this was the one that gave that error.
 
Thank you!

Could you please also provide us with the output of the following commands:

Bash:
cat /etc/pve/jobs.cfg
pvesh get /cluster/backup
cat /etc/vzdump.conf
 
```
root@pve:/scripts# cat /etc/vzdump.conf
# vzdump default settings

#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#performance: [max-workers=N][,pbs-entries-max=N]
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#stdexcludes: BOOLEAN
#mailto: ADDRESSLIST
#prune-backups: keep-INTERVAL=N[,...]
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N
#notes-template: {{guestname}}
root@pve:/scripts# pvesh get /cluster/backup
┌──────────────────────┐
│ id │
╞══════════════════════╡
│ backup-3d1923e9-1e58 │
└──────────────────────┘
root@pve:/scripts# cat /etc/pve/jobs.cfg
vzdump: backup-3d1923e9-1e58
schedule 02:15
compress zstd
enabled 1
mailnotification always
mailto pve@example.com
mode snapshot
node pve
notes-template {{guestname}}
prune-backups keep-last=1
storage local
vmid 101,103,102

root@pve:/scripts#
```
 
Hi,

Thank you for the output!

Could you please run the `journalctl -f` in the terminal and then provide us with the output when you changed the storage on the backup?
 
No, will not help if the issue no longer reproduced. You can provide us with the syslog next time if the issue happened again and the `pveversion -v`.
 
Hi Moayad,

Please state the full set of commands I need to run before and after trying to change the storage.
 
Before you change the storage, issue the following command, after you get the error you can `Ctrl+C` on the below command and attach the syslog to this thread.

Bash:
journalctl -f > /tmp/$(hostname)-syslog.txt
 

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!