move proxmox vm out of proxmox

jonathan2493

New Member
Jan 29, 2015
7
0
1
hi,

I am have installed proxmox running with ceph as its data storage.

I was wondering if I have installed a VM in proxmox how can I move it out of proxmox VE so I could place in on an ubuntu server running KVM? just saying.
 
Hello jonathan2493

I am have installed proxmox running with ceph as its data storage.

I was wondering if I have installed a VM in proxmox how can I move it out of proxmox VE so I could place in on an ubuntu server running KVM? just saying.

Independently which storage you use exporting a virtual hard disk works as follows (do it rather when the machine is stopped):

- move disk to a local (directory) storage

- copy the created file to your target system

The following I never tried, but should work in principle:

After having all virtual disks exported like this start the machine on you original system and figure out (assuming you vm-id is 101) by

Code:
ps -edalf | grep 101 | grep kvm

the kvm call parameters. Adapt them accordingly and start the machine on the target system.

I am curios if anybody has some experience respectively better ideas.


Kind regards

Mr.Holmes

P.S.: if you want to continue the machine on the original system as it was before: remove the newly created disks, and put the previously used (now in "unused" state) back to the controller where it was before.