Cannot perform KVM backup after setting up new node

drzoidberg33

New Member
Feb 11, 2014
20
0
1
Yesterday I completed my backups then set up a new node (was only using one node up till then). Now when I try to live backup my KVM VM I get these errors:

Code:
[FONT=tahoma]INFO: starting new backup job: vzdump 108 --remove 0 --mode snapshot --compress lzo --node proxmox0 --storage backups
INFO: Starting Backup of VM 108 (qemu)
INFO: status = running
INFO: update VM 108: -lock backup
INFO: unable to open file '/etc/pve/nodes/proxmox0/qemu-server/108.conf.tmp.574943' - Permission denied
ERROR: Backup of VM 108 failed - command 'qm set 108 --lock backup' failed: exit code 2
INFO: Backup job finished with errors
TASK ERROR: job errors
[/FONT]


This is my 108 conf:

Code:
bootdisk: ide0
cores: 4
cpu: host
ide0: disk2:108/vm-108-disk-1.qcow2,format=qcow2,size=500G
ide2: none,media=cdrom
memory: 8192
name: win-server
net0: e1000=76:6C:03:8D:91:B7,bridge=vmbr0
ostype: win7
sockets: 1

Here are the permissions on this folder, doesn't look like anything out of the ordinary to me:

Code:
dr-xr-x--- 2 root www-data   0 Feb  4 13:10 .
dr-xr-x--- 2 root www-data   0 Feb  4 13:10 ..
-r--r----- 1 root www-data 213 Mar  6 03:23 102.conf
-r--r----- 1 root www-data 209 Mar  5 09:40 104.conf
-r--r----- 1 root www-data 213 Mar  7 11:54 108.conf

My second node is currently offline, could this cause an issue? Nothing else has changed since the last successful backup.

Any ideas?

TIA
 
Yesterday I completed my backups then set up a new node (was only using one node up till then). Now when I try to live backup my KVM VM I get these errors:
...
My second node is currently offline, could this cause an issue? Nothing else has changed since the last successful backup.

yes, when you have a cluster, you need quorum to have full operativity.
since your other node is offline, your 2 node cluster has lost quorum, and pve protects things putting /etc/pve in read mode
and most operations are locked . That's why is not recommended to have a 2 node cluster.

until your second node comes up, you can temporarily regain quorum issuing this command

#pvecm expected 1
then you will be able to work normally

that is valid until rebooot or cluster regain quorum (if the other node comes up)

Marco
 
Many thanks for explaining so clearly. Will bring the second node up.

Sent from my GT-I9100 using Tapatalk