vzdump failed: Exit code 2 (PVE 5.4-3)

james3126

Member
Dec 18, 2019
4
0
6
24
United Kingdom
Hi all, I've run into a situation where my server (running 5.4-3) shutdown, and when booting again, had no network access at all (despite attempts to change IPs etc..)

Thus, I've decided to call it quits and start again, on the latest 6.1 PVE version.

I've thrown a USB stick into the machine, mounted to '/mnt/USBOffload/' and I'm looking at exporting some of the VMs so I don't have to recreate EVERYTHING from the start.

(Warning, I'm a noob at command line usage) I've gathered the correct command to run is: vzdump <VMID> --mode stop --dumpdir /mnt/USBOffload/dump --compress gzip

However, I've been met with the following error:
Code:
root@<HostName>:~# vzdump 100 --mode stop --dumpdir /mnt/USBOffload/dump/ --compress gzip
INFO: starting new backup job: vzdump 100 --compress gzip --dumpdir /mnt/USBOffload/dump --mode stop
INFO: Starting Backup of VM 100 (qemu)
INFO: status = stopped
INFO: unable to open file '/etc/pve/nodes/<HostName>/qemu-server/100.conf.tmp.3109' - Permission denied
INFO: update VM 100: -lock backup
ERROR: Backup of VM 100 failed - command 'qm set 100 --lock backup' failed: exit code 2
INFO: Backup job finished with errors
job errors
root@<Hostname>:~#

I get the same error for all VM's.

Could anyone help me here? I'm a major noob so please be gentle.

Thanks in advance :)
 
Is the proxmox cluster file system running?
Code:
systemctl status pve-cluster

It provides the fuse file system that is mounted in /etc/pve.
 
Is the proxmox cluster file system running?
Code:
systemctl status pve-cluster

It provides the fuse file system that is mounted in /etc/pve.

This thread can be ignored now. I went around another way and just moved the raw files out to an external drive that I mounted, and used qemu-img to convert to vmdk, and imported them to a temporary solution on another host. Wiped the PVE host, and reinstalled with the latest version. Will attempt to reimport the vmdk
 

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!