Backup error on stopped VM (KVM)

bazzi

Active Member
Jun 4, 2010
107
2
36
Ok tonight we had a backup error on a VM (KVM) that has a disk on LVM-VM-Disks (Proxmox name of a vg called vmdisk). Also when we try to run a backup from the VM backup tab we will get this error:

Code:
Backup error:
INFO: Starting Backup of VM 203 (qemu)
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
ERROR: Backup of VM 203 failed - no such volume 'LVM-VM-Disks:vm-203-disk-1'
INFO: Backup job finished with errors
TASK ERROR: job errors

Code:
vgdisplay:
  --- Volume group ---
  VG Name               vmdisks
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  341
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                4
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               999.99 GiB
  PE Size               4.00 MiB
  Total PE              255998
  Alloc PE / Size       123395 / 482.01 GiB
  Free  PE / Size       132603 / 517.98 GiB
  VG UUID               R6PpAW-yDsK-rgsV-z11e-f7W5-xECW-1AXiwq

Code:
lvdisplay:
  --- Logical volume ---
  LV Name                /dev/vmdisks/vm-203-disk-1
  VG Name                vmdisks
  LV UUID                4GO6VC-oiG8-GceJ-p7bP-HbLQ-dRSP-UyUJwK
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                32.00 GiB
  Current LE             8192
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

So if you can see the disk is there, so we don't know how to fix it. On other VM's that are stopped (these are on other nodes) the backup is working. Also if we run the VM we can backup. But if it is stopped we will get that error.

Version on the "problematic" node:
Code:
root@sint:~# pveversion -v
pve-manager: 2.0-30 (pve-manager/2.0/af79261b)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-6-pve: 2.6.32-55
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-22
qemu-server: 2.0-18
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-12
libpve-storage-perl: 2.0-11
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-3
ksm-control-daemon: 1.1-1
 
Last edited:
Offcorse:
Code:
root@sint:~# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content images,iso,vztmpl,rootdir


nfs: iso_tmpl
        path /mnt/pve/iso_tmpl
        server 192.168.84.3
        export /volume1/timmit-iso-template-storage
        content iso,vztmpl


nfs: backup_day
        path /mnt/pve/backup_day
        server 192.168.84.3
        export /volume1/timmit-backup-pve2-day
        content backup


nfs: backup_week
        path /mnt/pve/backup_week
        server 192.168.84.3
        export /volume1/timmit-backup-pve2-week
        content backup


lvm: LVM-VM-Disks
        vgname vmdisks
        shared
        content images

Owwh and I just updated 4 packages, but he problem still exists
root@sint:~# pveversion -v
pve-manager: 2.0-33 (pve-manager/2.0/c598d9e1)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-6-pve: 2.6.32-55
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-23
qemu-server: 2.0-19
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-14
libpve-storage-perl: 2.0-11
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-3
ksm-control-daemon: 1.1-1
 
Last edited:
Code:
root@sint:~# pvesm list LVM-VM-Disks
LVM-VM-Disks:vm-200-disk-1   raw 161061273600 200
LVM-VM-Disks:vm-201-disk-1   raw 161069662208 201
LVM-VM-Disks:vm-202-disk-1   raw 161065467904 202
LVM-VM-Disks:vm-203-disk-1   raw 34359738368 203
 
Code:
root@sint:~# lvs
  LV            VG      Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  data          pve     -wi-ao 122.50g
  root          pve     -wi-ao  50.00g
  swap          pve     -wi-ao  23.00g
  vm-200-disk-1 vmdisks -wi--- 150.00g
  vm-201-disk-1 vmdisks -wi--- 150.01g
  vm-202-disk-1 vmdisks -wi--- 150.00g
  vm-203-disk-1 vmdisks -wi---  32.00g
 

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!