Hi,
I moved my machines into Volume Groups and backups work successfully, except when i try to backup a VM that includes 2 disks on Volume Groups and 1 disk in a raw file. The backup works but the VM is supsended and my USB devices don't work anymore. The question is: is it possible to make snapshots of raw files through vzdump, preventing the suspension of VMs?
LOG FILE EXAMPLE:
102: Jan 07 01:23:35 INFO: Starting Backup of VM 102 (qemu)
102: Jan 07 01:23:35 INFO: running
102: Jan 07 01:23:35 INFO: status = running
102: Jan 07 01:23:36 INFO: backup mode: snapshot
102: Jan 07 01:23:36 INFO: bandwidth limit: 10240 KB/s
102: Jan 07 01:23:36 INFO: suspend vm to make snapshot
102: Jan 07 01:23:37 INFO: Logical volume "vzsnap-vm-0" created
102: Jan 07 01:23:38 INFO: Logical volume "vzsnap-vm-1" created
102: Jan 07 01:23:39 INFO: Logical volume "vzsnap-vm-0" created
102: Jan 07 01:23:39 INFO: resume vm
102: Jan 07 01:23:39 INFO: vm is online again after 3 seconds
102: Jan 07 01:23:39 INFO: creating archive '/mnt/backup/vzdump-qemu-102-2010_01_07-01_23_35.tgz'
102: Jan 07 01:23:39 INFO: adding '/mnt/backup/vzdump-qemu-102-2010_01_07-01_23_35.tmp/qemu-server.conf' to archive ('qemu-server.conf')
102: Jan 07 01:23:39 INFO: adding '/dev/win2008/vzsnap-vm-0' to archive ('vm-disk-virtio0.raw')
102: Jan 07 02:00:04 INFO: adding '/dev/win2008/vzsnap-vm-1' to archive ('vm-disk-virtio1.raw')
102: Jan 07 02:54:04 INFO: adding '/mnt/vzsnap0/images/102/WINDOWS2008R2_HDH.raw' to archive ('vm-disk-virtio2.raw')
102: Jan 07 04:50:02 INFO: Total bytes written: 111038530560 (8.55 MiB/s)
102: Jan 07 04:50:02 INFO: archive file size: 78.23GB
102: Jan 07 04:50:02 INFO: delete old backup '/mnt/backup/vzdump-qemu-102-2010_01_06-01_23_48.tgz'
102: Jan 07 04:51:56 INFO: Logical volume "vzsnap-vm-0" successfully removed
102: Jan 07 04:51:58 INFO: Logical volume "vzsnap-vm-1" successfully removed
102: Jan 07 04:51:59 INFO: Logical volume "vzsnap-vm-0" successfully removed
102: Jan 07 04:51:59 INFO: Finished Backup of VM 102 (03:28:24)
I moved my machines into Volume Groups and backups work successfully, except when i try to backup a VM that includes 2 disks on Volume Groups and 1 disk in a raw file. The backup works but the VM is supsended and my USB devices don't work anymore. The question is: is it possible to make snapshots of raw files through vzdump, preventing the suspension of VMs?
LOG FILE EXAMPLE:
102: Jan 07 01:23:35 INFO: Starting Backup of VM 102 (qemu)
102: Jan 07 01:23:35 INFO: running
102: Jan 07 01:23:35 INFO: status = running
102: Jan 07 01:23:36 INFO: backup mode: snapshot
102: Jan 07 01:23:36 INFO: bandwidth limit: 10240 KB/s
102: Jan 07 01:23:36 INFO: suspend vm to make snapshot
102: Jan 07 01:23:37 INFO: Logical volume "vzsnap-vm-0" created
102: Jan 07 01:23:38 INFO: Logical volume "vzsnap-vm-1" created
102: Jan 07 01:23:39 INFO: Logical volume "vzsnap-vm-0" created
102: Jan 07 01:23:39 INFO: resume vm
102: Jan 07 01:23:39 INFO: vm is online again after 3 seconds
102: Jan 07 01:23:39 INFO: creating archive '/mnt/backup/vzdump-qemu-102-2010_01_07-01_23_35.tgz'
102: Jan 07 01:23:39 INFO: adding '/mnt/backup/vzdump-qemu-102-2010_01_07-01_23_35.tmp/qemu-server.conf' to archive ('qemu-server.conf')
102: Jan 07 01:23:39 INFO: adding '/dev/win2008/vzsnap-vm-0' to archive ('vm-disk-virtio0.raw')
102: Jan 07 02:00:04 INFO: adding '/dev/win2008/vzsnap-vm-1' to archive ('vm-disk-virtio1.raw')
102: Jan 07 02:54:04 INFO: adding '/mnt/vzsnap0/images/102/WINDOWS2008R2_HDH.raw' to archive ('vm-disk-virtio2.raw')
102: Jan 07 04:50:02 INFO: Total bytes written: 111038530560 (8.55 MiB/s)
102: Jan 07 04:50:02 INFO: archive file size: 78.23GB
102: Jan 07 04:50:02 INFO: delete old backup '/mnt/backup/vzdump-qemu-102-2010_01_06-01_23_48.tgz'
102: Jan 07 04:51:56 INFO: Logical volume "vzsnap-vm-0" successfully removed
102: Jan 07 04:51:58 INFO: Logical volume "vzsnap-vm-1" successfully removed
102: Jan 07 04:51:59 INFO: Logical volume "vzsnap-vm-0" successfully removed
102: Jan 07 04:51:59 INFO: Finished Backup of VM 102 (03:28:24)