ADD Existing Harddisk to Guest

sockel7

New Member
May 6, 2012
16
0
1
Hello,

I am new here in this Forum an i am from Germany.
Plz. my English is very bad but i dont find a german Forum.

I wont to add an existing Harddisk Image from VMWare "disk1.vmdk"

How can i add this HDD to an existing Guest system in Proxmox V2

Thanx :D
 
Hello,

I am new here in this Forum an i am from Germany.
Plz. my English is very bad but i dont find a german Forum.

I wont to add an existing Harddisk Image from VMWare "disk1.vmdk"

How can i add this HDD to an existing Guest system in Proxmox V2

Thanx :D
First, we are talking about a VM and not a CT?
Second, the disk1.vmdk needs to be converted to raw format. The GUI allows to attached a vmdk but my experience, not only with proxmox, is that this often does not work since vmdk's comes in a lot of different version - especially from VmWare.
Third, after conversion the the disk can be attached in the VM's hardware tab - add new harddisk.
 
First, we are talking about a VM and not a CT?
Second, the disk1.vmdk needs to be converted to raw format. The GUI allows to attached a vmdk but my experience, not only with proxmox, is that this often does not work since vmdk's comes in a lot of different version - especially from VmWare.
Third, after conversion the the disk can be attached in the VM's hardware tab - add new harddisk.

Yes Yes we are talking about a VM
How can i add the convertet HDD to a existing Guest System.
When i click on Hardware ADD Harddisk i see only that i can create a new harddisk.
My running VM Guest is Windows XP Proff and i wont to add the old vmdk to this Machine

Thanks for your Help
 
best way is you create a new virtual disk and analyse the VMID.conf file (via CLI).

you will see the filename of the new (empty) disk in the config file. now, just adapt this line to point to your disk file.
 
Hello,

great ID i test this in a view minutes.
Where i must save the old vmdk Disk on Proxmox ? in whitch Folder ?
You have a idee how to convert a vmdk to row format ?

best regards,
dirk
 
Hello,

great ID i test this in a view minutes.
Where i must save the old vmdk Disk on Proxmox ? in whitch Folder ?
You have a idee how to convert a vmdk to row format ?

best regards,
dirk

qemu-img convert -f vmdk "file.vmdk" -O raw "file.raw"Should do the trick. Remember backup old file before doing anything!
 
Hello,

great ID i test this in a view minutes.
Where i must save the old vmdk Disk on Proxmox ? in whitch Folder ?

Depends on your used storage. If you just use the standard local storage its /var/lib/vz/images/VMID/... - but just check, the other disks are also there.

You have a idee how to convert a vmdk to row format ?

best regards,
dirk

use 'qemu-img'
 
Hello Tom,

i test it ! but a error come up.
i test it so !. qemu-img convert -O raw Data-Disk.vhd Data-Disk.raw
Error = File to large.
Size is ca. 140GB
What ca i do now ?
 
Hello mir and Udo

I will test it later, vhd is a format used from Citrix Xen Server. I killed this Xen Sever :) i want to use Proxmox in my Job.
From the Xen Server i have the vhd Disks. Privat i have vmware use for Agorum Core Document Management System. This come´s as a vmware appliance and i want to use it in Proxmox. !
I will later test if it work to use vmdk directly

best regards
Dirk
 
Hello,

great ! i test it. i convert vhd to vmdk and put info in Config File. HDD works fine.
but i can not convert the 150gb VHD File to Raw.

i have a other Problem !
I install a windows 7 proff System on Proxmox. Install works fine. After last reboot the System hangs mith blinking Cursor top left.
The same Problem i have with Server 2008 R2
But when i disable KVM in Options, the System will run but extremly Slow
Can you help me too ?

Thnx
best regards
Dirk
 
Hi Tom,
I agree with you, Citrix XenServer use vhd for virtual hard disk. I'm trying to move some VMs to ProxMox but I have the above problem when converting format.
I have also tried:
- creation of a empty virtual machine in proxmox (with raw hard disk of the same dimension of the vhd)
- via command line "dd if=original.vhd of=destination.raw" and clone succesfull
- but virtual machine don't start

Can I hope that Proxmox staff update the version qemu-img tool in the next update?
Thank you!
 
testing latest (1.1rc2 - pve-qemu-kvm: 1.1-1):

Code:
qemu-img create -f vpc vpc2.img 130G
Formatting 'vpc2.img', fmt=vpc size=139586437120
qemu-img: The image size is too large for file format 'vpc'
 
Even Clonezilla doesn't work it don't know device such /dev/xvda like XenServer
Have you any news about qemu-img or kvm-img with unlocked VPC ore VHD over 127 GB?

Thank you
 

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!