vzdump sbs2008

MGUS

Renowned Member
Aug 24, 2010
3
0
66
Hi,

first of all sry for my bad english, hope you can understand my problem.. :)

Problem is, it takes ages to make a snapshot of my sbs2008 vm (tested with an xp vm - no problem, openvz - no problem).

I startet a snapshot yesterday at 4:45pm and aborted it today at 7:30am.

I have no idea where to start searching for bottlenecks or something else.

Detailed backup logs:
vzdump --quiet --snapshot --dumpdir /mnt/pve/backup_nas/ --mailto admin@*****.de 102
102: Aug 23 16:48:02 INFO: Starting Backup of VM 102 (qemu)
102: Aug 23 16:48:02 INFO: running
102: Aug 23 16:48:02 INFO: status = running
102: Aug 23 16:48:02 INFO: backup mode: snapshot
102: Aug 23 16:48:02 INFO: bandwidth limit: 10240 KB/s
102: Aug 23 16:48:03 INFO: Logical volume "vzsnap-proxmox-0" created
102: Aug 23 16:48:03 INFO: creating archive '/mnt/pve/backup_nas/vzdump-qemu-102-2010_08_23-16_48_02.tar'
102: Aug 23 16:48:03 INFO: adding '/mnt/pve/backup_nas/vzdump-qemu-102-2010_08_23-16_48_02.tmp/qemu-server.conf' to archive ('qemu-server.conf')
102: Aug 23 16:48:03 INFO: adding '/mnt/vzsnap0/images/102/vm-102-disk-1.raw' to archive ('vm-disk-ide0.raw')
102: Aug 24 07:35:33 INFO: received signal - terminate process
102: Aug 24 07:35:33 INFO: archive file size: 31.96GB
102: Aug 24 07:35:34 INFO: /dev/dm-4: read failed after 0 of 4096 at 0: Input/output error
102: Aug 24 07:35:34 INFO: Logical volume "vzsnap-proxmox-0" successfully removed
102: Aug 24 07:36:00 INFO: Finished Backup of VM 102 (14:47:58)

Here is a log from a successful backup (xp -vm)

vzdump --quiet --snapshot --dumpdir /mnt/pve/backup_nas/ --tmpdir /mnt/pve/backup_nas/ --mailto admin@******.de 103
103: Aug 24 08:38:27 INFO: Starting Backup of VM 103 (qemu)
103: Aug 24 08:38:27 INFO: running103: Aug 24 08:38:27 INFO: status = running
103: Aug 24 08:38:28 INFO: backup mode: snapshot
103: Aug 24 08:38:28 INFO: bandwidth limit: 10240 KB/s
103: Aug 24 08:38:28 INFO: Logical volume "vzsnap-proxmox-0" created
103: Aug 24 08:38:28 INFO: creating archive '/mnt/pve/backup_nas/vzdump-qemu-103-2010_08_24-08_38_27.tar'
103: Aug 24 08:38:28 INFO: adding '/mnt/pve/backup_nas/vzdumptmp10522/qemu-server.conf' to archive ('qemu-server.conf')
103: Aug 24 08:38:28 INFO: adding '/mnt/vzsnap0/images/103/vm-103-disk-1.raw' to archive ('vm-disk-ide0.raw')
103: Aug 24 08:57:23 INFO: Total bytes written: 10115809280 (8.50 MiB/s)
103: Aug 24 08:57:57 INFO: archive file size: 9.42GB
103: Aug 24 08:57:57 INFO: delete old backup '/mnt/pve/backup_nas/vzdump-qemu-103-2010_08_21-20_00_02.tar'
103: Aug 24 08:58:01 INFO: Logical volume "vzsnap-proxmox-0" successfully removed
103: Aug 24 08:58:01 INFO: Finished Backup of VM 103 (00:19:34)

Server Info:

pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5

pveperf
CPU BOGOMIPS: 17066.46
REGEX/SECOND: 772862
HD SIZE: 94.49 GB (/dev/pve/root)
BUFFERED READS: 192.79 MB/sec
AVERAGE SEEK TIME: 9.01 ms
FSYNCS/SECOND: 2901.94
DNS EXT: 51.49 ms
DNS INT: 1.09 ms
 
Last edited:
me again..

i think i've found something in syslog:


Aug 23 17:42:36 proxmox kernel: device-mapper: snapshots: Invalidating snapshot: Unable to allocate exception.
Aug 23 17:42:41 proxmox kernel: Aborting journal on device dm-4.
Aug 23 17:42:41 proxmox kernel: Buffer I/O error on device dm-4, logical block 229376514
Aug 23 17:42:41 proxmox kernel: lost page write due to I/O error on dm-4
Aug 23 17:42:42 proxmox kernel: ext3_abort called.
Aug 23 17:42:42 proxmox kernel: EXT3-fs error (device dm-4): ext3_journal_start_sb: Detected aborted journal
Aug 23 17:42:42 proxmox kernel: Remounting filesystem read-only


may it help to set size: 2048 or (4096) in vzdump.conf


thx for your help
 
ok,

now it works, only a little more Speed and everything is good. Only have to play a little bit with bwlimit and so...

3:38 for about 128GB, thats ok for the moment.

thx
 

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!