VM Storage
Virtual Disk Format
Task Description
Compact Compacts the file size of a VHD. Typically helpful with the use of dynamically
expanding disks. After data is deleted from the VHD, use the compact task to
eliminate white space and reduce the VHD file size. This option does not alter
the storage capacity defined for the VHD.
Convert Converts a VHD between fixed-sized and dynamically expanding by copying
the contents to a new VHD. The new VHD can be configured to use a
different type and format than the original hard disk.
Expand Expands the capacity of the VHD.
Merge Merges the changes stored in a differencing disk into the parent disk or a
new disk. Helpful when accepting changes after development activities.
Shrink Reduces the storage capacity of the VHD.
Inspect Inspects the VHD for any errors. Also used to determine the disk type and
format.
Reconnect After a parent-child relationship has been established, any changes to the
parent disk, such as altering the path, will invalidate the relationship. If this
happens, the child disk will need to reconnect to the parent. After inspecting
the child disk and recognizing a failure, the reconnect option will be available.
Hard Disk Sharing
■ Pass-through disks tend to provide increased performance due to guests accessing raw disks
without the added overhead of the virtualization layer. This is especially helpful for servers that
demand high levels of I/O activities such as an SQL server.
■ Pass-through disks are often more useful when you have large volumes of data. There are more
options with respect to backups available for pass-through disks.
■ Pass-through disks cannot be used with removable drives.
■ Checkpoints and other host-based Shadow Copy providers, including those included with third-
party backup providers, do not support pass-through disks. Traditional file-level backups are
required to protect data stored on passthrough disks.
■ Live Migrations without user impact are not possible with pass-through disks.
■ Pass-through disks might put an increased workload on the VM.
Checkpoints
known as snapshots) are used to capture the state, data, and configuration of a VM.
hey are used to quickly revert to a previous state of the VM with just a few clicks.
New Live Migration feature : Live Migration must be enabled and configured appropriately
to take advantage of minimal to no downtime.
■ Raw disks such as pass-through disks are not supported by checkpoints or similar third-party
snapshot providers.
■ The more checkpoints that are created, the greater the disk I/O is for the VM. This is because
Hyper-V needs to keep track of all data changes from the point in time at which the checkpoint
was created. It essentially has to keep a journal with all events that occur so that each change
can be undone and the VM, data, and configuration can be rolled back to the previous state.
■ If checkpoints fill up all available storage, the VM can enter a saved state to prevent data
corruption. To restore the VM to a normal running state, checkpoints might need to be deleted.
This process can take considerable time depending on how many checkpoints are present.
Windows Server 2012 and 2012 R2 enable checkpoints to be removed while the VM is running.
Hyper-V Checkpoint Pane Tasks
Task Description
Settings Displays information contained within the checkpoint file. This includes
all hardware, management, and configuration settings for the VM.
Apply Applies the selected checkpoint to the VM. Hyper-V Manager will ask you
to select one of the following settings when applying the snapshot:
■ Take Checkpoint and Apply: Creates a new checkpoint before applying or
reverting to the selected one
■ Apply: Does not create a new checkpoint, but simply applies and
reverts to the selected one
■ Cancel: Cancels the operation and does not apply the selected
checkpoint
Export Similar to the VM export function discussed earlier, the export checkpoint
function exports the state of the selected checkpoint as a VM. Hyper-V
Manager will prompt you to specify the location for the exported VM.
Rename Renames the selected checkpoint
Delete Checkpoint Deletes the selected checkpoint. Hyper-V Manager will prompt you to
confirm whether you want to delete the checkpoint.
Delete Checkpoint Deletes the selected checkpoint and the entire subtree. Hyper-V Manager
Subtree will prompt you to confirm the selection. This action can be useful in
situations where checkpoints fill up the available storage. With just a few
clicks, many or all checkpoints can be deleted to free up space.
Storage Area Network
• SAN is simply a network dedicated to high-speed connections between servers and storage
devices.
• SAN consists of one or more drive arrays equipped with network interface adapters, which
you connect to your servers by using standard twisted pair or fiber optic network cables.
■ Offload Data Transfer: Enterprise-class storage systems include the ability to offload specific
data transfer tasks to separate paths to the guest. For example, the offload function can be
used in situations where checkpoints initiated by the host actually transfer data within the SAN
using the storage processors on the SAN as opposed to the resources on the guest/host or even
the production network. Hyper-V 2012 R2 is aware and fully supports the offload data transfer
technology.