proxmox backup won't stop

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
hi all

here is my pvevserion -v output

Code:
root@proxmox00:~# pveversion -v
proxmox-ve-2.6.32: 3.2-124 (running kernel: 2.6.32-28-pve)
pve-manager: 3.2-2 (running version: 3.2-2/82599a65)
pve-kernel-2.6.32-28-pve: 2.6.32-124
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-15
pve-firmware: 1.1-2
libpve-common-perl: 3.0-14
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-6
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1
root@proxmox00:~#
I have a 3 node setup.. for some reason my backup won't stop. I have tried to stop it though the GUI/Web but it still keeps going..

also it seems it stop taking backups so it seems the system is waiting for this backup to stop before starting a new.

how to manually kill it.
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,105
338
103
Hi,
use on the command line
ps -aux | grep vzdump

kill -9 processId

then
qm unlock <vmid>
vmid of the hanging backup
 
Last edited:

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
Hi t.lamprecht

thanks for the quick answer..

would i need to do something after to make sure backup starts again at 20 this evening? or?

also would this command affect production of the VMs?

Thanks

Casper
 

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
1,705
259
103
South Tyrol/Italy
No should affect anything, stops only running backup jobs.

When it fails (could be as it isn't responding on the GUI command anymore) use wolfgangs method, which works for sure.
 

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
Hi and sorry for the long response...

im not really sure what process im suppose to kill?

root@proxmox00:~# ps -aux | grep vzdump
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
root 678932 0.0 0.0 7788 936 pts/0 S+ 16:58 0:00 grep vzdump
root 757933 0.0 0.0 4136 536 ? Ss Aug11 0:00 /bin/sh -c vzdump 104 105 107 109 110 117 116 122 111 103 --quiet 1 --mode snapshot --mailto casper@dingit.dk --compress lzo --storage Backup01
root 757934 0.0 0.1 201560 39056 ? S Aug11 2:30 /usr/bin/perl -w -T /usr/bin/vzdump 104 105 107 109 110 117 116 122 111 103 --quiet 1 --mode snapshot --mailto casper@dingit.dk --compress lzo --storage Backup01
root 757945 0.0 0.1 200444 36020 ? Ds Aug11 2:19 task UPID:proxmox00:000B90B9:94BDB694:55CA4632:vzdump::root@pam:
root@proxmox00:~#
im not wich if not all?
 

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
I killed the processes on the two of the three nodes which had backups running and stuck..

they are now not showing in the AUX list - but the web gui still shows them running.. should i just wait or?
 

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
1,705
259
103
South Tyrol/Italy
There is also a task process in your output, the one with the UUID, kill that too, this one should be responsible for the GUI.
 

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
when i do the kill -9 processID it doesn't kill the process?

root@proxmox00:~# ps -aux | grep vzdump
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
root 227059 0.0 0.0 7788 928 pts/0 S+ 10:35 0:00 grep vzdump
root 757945 0.0 0.1 200444 36020 ? Ds Aug11 2:19 task UPID:proxmox00:000B90B9:94BDB694:55CA4632:vzdump::root@pam:
root@proxmox00:~# kill -9 757945
root@proxmox00:~# ps -aux | grep vzdump
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
root 227163 0.0 0.0 7788 924 pts/0 S+ 10:36 0:00 grep vzdump
root 757945 0.0 0.1 200444 36020 ? Ds Aug11 2:19 task UPID:proxmox00:000B90B9:94BDB694:55CA4632:vzdump::root@pam:
root@proxmox00:~# sudo kill -9 757945
-bash: sudo: command not found
root@proxmox00:~# ps -aux | grep vzdump
how should i proceed? also gui still shows backup as running and no backups are being done

thanks for all your help so fare
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,521
324
103
Austria
www.proxmox.com
I guess there is a non working NFS share involved? You can either try to get the NFS server online again, or reboot the node.
To avoid such things, you can mount backup shares with option 'soft', see

# man nfs

for details.
 

offerlam

Member
Dec 30, 2012
198
0
16
Denmark
hmm you are right.. the NAS is unresponsive.. !!

thanks!

should the option soft be set on proxmox node or NAS or both?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!