any tips on speeding up qmrestore on pve2.x

nate

Member
Mar 15, 2011
63
0
6
Qmrestore is painfully slow on a large vm. Any suggestions for speeding it up? I have seen some posts on PVE1.0 forum but none on PVE2.x. Thanks.
 
what is painfully slow ? pls provide numbers. it just depends on the speed of cpu, disks, networks and the amount of data.
 
Screen Shot 2012-06-19 at 1.45.24 PM.pngScreen Shot 2012-06-19 at 1.46.46 PM.pngScreen Shot 2012-06-19 at 1.47.17 PM.pngScreen Shot 2012-06-19 at 1.48.46 PM.png


Its a big vm. 700 gig or so. put a backup on shared storage and restoring on to local storage. Its been going for about 1 day now.
 

Attachments

  • Screen Shot 2012-06-19 at 1.48.10 PM.png
    Screen Shot 2012-06-19 at 1.48.10 PM.png
    8.4 KB · Views: 31
use lzo compression. and yes, 700gb is huge.

how fast is your network and storage?
 
It might pay and check the time stamp and size of the the /var/lib/vz/images/210/vm-210-disk-1.raw in the ssh console, just to make sure it isn't stuck.
 
I have 2 gigabit network cards bonded on both the node server and shared storage using balance-alb. My switch is a problem because it is 100mb not a gigabit switch. I have a gigabit on order to get rid of that bottleneck.

I was testing a large vm to see how it would behave. Want to have a vm for an email server so I was checking out if it got big what would happen vs saving the mailboxes to shared storage. I guess I'm thinking now keep the vm small and put the mailbox data elsewhere.

Even though the network isn't gigabit, I was surprised how slow it is. The tar.gz backup is only 30gig. But the .rar is huge.

The job finally finished, took almost 2 days:

extracting archive '/mnt/pve/rn3100prod_backup/dump/vzdump-qemu-210-2012_06_12-14_23_47.tar.gz'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-ide0.raw' from archive
Formatting '/var/lib/vz/images/210/vm-210-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:210/vm-210-disk-1.raw'
restore data to '/var/lib/vz/images/210/vm-210-disk-1.raw' (966367641600 bytes)
966367641600 bytes copied, 119690 s, 7.70 MiB/s
TASK OK

Any advise is appreciated.