[pve-devel] Disk Image Upload

Timo Grodzinski t.grodzinski at profihost.ag
Fri Jan 29 18:36:33 CET 2016


Hi!

Here is an early prototype for uploading and importing disk images.

There is a new 'Upload disk' button in the 'Hardware' tab for each vm.

An uploaded image disk will first be stored in /var/tmp/.
It will then be copied to the template location of the 'local' storage.
Then qemu-img converts the image and uses the same format and output location as the existing disk of the vm.

We are facing following problems at the moment:
1) How to use another temporary upload dir than /var/tmp/, because it might not have sufficent space?
2) Which temporary location would be more suitable than the template location?

Some suggestions?




More information about the pve-devel mailing list