snapshot-Backup doesn't work for KVM?

agima

New Member
Jun 29, 2010
8
0
1
Germany
Hello! Am I right, that the snapshot-Mode doesn't work for KVM machines?

I use qcow2 image files, laying on a file system on a Logical Volume. During the backup, no LVM snapshot is created as described in the vzdump man page.
 
Code:
Jun 29 13:32:02 INFO: Starting Backup of VM 101 (qemu)
Jun 29 13:32:02 INFO: running
Jun 29 13:32:02 INFO: status = running
Jun 29 13:32:02 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)
Jun 29 13:32:02 INFO: trying 'suspend' mode instead
Jun 29 13:32:02 INFO: backup mode: suspend
Jun 29 13:32:02 INFO: suspend vm
Jun 29 13:32:02 INFO: creating archive '/var/lib/vz/backup/vzdump-qemu-101-2010_06_29-13_32_02.tar'
Jun 29 13:32:02 INFO: adding '/var/lib/vz/backup/vzdump-qemu-101-2010_06_29-13_32_02.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Jun 29 13:32:02 INFO: adding '/var/lib/vz/images/101/vm-101-disk-1.qcow2' to archive ('vm-disk-ide0.qcow2')
Jun 29 13:32:41 INFO: Total bytes written: 1366184448 (33.38 MiB/s)
Jun 29 13:32:41 INFO: archive file size: 1.27GB
Jun 29 13:32:42 INFO: resume vm
Jun 29 13:32:42 INFO: vm is online again after 40 seconds
Jun 29 13:32:43 INFO: Finished Backup of VM 101 (00:00:41)
Apparently, suspend mode is used. Note that I used the web interface to plan this backup job and this is a default installation.
 
Code:
Jun 29 13:32:02 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)

You can't store the output of your backup into the same LVM volume you snapshot - this would cause an endless growing archive.

Please specify another backup location.