Backup issues with 1 box in cluster

raj

Renowned Member
Sep 17, 2011
219
4
83
www.businessparksolutions.com
Hi team,

I started to get the following error from a box in a cluster of 3.

There is only 2 vms on that box.


113: Sep 10 22:00:02 INFO: Starting Backup of VM 113 (qemu)
113: Sep 10 22:00:02 INFO: status = running
113: Sep 10 22:00:05 INFO: backup mode: snapshot
113: Sep 10 22:00:05 INFO: ionice priority: 7
113: Sep 10 22:00:06 INFO: Logical volume "vzsnap-slave02-0" already exists in volume group "Datastore"
113: Sep 10 22:00:07 ERROR: Backup of VM 113 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-slave02-0' '/dev/Datastore/vm-113-disk-1'' failed: exit code 5

121: Sep 10 22:00:07 INFO: Starting Backup of VM 121 (qemu)
121: Sep 10 22:00:07 INFO: status = stopped
121: Sep 10 22:00:07 INFO: backup mode: stop
121: Sep 10 22:00:07 INFO: ionice priority: 7
121: Sep 10 22:00:12 INFO: creating archive '/mnt/pve/Backup/dump/vzdump-qemu-121-2012_09_10-22_00_07.tar.gz'
121: Sep 10 22:00:12 INFO: adding '/mnt/pve/Backup/dump/vzdump-qemu-121-2012_09_10-22_00_07.tmp/qemu-server.conf' to archive ('qemu-server.conf')
121: Sep 10 22:00:12 INFO: adding '/dev/Datastore/vm-121-disk-1' to archive ('vm-disk-ide0.raw')
121: Sep 10 22:29:11 INFO: Total bytes written: 10737420800 (5.89 MiB/s)
121: Sep 10 22:29:29 INFO: archive file size: 4.99GB
121: Sep 10 22:29:32 INFO: Finished Backup of VM 121 (00:29:25)




Here is the pveversion -v of that 1 box.


root@slave02:~# pveversion -v
pve-manager: 2.1-14 (pve-manager/2.1/f32f3f46)
running kernel: 2.6.32-14-pve
proxmox-ve-2.6.32: 2.1-74
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-14-pve: 2.6.32-74
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-49
pve-firmware: 1.0-18
libpve-common-perl: 1.0-30
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-31
vncterm: 1.0-3
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.1-8
ksm-control-daemon: 1.1-1



Can anyone point me on the right path pls?

Cheers,

Raj
 
check your volumes,

> lvdisplay

and remove unneeded snapshots with lvremove
 
ok here is the lvdisplay

root@slave02:~# lvdisplay
--- Logical volume ---
LV Path /dev/Datastore/vm-106-disk-1
LV Name vm-106-disk-1
VG Name Datastore
LV UUID 46iXWw-9vDR-JJe3-LEE0-SYQQ-8Lna-VY9bI5
LV Write Access read/write
LV Creation host, time master, 2012-08-06 00:22:03 +0100
LV Status NOT available
LV Size 10.00 GiB
Current LE 2561
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-118-disk-1
LV Name vm-118-disk-1
VG Name Datastore
LV UUID yJMt4v-XsDH-zfcl-e9Ua-D585-5MV9-s5ubVP
LV Write Access read/write
LV Creation host, time master, 2012-08-06 07:50:05 +0100
LV Status NOT available
LV Size 20.00 GiB
Current LE 5121
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-111-disk-1
LV Name vm-111-disk-1
VG Name Datastore
LV UUID siosKC-iHXV-gB42-fn1f-M4xs-a8PY-utMXe3
LV Write Access read/write
LV Creation host, time master, 2012-08-06 09:06:21 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-108-disk-1
LV Name vm-108-disk-1
VG Name Datastore
LV UUID pAmety-Zfdl-6o0y-Z4J1-yeBv-woLT-96dchx
LV Write Access read/write
LV Creation host, time master, 2012-08-06 11:52:26 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-102-disk-1
LV Name vm-102-disk-1
VG Name Datastore
LV UUID C1vesU-kuUa-cFdd-IXGD-dt9v-4PN0-TyY3eG
LV Write Access read/write
LV Creation host, time master, 2012-08-06 16:58:12 +0100
LV Status NOT available
LV Size 30.00 GiB
Current LE 7681
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-105-disk-1
LV Name vm-105-disk-1
VG Name Datastore
LV UUID 8cItzx-ISSN-x59D-P1UK-cGLl-XcZy-deT8yg
LV Write Access read/write
LV Creation host, time master, 2012-08-06 18:47:24 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-101-disk-1
LV Name vm-101-disk-1
VG Name Datastore
LV UUID PlAzRe-V8kW-x7Gj-J3LM-cec8-TGJV-uH9s4g
LV Write Access read/write
LV Creation host, time master, 2012-08-07 07:22:42 +0100
LV Status NOT available
LV Size 40.02 GiB
Current LE 10245
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-100-disk-1
LV Name vm-100-disk-1
VG Name Datastore
LV UUID 4c4l9z-428v-l6cT-023e-LD9F-c4BH-JE3Xpu
LV Write Access read/write
LV Creation host, time master, 2012-08-08 11:26:47 +0100
LV Status NOT available
LV Size 20.01 GiB
Current LE 5123
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-103-disk-1
LV Name vm-103-disk-1
VG Name Datastore
LV UUID CsQqZd-H2z2-O0L0-Pbxl-FUj9-yPdp-0mve2i
LV Write Access read/write
LV Creation host, time master, 2012-08-09 15:23:05 +0100
LV Status NOT available
LV Size 20.01 GiB
Current LE 5123
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-104-disk-1
LV Name vm-104-disk-1
VG Name Datastore
LV UUID 3ApZMe-or1c-YrSn-5QMJ-of13-UgoD-NM5GKi
LV Write Access read/write
LV Creation host, time master, 2012-08-09 16:21:40 +0100
LV Status NOT available
LV Size 20.01 GiB
Current LE 5123
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-112-disk-1
LV Name vm-112-disk-1
VG Name Datastore
LV UUID AFoFml-UCme-eC86-QGMx-B1Ex-ucJu-pVO0Jt
LV Write Access read/write
LV Creation host, time master, 2012-08-09 16:48:17 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-114-disk-1
LV Name vm-114-disk-1
VG Name Datastore
LV UUID fw4Fh4-kdsD-dvPd-sJ35-mPis-CNt4-gDiJeg
LV Write Access read/write
LV Creation host, time master, 2012-08-09 19:04:54 +0100
LV Status NOT available
LV Size 4.00 GiB
Current LE 1025
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-115-disk-1
LV Name vm-115-disk-1
VG Name Datastore
LV UUID m2hZbL-LoDq-Hbg6-T9Xq-kCOY-UMlz-VCfiWK
LV Write Access read/write
LV Creation host, time master, 2012-08-09 21:58:01 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-116-disk-1
LV Name vm-116-disk-1
VG Name Datastore
LV UUID wkrz2k-qvoq-zGXZ-PPfv-nlEE-bDTo-gS0rUU
LV Write Access read/write
LV Creation host, time master, 2012-08-09 21:58:27 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2049
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-117-disk-1
LV Name vm-117-disk-1
VG Name Datastore
LV UUID erYopW-FrEm-B9xN-Paco-OQuS-hOFc-4CMYPw
LV Write Access read/write
LV Creation host, time master, 2012-08-10 01:19:09 +0100
LV Status NOT available
LV Size 20.00 GiB
Current LE 5121
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-107-disk-1
LV Name vm-107-disk-1
VG Name Datastore
LV UUID gEWODK-fsMC-7KX2-Aokf-kDPf-BKp8-DOv4YT
LV Write Access read/write
LV Creation host, time master, 2012-08-11 00:58:59 +0100
LV Status NOT available
LV Size 20.02 GiB
Current LE 5124
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-120-disk-1
LV Name vm-120-disk-1
VG Name Datastore
LV UUID LQqmz4-Y0yI-novf-eBiE-mLPp-nsBq-0RYgKe
LV Write Access read/write
LV Creation host, time slave02, 2012-08-26 21:30:13 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-119-disk-1
LV Name vm-119-disk-1
VG Name Datastore
LV UUID Us7VhA-VTx6-9mme-jwsf-ipAn-7Dke-fXuhHU
LV Write Access read/write
LV Creation host, time slave01, 2012-08-26 23:56:25 +0100
LV Status NOT available
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-113-disk-1
LV Name vm-113-disk-1
VG Name Datastore
LV UUID lWysHZ-iJdB-npxS-eWEO-noXe-aEC2-Z790L2
LV Write Access read/write
LV Creation host, time master, 2012-08-29 08:09:11 +0100
LV Status available
# open 1
LV Size 20.02 GiB
Current LE 5124
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3

--- Logical volume ---
LV Path /dev/Datastore/vzsnap-slave02-0
LV Name vzsnap-slave02-0
VG Name Datastore
LV UUID BRKo8g-jm35-8p8v-2fsW-idI4-pvLP-OkKWHL
LV Write Access read/write
LV Creation host, time slave02, 2012-09-08 22:00:04 +0100
LV Status NOT available
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Path /dev/Datastore/vm-121-disk-1
LV Name vm-121-disk-1
VG Name Datastore
LV UUID nY1zjz-9DMa-8Jlc-Hz34-2KCC-kICh-E0ZtgE
LV Write Access read/write
LV Creation host, time slave02, 2012-09-08 23:01:46 +0100
LV Status available
# open 0
LV Size 10.00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4

--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID LEmBuW-AFoX-QD2J-KRWH-fCIh-c770-Qoi2XZ
LV Write Access read/write
LV Creation host, time proxmox, 2012-08-21 20:19:08 +0100
LV Status available
# open 1
LV Size 11.00 GiB
Current LE 2816
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID jkoja2-re7y-2JuA-ECp3-4tM9-RK6C-KVuBWv
LV Write Access read/write
LV Creation host, time proxmox, 2012-08-21 20:19:08 +0100
LV Status available
# open 1
LV Size 34.00 GiB
Current LE 8704
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Path /dev/pve/data
LV Name data
VG Name pve
LV UUID vw3PzD-jOAG-9gNB-MrKm-VftA-ev0Z-D6atnX
LV Write Access read/write
LV Creation host, time proxmox, 2012-08-21 20:19:08 +0100
LV Status available
# open 1
LV Size 75.02 GiB
Current LE 19206
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2

root@slave02:~#



I think its this one :

--- Logical volume ---
LV Path /dev/Datastore/vzsnap-slave02-0
LV Name vzsnap-slave02-0
VG Name Datastore
LV UUID BRKo8g-jm35-8p8v-2fsW-idI4-pvLP-OkKWHL
LV Write Access read/write
LV Creation host, time slave02, 2012-09-08 22:00:04 +0100
LV Status NOT available
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto



so i did

root@slave02:~# lvremove vzsnap-slave02-0
Volume group "vzsnap-slave02-0" not found
Skipping volume group vzsnap-slave02-0
root@slave02:~#


why i get this error


the images are all on datastore which is an iscsi.

Cheers,

Raj