Vdi vhd vmdk в чем разница
Файлы дисковых образов располагаются на хост системе и определяются гостевыми системами как жесткие диски определенного размера. При создании образа, необходимо указать его размер. После создания вы уже не сможете изменить размер виртуального диска.
VirtualBox поддерживает следующие виды образов дисков:
- Обычно, VirtualBox использует собственный формат виртуальных дисков — файлы Virtual Disk Image (VDI) . В частности, этот формат используется, когда вы создаете мастером новую виртуальную машину.
- Так же VirtualBox полностью поддерживает работу с популярным открытым форматом VMDK, который используется во многих других программах виртуализации, в частности VMware. [ 14 ]
- Наконец, VirtualBox также полностью поддерживает формат VHD, применяемый Microsoft.
Независимо от формата виртуальных дисков, как упоминается в Разделе 3.2, “Создание виртуальных машин” , существует два типа создаваемых образов: фиксированного размера и динамически расширяемые.
- Если вы создаете образ фиксированного размера емкостью 10 GB, то на хост системе будет создан файл примерно такого же размера. Заметьте что создание фиксированных образов может занять довольно значительное время, в зависимости от размера образа и производительности дисковых операций вашей системы.
- Для более гибкого управления виртуальными носителями, используются динамически расширяемые образы . При создании данный образ будет иметь небольшой размер, за счет неиспользуемого пространства виртуального диска, но по мере использования, файл образа будет увеличиваться. Данный вид файла занимает меньше места на начальном этапе, однако VirtualBox необходимо увеличивать размер образа (пока образ не достигнет максимального размера), что ведет к замедлению дисковых операций по сравнению с дисками фиксированного размера. Однако, после достижения предела расширения динамического диска, потери производительности операций чтения и записи уже не так значительны.
[ 14 ] Начальная поддержка для VMDK была добавлена в VirtualBox 1.4; позднее в в версии 2.1, VirtualBox была реализована его полная поддержка, что означает, что вы можете использовать функции доступные для VDI образов и для VMDK , включая поддержку снимков системы.
Форум русскоязычного сообщества Ubuntu
Страница сгенерирована за 0.041 секунд. Запросов: 25.
- Сайт
- Об Ubuntu
- Скачать Ubuntu
- Семейство Ubuntu
- Новости
- Форум
- Помощь
- Правила
- Документация
- Пользовательская документация
- Официальная документация
- Семейство Ubuntu
- Материалы для загрузки
- Совместимость с оборудованием
- RSS лента
- Сообщество
- Наши проекты
- Местные сообщества
- Перевод Ubuntu
- Тестирование
- RSS лента
© 2012 Ubuntu-ru — Русскоязычное сообщество Ubuntu Linux.
© 2012 Canonical Ltd. Ubuntu и Canonical являются зарегистрированными торговыми знаками Canonical Ltd.
VDI Vs VHD Vs VMDK: Learn the Different Virtual Disk Formats
In virtualization, virtual disks are where guest operating systems are installed, making them the equivalent of traditional hard disks. Once a virtual machine has been installed with a virtual disk running a guest operating system, it is ready for use.
Virtual disks come in different formats, depending on what virtualization software the creator used to create them. The more popular virtual disk formats include Virtual Disk Image (VDI), Virtual Hard Disk (VHD), and Virtual Machine Disk (VMDK). VDI is the virtual disk format for Oracle VirtualBox, VHD and VHDX are designed for Microsoft’s virtualization products, and VMDK is VMware’s own virtual disk format.
VDI: Oracle’s Default Disk Format Used by Virtual Box

VDI, which stands for Virtual Disk Image, is the default disk format for the open-source Oracle VM VirtualBox, an actively developed, enterprise-class virtualization product. VirtualBox runs on macOS, Windows, Linux, and Solaris hosts, and supports various guest operating systems, including Windows, DOS, Linux, Solaris and OpenSolaris, OS/2 and OpenBSD. It supports even older Windows versions such as Windows 3.x, NT 4.0, 2000, XP, Server 2003 and Vista, making it suitable for development work among companies that continue to provide backward-compatible support for software built around these operating systems.
If you are looking at using VirtualBox for your virtualization needs, you can pick from pre-built VMs at Oracle Tech Network. Since it is open-source, a wide range of support tools that can be used with the software is also available from the VirtualBox ecosystem.
Virtual disks created using VirtualBox have a .vdi file extension. VDI is portable and can be run using other virtualization programs. It allows both fixed-size and dynamically allocated storage. The latter means you can expand an image file after it has been created—even if it already contains data.
Unofficial tests affirm that VDI files are smaller and perform better than VHD or VHDX. However, VDI has been shown to be slower than VMDK. It also does not support incremental backups, but VMDK does. However, VDI does have high-level redundancy, lessening the impact of data loss on your VMs.
While VDI is specific to VirtualBox, the software is also compatible with Microsoft VHD/VHDX and VMware VMDK. This means that VirtualBox can run images with these file extensions as well. Using the Virtual Media Manager, VirtualBox allows you to create and copy VDI, VHD/VHDX, and VMDK virtual hard disks.
While VirtualBox supports different virtual disk formats, it is not always possible to convert other formats to VDI. Devices are also required to have VirtualBox before they can be installed with a virtual disk.
VHD: The Virtual Disk Format Used by Microsoft
VHD stands for Virtual Hard Disk and is the standard disk format for Microsoft’s now-defunct virtualization products, including Microsoft Virtual PC and Virtual Server. Although still widely used and supported by other virtualization products, VHD has been superseded by the VHDX format, which stands for Virtual Hard Disk v2. VHDX is the default used in the Microsoft Hyper-V hypervisor that was first introduced in Windows 2012. It features a storage capacity of 64 TB, which is significantly larger than the 2 TB capacity of VHD.
VHD/VHDX images reside as files on the host OS and fall into any of the following types:
- Fixed hard disk image. This type has the same size as the virtual disk and is characterized by a raw disk image followed by a VHD footer.
- Expandable (or dynamic) hard disk image. This type is as large as the actual data it contains and includes a header and footer.
- Differencing hard disk image. This image type saves all changes within the VHD to a child image, with the option to undo the changes or to merge the changes into the VHD. This type of image allows cloning of VHDs.
- Pass-through disk image. This kind is linked to a physical hard drive or to one of its partitions.
VHD/VHDX images have the following advantages:
- They make it easy to create pre-built configurations for a variety of purposes.
- They allow easy backup and restore so that potentially harmful changes to the disk can be rolled back, preventing a VM from going down.
- Multi-user isolation brought about by differencing hard-disk images means that users run their own instances of the OS. If something harmful brings down one instance, the other instances are not affected.
The VHD and VHDX file format specifications have been made available to third parties and are thus widely supported by various virtualization platforms. Microsoft has even made Application Programming Interfaces (APIs) available to ensure easy creation of Windows images in VHD files. Also available are Microsoft PowerShell scripts that allow conversion of an existing virtual hard disk from dynamic to fixed and vice versa, from VHD to VHDX, or a pass-through disk to a virtual hard disk.
On the negative side, corrupted VHD/VHDX files can crash Windows. Moreover, they are potential malware attack vectors against a VM. Mitigation measures must be adopted to minimize the risks of using them. These include blocking and restricting their access from web and email gateways and unregistering them from Windows Explorer.
VMDK: VMWare’s Virtual Disk File Format
VMDK, or Virtual Machine Disk, is a previously proprietary virtual disk-drive format built specifically for VMware virtual appliances, including VMware Workstation, VMware Player and VMware Fusion. It has since become an open format and is now widely used across different virtualization platforms, including Hyper-V and VirtualBox.
VMDK allows cloning of a physical hard disk and backup of VMs off-site. VMDK storage size has increased from 2 TB to 62 TB with the release of VMware vSphere 5.5 in 2013.
VMDK files can be either dynamic (sparse) or fixed (flat). Dynamic disks start small and expand with the size of the files in the guest OS. Fixed disks are static and do not change in size—they are allocated a fixed, large size from the outset to accommodate expected size changes with the increasing use of a VM.
VMDK allows incremental backups of changes to data from the time of the last backup, unlike VDI and VHD. This makes the backup process for VMDK files much faster compared to VDI and VHD. Unofficial tests also show that VMDK is significantly faster than VDI or VHD.
Other advantages include:
- Live migration features that allow moving/migrating VMs to another server.
- Snapshots and continuous data protection.
- Utilization of high-performance SAN storage.
- Ability to recreate and restart VMs with backup VMDK files.
Converting a Physical PC to a Virtual Disk
Using VMware or Hyper-V, you can convert a physical hard disk installed with Windows, Linux or any other operating system to a virtual disk that you can then install on a VM. The conversion process varies by vendor. In the case of VirtualBox, the process can be complicated and is therefore not recommended, unless you are patient enough and have the requisite expertise.
In addition, before converting a Windows PC, make sure to check that you do not violate your Windows license terms.
For VMware, you can convert Windows and Linux PCs into VMs using the VMware vCenter Converter. Download the tool on the PC to be converted, click the Convert machine button, select the PC as the source, then choose VMware Workstation, VMware Player or VMware Fusion virtual machine as the destination. You can then use the generated VMDK file to install a VM with the operating system image on another PC.
Hyper-V allows generation of Windows virtual disks using the Disk2vhd tool. The resulting VHD file can then be installed using Hyper-V on another machine.
Parallels RAS Provides Hypervisor Flexibility
Parallels® Remote Application Server (RAS) supports VMware ESXi, VMware vCenter and Microsoft Hyper-V, among other hypervisors and virtualization technologies. As such, it supports multiple virtual disk formats, including VDI, VHD and VMDK.
Parallels RAS allows your IT team to create and deploy several guest VMs at the same time using a single template. Virtual disks can also be replicated from existing VMs using linked clones, allowing multiple VMs to share the same software installation and helping your organization save valuable time and disk space in the process.
Parallels RAS also has a Test Template wizard that allows simulation of a VM’s lifecycle from creation to deletion. This same wizard tests how accessible your VMs are to your users.
Download the Parallels RAS trial, and check its compatibility with the different virtual disk formats.
Как открыть файлы VDI, VHD, VMDK (образы дисков виртуальных машин)
Файлы VDI, VHD, VMDK — это различные виды виртуальных дисков, используемых в программах для создания и запуска виртуальных компьютеров, таких как VirtualBox.
Виртуальный диск — это файл, который в виртуальной машине является диском, и в котором хранятся все данные виртуального компьютера.
Посмотреть содержимое файловой системы, конечно же, можно запустив виртуальную машину и открыв файловый менеджер. Эта статья расскажет о другом способе — как просмотреть содержимое виртуального диска из хост машины без запуска гостевой системы.
Описанным способом можно просмотреть содержимое следующих видов виртуальных дисков:
- VDI — VirtualBox Disk Image (образ диска VirtualBox, в программе VirtualBox используется по умолчанию при создании новых виртуальных машин)
- VHD — Virtual Hard Disk (виртуальный жёсткий диск)
- VMDK — Virtual Machine Disk (диск виртуальной машины)
Как открыть образы дисков виртуальных машин
Прежде чем мы приступим к отрытию этих файлов, напомню, что на всех дисках используется одна из файловых систем. Это справедливо и для виртуальных дисков — они все отформатированы в NTFS, FAT32, EXT4 или в какую-то другую файловую систему.
Описанный в этой статье способ позволяет просматривать содержимое файлов VDI, VHD, VMDK и извлекать их разделы какую бы файловую систему вы не использовали. Но кроме извлечения разделов, вы можете просматривать их содержимое если они используют одну из следующих файловых систем: NTFS, FAT32, EXT4, EXT3, EXT2, SquashFS или cramfs.
В любом случае извлечённый таким образом образ раздела можно просмотреть в специализированной программе, даже если он в другой, не поддерживаемой файловой системе.
Просматривать виртуальные жёсткие диски, извлекать их разделы и просматривать эти разделы можно программой 7-Zip.
Начните с установки программы 7-Zip, как это сделать подробно описано в статье «Бесплатная альтернатива WinRAR».
Откройте 7-Zip, для этого в общесистемный поиск введите «7-Zip» и запустите программу.
Поднимаясь на один уровень вверх и переходя в папки, перейдите в окне программы 7-Zip к образу диска виртуальной машины.
И откройте его двойным кликом прямо в 7-Zip.
Вы увидите список разделов. Даже если у вас один диск, при установке многие операционные системы создают несколько разделов. Например, Windows создаёт 4 раздела, а Linux 2 или 3 раздела (основной, загрузочный диск и файл подкачки).
Вы можете посмотреть содержимое любого из этих разделов прямо в 7-Zip, либо извлечь их для дальнейшего анализа другими средствами.
Вы можете переходить в любые папки и просматривать любые файлы.
Итак, с помощью 7-Zip можно открыть и извлечь файлы из виртуальных дисков без запуска виртуальной машины и даже без установки программ для запуска виртуальных машин.
Связанные статьи:
- Как в виртуальной машине добавить ещё один диск (85.8%)
- Как отключить от сети виртуальную машину VirtualBox (84.3%)
- Простой способ просмотреть содержимое EFI, Microsoft Reserved Partition и любых других скрытых разделов (65.8%)
- Бесплатная альтернатива WinRAR (60.3%)
- Как открыть диск Linux на Windows (60.3%)
- Что такое Windows 10X и чем она отличается? (RANDOM — 50%)