1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic
|
---|
3 | PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
4 | <topic xml:lang="en-us" id="vdidetails">
|
---|
5 | <title>Disk Image Files (VDI, VMDK, VHD, HDD)</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 | <p>Disk image files reside on the host system and are seen by the guest systems as hard disks of a
|
---|
9 | certain geometry. When a guest OS reads from or writes to a hard disk, <ph
|
---|
10 | conkeyref="vbox-conkeyref-phrases/product-name"/> redirects the request to the image file. </p>
|
---|
11 | <p>Like a physical disk, a virtual disk has a size, or capacity, which must be specified when the image
|
---|
12 | file is created. As opposed to a physical disk however, <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
|
---|
13 | enables you to expand an image file after creation, even if it has data already. See <xref
|
---|
14 | href="vboxmanage-modifymedium.dita"/>. </p>
|
---|
15 | <p>
|
---|
16 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> supports the following types of disk image files:
|
---|
17 | </p>
|
---|
18 | <ul>
|
---|
19 | <li>
|
---|
20 | <p><b outputclass="bold">VDI.</b> Normally, <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
|
---|
21 | uses its own container format for guest hard disks. This is called a Virtual Disk Image (VDI) file. This
|
---|
22 | format is used when you create a new virtual machine with a new disk. </p>
|
---|
23 | </li>
|
---|
24 | <li>
|
---|
25 | <p><b outputclass="bold">VMDK.</b>
|
---|
26 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> also fully supports the popular and open VMDK container
|
---|
27 | format that is used by many other virtualization products, such as VMware. </p>
|
---|
28 | </li>
|
---|
29 | <li>
|
---|
30 | <p><b outputclass="bold">VHD.</b>
|
---|
31 | <ph conkeyref="vbox-conkeyref-phrases/product-name"/> also fully supports the VHD format used by Microsoft. </p>
|
---|
32 | </li>
|
---|
33 | <li>
|
---|
34 | <p><b outputclass="bold">HDD.</b> Image files of Parallels version 2 (HDD format) are also
|
---|
35 | supported. </p>
|
---|
36 | <p>Due to lack of documentation of the format, newer versions such as 3 and 4 are not supported.
|
---|
37 | You can however convert such image files to version 2 format using tools provided by Parallels. </p>
|
---|
38 | </li>
|
---|
39 | </ul>
|
---|
40 | <p>Irrespective of the disk capacity and format, as mentioned in <xref
|
---|
41 | href="create-vm-wizard.dita#create-vm-wizard"/>, there are two options for creating a disk image: fixed-size or
|
---|
42 | dynamically allocated. </p>
|
---|
43 | <ul>
|
---|
44 | <li>
|
---|
45 | <p><b outputclass="bold">Fixed-size.</b> If you create a fixed-size image, an image file will be
|
---|
46 | created on your host system which has roughly the same size as the virtual disk's capacity. So, for a 10 GB
|
---|
47 | disk, you will have a 10 GB file. Note that the creation of a fixed-size image can take a long time depending
|
---|
48 | on the size of the image and the write performance of your hard disk. </p>
|
---|
49 | </li>
|
---|
50 | <li>
|
---|
51 | <p><b outputclass="bold">Dynamically allocated.</b> For more flexible storage management, use a
|
---|
52 | dynamically allocated image. This will initially be very small and not occupy any space for unused virtual
|
---|
53 | disk sectors, but will grow every time a disk sector is written to for the first time, until the drive reaches
|
---|
54 | the maximum capacity chosen when the drive was created. While this format takes less space initially, the fact
|
---|
55 | that <ph conkeyref="vbox-conkeyref-phrases/product-name"/> needs to expand the image file consumes additional
|
---|
56 | computing resources, so until the disk file size has stabilized, write operations may be slower than with
|
---|
57 | fixed size disks. However, after a time the rate of growth will slow and the average penalty for write
|
---|
58 | operations will be negligible. </p>
|
---|
59 | </li>
|
---|
60 | </ul>
|
---|
61 | </body>
|
---|
62 |
|
---|
63 | </topic>
|
---|