VDI vs VHD vs VMDK

Discussions related to using VirtualBox on Windows hosts.

VDI vs VHD vs VMDK

Postby saxa » 8. Aug 2011, 19:44

Hello,

please, could someone explain the advantages and disadvantages of the VDI, VHD and VMDK file formats in Virtualbox?

To clarify the question: I know, what VHD and VMDK are; I'm not new in the virtual world ;)
saxa
 
Posts: 6
Joined: 29. Aug 2008, 12:56
Location: Earth.Europe.Germany.Frankfurt
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: RHEL, CentOS, XP, W2K3, to be continued :)

Re: VDI vs VHD vs VMDK

Postby mpack » 8. Aug 2011, 21:26

Try a search (use google, not internal search). The same question was asked quite recently.
mpack
Site Moderator
 
Posts: 30060
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VDI vs VHD vs VMDK

Postby saxa » 8. Aug 2011, 21:54

Hello mpack,

thank you for the input.

I only found this one: http://grok.lsu.edu/article.aspx?articleid=14214, which doesn't say more than I know...
This one: http://www.sysprobs.com/convert-vdi-vmdk-open-sun-virtualbox-virtual-machine-vmware-player-workstation tells how to convert to each other - I know at least 3 methods more...

Let me ask my question in another way. I have to build a mission-critical VM running Windows XP SP3 i386 on VirtualBox on a Windows 7 SP1 x64 driven host. One virtual HDD sized at ~70 GB.

Which virtual hard disk format should I use?

I'm thinking on VHD because it can be handled (mounted, compressed,..) by the host OS without any other tools. It's open source and there are many tools to open it. According to my experience it's very stable format.
On the other hand, VDI is a native VirtualBox's file format; it can be compressed by VBoxManage, but it's a proprietary file format which can't be opened using third-party tools like 7zip or WinImage (I hope. I'm wrong). I don't have any experience if it's stable and on repairing the VDIs...
On the third hand, VMDK is open source, too. And I'm experienced with VMware products and repairing of VMDKs...

You see, I don't know what to do :)
saxa
 
Posts: 6
Joined: 29. Aug 2008, 12:56
Location: Earth.Europe.Germany.Frankfurt
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: RHEL, CentOS, XP, W2K3, to be continued :)

Re: VDI vs VHD vs VMDK

Postby BillG » 9. Aug 2011, 02:04

If you are creating a new machine under VirtualBox, why would you not use .vdi? I cannot think of a single reason to even consider.
Bill
BillG
Volunteer
 
Posts: 4200
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: VDI vs VHD vs VMDK

Postby saxa » 9. Aug 2011, 08:30

BillG wrote:If you are creating a new machine under VirtualBox, why would you not use .vdi? I cannot think of a single reason to even consider.


Hello BillG,

are there any 3rd-party tools which can handle (open, edit, mount,..) VDI images?
saxa
 
Posts: 6
Joined: 29. Aug 2008, 12:56
Location: Earth.Europe.Germany.Frankfurt
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: RHEL, CentOS, XP, W2K3, to be continued :)


Re: VDI vs VHD vs VMDK

Postby mpack » 9. Aug 2011, 10:18

saxa wrote:I only found this one: http://grok.lsu.edu/article.aspx?articleid=14214, which doesn't say more than I know...
This one: http://www.sysprobs.com/convert-vdi-vmdk-open-sun-virtualbox-virtual-machine-vmware-player-workstation tells how to convert to each other - I know at least 3 methods more...

I meant you should use google to search this site (forums.virtualbox.org), not other sites of unknown provenance. I can tell you that the first link contains no original material, it essentially quotes the relevant sections of the old VBox user manual (the same section in the actual VBox user manual has since been corrected due to some technically misleading statements).

The recent discussion I was referring to is here.
mpack
Site Moderator
 
Posts: 30060
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VDI vs VHD vs VMDK

Postby saxa » 9. Aug 2011, 10:23



These tools handle VMDKs, not VDIs.
saxa
 
Posts: 6
Joined: 29. Aug 2008, 12:56
Location: Earth.Europe.Germany.Frankfurt
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: RHEL, CentOS, XP, W2K3, to be continued :)

Re: VDI vs VHD vs VMDK

Postby vbox4me2 » 9. Aug 2011, 10:35

Have you tried?
vbox4me2
Volunteer
 
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: VDI vs VHD vs VMDK

Postby saxa » 12. Aug 2011, 09:01

vbox4me2 wrote:Have you tried?


Yes, I've tried. I need a tool to mount the VDIs on Windows. Wouldn't say 'no' to such tool for Linux.
saxa
 
Posts: 6
Joined: 29. Aug 2008, 12:56
Location: Earth.Europe.Germany.Frankfurt
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: RHEL, CentOS, XP, W2K3, to be continued :)


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: mpack and 37 guests