Snapshot backups will fail if volume group has no free space
Hi,
when I try to make backups of my VMs I'll always get this error:
/backup is a partition on the hdd and has 500GB free space:
Hi,
when I try to make backups of my VMs I'll always get this error:
Code:
INFO: starting new backup job: vzdump 102 --remove 0 --mode snapshot --compress gzip --storage backup --node host
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating lvm snapshot of /dev/mapper/vg0-vms ('/dev/vg0/vzsnap-host-0')
INFO: Volume group "vg0" has insufficient free space (0 extents): 256 required.
ERROR: Backup of VM 102 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-host-0 /dev/vg0/vms' failed: exit code 5
INFO: Backup job finished with errors
TASK ERROR: job errors
/backup is a partition on the hdd and has 500GB free space:
Code:
df -hFilesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-root 80G 1.2G 75G 2% /
tmpfs 12G 0 12G 0% /lib/init/rw
udev 12G 264K 12G 1% /dev
tmpfs 12G 22M 12G 1% /dev/shm
/dev/md0 247M 49M 186M 21% /boot
/dev/mapper/vg0-backup
497G 198M 471G 1% /backup
/dev/mapper/vg0-vms 752G 40G 674G 6% /var/lib/vz
/dev/fuse 30M 16K 30M 1% /etc/pve
Code:
pveversion -vpve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-66
pve-kernel-2.6.32-11-pve: 2.6.32-66
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.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-15
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: not correctly installed
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: not correctly installed
Last edited: