qm importdisk extremely slow

cybernemo

Member
Jan 27, 2020
2
0
21
66
Hello,
I am currently migrating VMs from Ubuntu Server to Proxmox. I use the following command to import the QCOW2 files:
qm importdisk VMID QCOW2_FILE POOL
I have a qcow2 file of around 600gb. And based on my calculation it will take around 4 days to import the file.
I tried to transfert the image within the internal HDD and from an external hard drive. Same estimation of time.

Is this a "standard" duration for this size?

My setup:
HP Proliant ML310e v2 GEN8.
Four HDD 2Tb in raid10 using ZFS
Intel XEON E3-1240 v3, 4 cores 8 threads @ 3.40GHz
32GB of ECC DDR3

Best regards
 
Is this a "standard" duration for this size?

If the file has a lot of zero data (i.e., it's sparse) it can require less time than initial calculated.
4 Days is quite long, though, what is the source storage of this disk?

I mean even with spinning disks you should get something like 100 - 200 MB/s in a RAID10.. And even if it's only 10 Megabyte per second you should still be done in ~16.6 hours...

Is there anything else going on on the server, some other guest doing IO or the like?
 
I use ZFS RAID10 without compression. Nothing else was running on the host.
The problem is that I transferred the 600GB from my other server directly to the ZFS disk (the speed was around 30MB/sec...) and them used
Code:
qm importdisk
to convert the image to the same ZFS again. This took around 4 days to complete.
 
Last edited:
Don't know if RAID or disk performance is related with this issue because we have the same problem with a ProLiant DL380 Gen9, I saw similar issues with those servers, I think is related with the RAID controller (Smart Array P440ar).

We have been tested using RAID6, RAID5 and RAID0 configurations and the result is the same, importing a 300Gb VM took 30 hours approximately.

If anyone has more detailed info about this issue will be appreciated, regards.

P.S. Attached must be the system overview with BIOS versions
 

Attachments

  • proliant_server.png
    proliant_server.png
    193.2 KB · Views: 8