Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Dynamic Hard Disk Image #2

Open
5 tasks
jhermsmeier opened this issue Jan 9, 2014 · 0 comments
Open
5 tasks

Implement Dynamic Hard Disk Image #2

jhermsmeier opened this issue Jan 9, 2014 · 0 comments
Milestone

Comments

@jhermsmeier
Copy link
Owner

A dynamic hard disk image is a file that at any given time is as large as the actual
data written to it plus the size of the header and footer. Allocation is done in blocks.

As more data is written, the file dynamically increases in size by allocating more blocks. For example, the size of file backing a virtual 2-GB hard disk is initially
around 2 MB on the host file system. As data is written to this image, it grows with
a maximum size of 2 GB.

Dynamic hard disks store metadata that is used in accessing the user data stored
on the hard disk. The maximum size of a dynamic hard disk is 2040 GB. The actual
size is restricted by the underlying disk hardware protocol. For example, ATA hard
disks have a 127-GB limit.

VHD Functions:

  • Create
    (Creates a VHD image file, either using default parameters or using an existing virtual disk or physical disk)
  • Compact
    (Reduces the size of a VHD backing store file)
  • Expand
    (Increases the size of a fixed or dynamically expandable VHD)
  • Mirror
    (Initiates a mirror operation for a virtual disk)
  • Resize
    (Resizes a virtual disk)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant