What's the difference between image formats?

This is for discussing general topics about how to use VirtualBox.
Post Reply
b-ran
Posts: 5
Joined: 20. Mar 2012, 10:25

What's the difference between image formats?

Post by b-ran »

Could someone please explain to me the differences between VDI, VMDK, VHD, HDD. I've been using the hdd format but honestly I don't know why. I just want to make sure I'm using the best possible one. Thanks in advance.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: What's the difference between image formats?

Post by michaln »

I'd say you already listed the formats in order of preference.

For regular use, the format should make little difference. However, things like resizing or asynchronous I/O are not supported on all formats. I won't give a detailed list because it changes all the time.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: What's the difference between image formats?

Post by mpack »

VDI is the VirtualBox native format. Anything you can do with VirtualBox, you can do it with VDI.

The other formats are the native formats of competing VM platforms, they are included to make it easier for you to switch allegiance to the VirtualBox camp.

I have to disagree with Michaln on one point: IMHO VHD is the least trustworthy format and in fact should not be used. VHD has an inherent design flaw which means that any any VBox crash, or things like running out of host disk space, can lose you the entire contents of the drive. It has a number of other bad design decisions which will cause reduced performance.
Post Reply