SlideShare a Scribd company logo
1 of 20
VHDX details and file format
Mahesh Mankar
www.ryussi.com
.vhdx
Hyper-V VM
 Hyper-V VM consists following files
 Configuration file
○ VMGUID.xml
 Running memory file
○ VMGUID.bin
 Virtual disk file(s)
○ VMNAME.vhdx
VM files
 VMGUID.xml
 Consists all configuration of VM in xml format
...
<name type="string">Win8</name>
<notes type="string"></notes>
<type_id type="string">Virtual Machines</type_id>
...
<MacAddress type="string">00-15-5D-01-08-76</MacAddress>
...
<controller0>
<drive0>
<pathname type="string">D:Win8.vhdx</pathname>
...
<processors>
<count type="integer">1</count>
...
 VMGUID.bin
 Created when machine is running, consiste memory map.
 Used for save/pause the VM.
What is vhdx
 vhdx is a file format used by Hyper-V ( Server
2012)
(Earlier with server 2008, it was .vhd)
This is the file formate used by hypervisor (Windows Hyper-V) and Windows
Azure to create virtual disk drive for virtual machines.
History
 The .vhd format was created by Connectix for
Connectix Virtual PC product
○ Acquired by Microsoft in 2003
 Supported by
○ Microsoft Virtual PC
○ Microsoft Virtual Server
○ Hyper-V
○ Oracle VirtualBox
○ Sun xVM
○ VMware ESX
○ VMware Workstation
○ Citrix XenServer
 .vhdx over .vhd
○ From Windows 8 & Server 2012 Microsoft modified vhd format to vhdx
Types
 Fixed size
 This type of disk are created with the specified size. Space is allocated
at the time of creation
 This gives higher performance
500 GB -
actual
FixedDisk.vhdx (500 GB)
Types
 Dynamic expanding
 Dynamically growing. Space is allocated as required
 This gives better space management but slower in performance
500 GB - logical
DynamicDisk.vhdx (500 GB)
50 GB -actual
Types
 Differencing
 It freezes the parent disk and creates delta disk
 Used for snapshot purpose
FixedDisk.vhdx (100 GB)
100 GB
DiffDiskA.avhdx (10 GB)
10 GB
DiffDiskAA.avhdx (5 GB)
5 GB
DiffDiskB.vhdx (20 GB)
20 GB
Parent
Parent
Child
Child
Child
Features
 Maximum size supported is 64 TB.
 With VHD it is 2 TB
 Block size is 4k
 Improved performance
 Larger logical sector sizes for a virtual disk up to 4 KB
 Large block sizes for a virtual disk up to 256 MB that enables tuning block
size to match the IO
 Updated metadata structures
 To prevent data loss during power failures
.vhdx file layout
.vhdx file logical layout
.vhdx file layout
.vhdx file layout
.vhdx file layout
 Header
 1MB -This is first object of file contains following sections
○ File type identifier
 Contains a short, fixed signature to identify the file as a VHDX
○ Two headers
 Acts as a root of the VHDX data structure tree, providing version
information, the location and size of the log, and some basic file metadata
 Only one header is active at a time
VHDX_HEADER
Signature(UINT32) Checksum(UINT32) SequenceNumber(UINT64)
FileWriteGuid(GUID) DataWriteGuid(GUID) LogGuid(GUID)
LogVersion(UINT16) Version(UINT16) LogLength(UINT32)
LogOffset(UINT64) Reserved[4016](UINT8)
○ Two region table
 Lists regions, which are virtually contiguous, variable-size, MB aligned
pieces of data within the file
 Header Layout
text
File
Identifier
Header
1
Header
2
Region
Table 1
0
KB
64
KB
128
KB
192
KB
256
KB
1MB
Reserved
320
KB
Region
Table 2
.vhdx file layout
 Log
 The log is a single circular buffer stored contiguously at a location that is
specified in the VHDX header
 Consists of variable-sized log entries to be written after unexpected
system failure event
 Blocks
 Payload blocks contain virtual disk payload data.
 Sector bitmap blocks contain parts of the sector bitmap
 BAT
 BAT is a region consisting of a single array of 64-bit values, with an entry
for each block that determines the state and file offset of that block
 Metadata Region
 MetaData table - Mapping to MetaData items
 MetaData items - User metadata and system metadata
API for vhdx
 C++ API is available to create update .vhdx file.
 Virtdisk.h, Virtdisk.dll, Virtdisk.lib
 Supported from windows 7 onward
 Available calls for .vhdx
 AddVirtualDiskParent AttachVirtualDisk
 BreakMirrorVirtualDisk CompactVirtualDisk
 CreateVirtualDisk DeleteVirtualDiskMetadata
 DetachVirtualDisk EnumerateVirtualDiskMetadata
 ExpandVirtualDisk GetStorageDependencyInformation
 GetVirtualDiskInformation GetVirtualDiskMetadata
 GetVirtualDiskOperationProgress GetVirtualDiskPhysicalPath
 MergeVirtualDisk MirrorVirtualDisk
 OpenVirtualDisk ResizeVirtualDisk
 SetVirtualDiskInformation SetVirtualDiskMetadata
VDS - Virtual Disk Service
 Manages a wide range of storage configurations
 From single disk to external storage arrays
 Exposes an API (Windows Storage Management API)
Usability
 Create new disk
 Delete disk
 Expand disk
 Compact disk
 Mirror disk
 Attach disk
Comparison
 Comparison with other virtual disk format
VIRTUAL DISK TYPE VHD VHDX VMDK VDI
BUILT BY Microsoft Microsoft VMware Sun Microsystems
MAX SIZE 2TB 64TB 62TB
(2TB before Sep-
2013)
2TB
TYPE - FIXED Yes Yes Yes Yes
TYPE - DYNAMIC Yes Yes Yes Yes
TYPE - DIFFERENCING/DELTA Yes Yes Yes No
MULTIPART No No Yes No
 Get vhdx file information (GetVirtualDiskInformation)
 Expand size (ResizeVirtualDisk)
Example
Example
Thanks
 Have Questions ? Feel free to reach out to us
at info@ryussi.com !

More Related Content

What's hot

Evernote Touch App Artifact Report
Evernote Touch App Artifact Report Evernote Touch App Artifact Report
Evernote Touch App Artifact Report Aziz Sasmaz
 
MySQL Document Store -- SCaLE 17x Presentation
MySQL Document Store -- SCaLE 17x PresentationMySQL Document Store -- SCaLE 17x Presentation
MySQL Document Store -- SCaLE 17x PresentationDave Stokes
 
Solid state drive (ssd)
Solid state drive (ssd)Solid state drive (ssd)
Solid state drive (ssd)Mukesh Mirrey
 
Wd usb hdd image un locker pro-sw6316
Wd usb hdd image un locker pro-sw6316Wd usb hdd image un locker pro-sw6316
Wd usb hdd image un locker pro-sw6316Dolphin Data Lab
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storagebhavintu79
 
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage Solution
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage SolutionStorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage Solution
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage SolutionAmerican Megatrends India
 
MongoDB for Beginners
MongoDB for BeginnersMongoDB for Beginners
MongoDB for BeginnersEnoch Joshua
 
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQL
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQLENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQL
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQLHoracio Gonzalez
 
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQLENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQLHoracio Gonzalez
 
Solid State Drives (Third Generation) 2013
Solid State Drives (Third Generation) 2013Solid State Drives (Third Generation) 2013
Solid State Drives (Third Generation) 2013Hemanth HR
 

What's hot (13)

Evernote Touch App Artifact Report
Evernote Touch App Artifact Report Evernote Touch App Artifact Report
Evernote Touch App Artifact Report
 
Drobo range ppt v.1.6
Drobo range ppt v.1.6Drobo range ppt v.1.6
Drobo range ppt v.1.6
 
RAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocksRAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocks
 
MySQL Document Store -- SCaLE 17x Presentation
MySQL Document Store -- SCaLE 17x PresentationMySQL Document Store -- SCaLE 17x Presentation
MySQL Document Store -- SCaLE 17x Presentation
 
Solid state drive (ssd)
Solid state drive (ssd)Solid state drive (ssd)
Solid state drive (ssd)
 
Wd usb hdd image un locker pro-sw6316
Wd usb hdd image un locker pro-sw6316Wd usb hdd image un locker pro-sw6316
Wd usb hdd image un locker pro-sw6316
 
Mongo db basics
Mongo db basicsMongo db basics
Mongo db basics
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storage
 
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage Solution
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage SolutionStorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage Solution
StorTrends 2400i is a 2U Dual Dialect IP-SAN / NAS Storage Solution
 
MongoDB for Beginners
MongoDB for BeginnersMongoDB for Beginners
MongoDB for Beginners
 
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQL
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQLENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQL
ENIB 2015-2016 - CAI Web - S01E01- MongoDB and NoSQL
 
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQLENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
ENIB 2015 2016 - CAI Web S02E03 - Forge JS 2/4 - MongoDB and NoSQL
 
Solid State Drives (Third Generation) 2013
Solid State Drives (Third Generation) 2013Solid State Drives (Third Generation) 2013
Solid State Drives (Third Generation) 2013
 

Similar to VHDX File Format Details and Features

Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01Clint Edmonson
 
Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Louis Göhl
 
Upgrading and deploying Windows 7
Upgrading and deploying Windows 7Upgrading and deploying Windows 7
Upgrading and deploying Windows 7ctc TrainCanada
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewaboobakar sanjar
 
SysInternals Disk2vhd - docs.pdf
SysInternals Disk2vhd - docs.pdfSysInternals Disk2vhd - docs.pdf
SysInternals Disk2vhd - docs.pdfhtdvul
 
VMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationVMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationRabbah Adel Ammar
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Tũi Wichets
 
The Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideThe Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideVeeam Software
 
Microsoft (Virtualization 2008)
Microsoft (Virtualization 2008)Microsoft (Virtualization 2008)
Microsoft (Virtualization 2008)Vinayak Hegde
 
TechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsTechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsRobb Boyd
 
Nytro-XV_NWD_VM_Performance_Acceleration
Nytro-XV_NWD_VM_Performance_AccelerationNytro-XV_NWD_VM_Performance_Acceleration
Nytro-XV_NWD_VM_Performance_AccelerationKhai Le
 
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...IBM India Smarter Computing
 
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdid
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdidHitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdid
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdidChetan Gabhane
 
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME JP BLAKE, ASSURED INFORMATION SE...
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME  JP BLAKE, ASSURED INFORMATION SE...XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME  JP BLAKE, ASSURED INFORMATION SE...
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME JP BLAKE, ASSURED INFORMATION SE...The Linux Foundation
 
Vx Rack : L'hyperconvergence avec l'experience VCE
Vx Rack : L'hyperconvergence avec l'experience VCEVx Rack : L'hyperconvergence avec l'experience VCE
Vx Rack : L'hyperconvergence avec l'experience VCERSD
 

Similar to VHDX File Format Details and Features (20)

Shadow forensics print
Shadow forensics printShadow forensics print
Shadow forensics print
 
2 Boot To Vhd
2 Boot To Vhd2 Boot To Vhd
2 Boot To Vhd
 
Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01
 
Virtual Hard disk
Virtual Hard diskVirtual Hard disk
Virtual Hard disk
 
Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...
 
Upgrading and deploying Windows 7
Upgrading and deploying Windows 7Upgrading and deploying Windows 7
Upgrading and deploying Windows 7
 
IBM Flex System Storage Expansion Node
IBM Flex System Storage Expansion NodeIBM Flex System Storage Expansion Node
IBM Flex System Storage Expansion Node
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overview
 
SysInternals Disk2vhd - docs.pdf
SysInternals Disk2vhd - docs.pdfSysInternals Disk2vhd - docs.pdf
SysInternals Disk2vhd - docs.pdf
 
VMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project PresentationVMware Vsphere Graduation Project Presentation
VMware Vsphere Graduation Project Presentation
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture
 
The Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideThe Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study Guide
 
VHD Recovery Tool
VHD Recovery ToolVHD Recovery Tool
VHD Recovery Tool
 
Microsoft (Virtualization 2008)
Microsoft (Virtualization 2008)Microsoft (Virtualization 2008)
Microsoft (Virtualization 2008)
 
TechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsTechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex Systems
 
Nytro-XV_NWD_VM_Performance_Acceleration
Nytro-XV_NWD_VM_Performance_AccelerationNytro-XV_NWD_VM_Performance_Acceleration
Nytro-XV_NWD_VM_Performance_Acceleration
 
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...
Citrix XenDesktop on XenServer and IBM Hardware Sizing Baseline and Reference...
 
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdid
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdidHitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdid
Hitachi whitepaper-protect-ucp-hc-v240-with-vmware-vsphere-hdid
 
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME JP BLAKE, ASSURED INFORMATION SE...
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME  JP BLAKE, ASSURED INFORMATION SE...XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME  JP BLAKE, ASSURED INFORMATION SE...
XPDS13: VIRTUAL DISK INTEGRITY IN REAL TIME JP BLAKE, ASSURED INFORMATION SE...
 
Vx Rack : L'hyperconvergence avec l'experience VCE
Vx Rack : L'hyperconvergence avec l'experience VCEVx Rack : L'hyperconvergence avec l'experience VCE
Vx Rack : L'hyperconvergence avec l'experience VCE
 

Recently uploaded

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 

Recently uploaded (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 

VHDX File Format Details and Features

  • 1. VHDX details and file format Mahesh Mankar www.ryussi.com .vhdx
  • 2. Hyper-V VM  Hyper-V VM consists following files  Configuration file ○ VMGUID.xml  Running memory file ○ VMGUID.bin  Virtual disk file(s) ○ VMNAME.vhdx
  • 3. VM files  VMGUID.xml  Consists all configuration of VM in xml format ... <name type="string">Win8</name> <notes type="string"></notes> <type_id type="string">Virtual Machines</type_id> ... <MacAddress type="string">00-15-5D-01-08-76</MacAddress> ... <controller0> <drive0> <pathname type="string">D:Win8.vhdx</pathname> ... <processors> <count type="integer">1</count> ...  VMGUID.bin  Created when machine is running, consiste memory map.  Used for save/pause the VM.
  • 4. What is vhdx  vhdx is a file format used by Hyper-V ( Server 2012) (Earlier with server 2008, it was .vhd) This is the file formate used by hypervisor (Windows Hyper-V) and Windows Azure to create virtual disk drive for virtual machines.
  • 5. History  The .vhd format was created by Connectix for Connectix Virtual PC product ○ Acquired by Microsoft in 2003  Supported by ○ Microsoft Virtual PC ○ Microsoft Virtual Server ○ Hyper-V ○ Oracle VirtualBox ○ Sun xVM ○ VMware ESX ○ VMware Workstation ○ Citrix XenServer  .vhdx over .vhd ○ From Windows 8 & Server 2012 Microsoft modified vhd format to vhdx
  • 6. Types  Fixed size  This type of disk are created with the specified size. Space is allocated at the time of creation  This gives higher performance 500 GB - actual FixedDisk.vhdx (500 GB)
  • 7. Types  Dynamic expanding  Dynamically growing. Space is allocated as required  This gives better space management but slower in performance 500 GB - logical DynamicDisk.vhdx (500 GB) 50 GB -actual
  • 8. Types  Differencing  It freezes the parent disk and creates delta disk  Used for snapshot purpose FixedDisk.vhdx (100 GB) 100 GB DiffDiskA.avhdx (10 GB) 10 GB DiffDiskAA.avhdx (5 GB) 5 GB DiffDiskB.vhdx (20 GB) 20 GB Parent Parent Child Child Child
  • 9. Features  Maximum size supported is 64 TB.  With VHD it is 2 TB  Block size is 4k  Improved performance  Larger logical sector sizes for a virtual disk up to 4 KB  Large block sizes for a virtual disk up to 256 MB that enables tuning block size to match the IO  Updated metadata structures  To prevent data loss during power failures
  • 10. .vhdx file layout .vhdx file logical layout
  • 11. .vhdx file layout .vhdx file layout
  • 12. .vhdx file layout  Header  1MB -This is first object of file contains following sections ○ File type identifier  Contains a short, fixed signature to identify the file as a VHDX ○ Two headers  Acts as a root of the VHDX data structure tree, providing version information, the location and size of the log, and some basic file metadata  Only one header is active at a time VHDX_HEADER Signature(UINT32) Checksum(UINT32) SequenceNumber(UINT64) FileWriteGuid(GUID) DataWriteGuid(GUID) LogGuid(GUID) LogVersion(UINT16) Version(UINT16) LogLength(UINT32) LogOffset(UINT64) Reserved[4016](UINT8) ○ Two region table  Lists regions, which are virtually contiguous, variable-size, MB aligned pieces of data within the file  Header Layout text File Identifier Header 1 Header 2 Region Table 1 0 KB 64 KB 128 KB 192 KB 256 KB 1MB Reserved 320 KB Region Table 2
  • 13. .vhdx file layout  Log  The log is a single circular buffer stored contiguously at a location that is specified in the VHDX header  Consists of variable-sized log entries to be written after unexpected system failure event  Blocks  Payload blocks contain virtual disk payload data.  Sector bitmap blocks contain parts of the sector bitmap  BAT  BAT is a region consisting of a single array of 64-bit values, with an entry for each block that determines the state and file offset of that block  Metadata Region  MetaData table - Mapping to MetaData items  MetaData items - User metadata and system metadata
  • 14. API for vhdx  C++ API is available to create update .vhdx file.  Virtdisk.h, Virtdisk.dll, Virtdisk.lib  Supported from windows 7 onward  Available calls for .vhdx  AddVirtualDiskParent AttachVirtualDisk  BreakMirrorVirtualDisk CompactVirtualDisk  CreateVirtualDisk DeleteVirtualDiskMetadata  DetachVirtualDisk EnumerateVirtualDiskMetadata  ExpandVirtualDisk GetStorageDependencyInformation  GetVirtualDiskInformation GetVirtualDiskMetadata  GetVirtualDiskOperationProgress GetVirtualDiskPhysicalPath  MergeVirtualDisk MirrorVirtualDisk  OpenVirtualDisk ResizeVirtualDisk  SetVirtualDiskInformation SetVirtualDiskMetadata
  • 15. VDS - Virtual Disk Service  Manages a wide range of storage configurations  From single disk to external storage arrays  Exposes an API (Windows Storage Management API)
  • 16. Usability  Create new disk  Delete disk  Expand disk  Compact disk  Mirror disk  Attach disk
  • 17. Comparison  Comparison with other virtual disk format VIRTUAL DISK TYPE VHD VHDX VMDK VDI BUILT BY Microsoft Microsoft VMware Sun Microsystems MAX SIZE 2TB 64TB 62TB (2TB before Sep- 2013) 2TB TYPE - FIXED Yes Yes Yes Yes TYPE - DYNAMIC Yes Yes Yes Yes TYPE - DIFFERENCING/DELTA Yes Yes Yes No MULTIPART No No Yes No
  • 18.  Get vhdx file information (GetVirtualDiskInformation)  Expand size (ResizeVirtualDisk) Example
  • 20. Thanks  Have Questions ? Feel free to reach out to us at info@ryussi.com !

Editor's Notes

  1. Note : Slide Note 1 Description
  2. Note : Slide Note 2 Description
  3. Note : Slide Note 2 Description
  4. Note : Slide Note 2 Description
  5. Note : Slide Note 2 Description
  6. Note : Slide Note 3 Description
  7. Note : Slide Note 3 Description
  8. Note : Slide Note 3 Description
  9. Note : Slide Note 4 Description
  10. Note : Slide Note 10 Description
  11. Note : Slide Note 10 Description
  12. Note : Slide Note 10 Description
  13. Note : Slide Note 10 Description
  14. Note : Slide Note 10 Description
  15. Note : Slide Note 10 Description
  16. Note : Slide Note 10 Description
  17. Note : Slide Note 10 Description
  18. Note : Slide Note 10 Description
  19. Note : Slide Note 10 Description
  20. Note : Slide Note 10 Description