VHDCopEE
A command line tool to perform optimized VHD file copy operations from network and Clustered Shared volumes

The VM File Copy Problem
VHD files tend to be very large and here are a few reasons why

  • Microsoft recommends using fixed size VHD files
  • Running out of disk space inside a VHD can be disastrous, so tendency is to err on the side of caution
  • Unlike the physical world, VSS differencing area needs to be inside the same VHD

Unfortunately, many of the usage scenarios for Virtual Machines directly lead to a file copy. For example:

  • A typical backup scenario involves creating a diskdshadow based VSS snasphot of a running VM, mounting the snapped volume as a read only volume, and copying the VHDs from this mounted volume
  • DPM 2010 requires a full backup to start off - typically the full backup is done as a diskshadow based VM snapshot and then a xcopy or robocopy of the snapped volume containing the VM VHDs - a VHD file copy!
  • Migrating from Hyper-V 1.0 based on Windows Server 2008 to Hyper-V 2.0 based on Windows Server 2008 R2 and its Clustered Shared Volumes (CSV) also leads to a file copy. If you do a SAN LUN transfer, the recommened 4 to 8 VHDs per CSV LUN will all move with the LUN transfer from SCVMM Library to a Hyper-V host.
  • Moving VMs from a test server to a production server is a file copy operation
  • Checking in or checking out a file to/from SCVMM is typically a file copy operation

The current solution - an inefficient file copy
For non running VMs, the current file copy operations are inefficient in a number of ways:

  • Data that is unused by the file system inside the VM is copied
  • Data that is used by the file system inside the VM, but will never be used is copied. For example, when a master VM is checked out, the hibernation file will also be copied. The checked out VMs will typically always be booted afresh and never resumed, at least the first time the VM is fired up
  • Meaningful data is copied, and then immediately overwritten. For example, the current usage requires an admin to
    1. Wait for a check out file copy operation to complete - and wait for unused parts of VHD to be copied
    2. Boot the VM
    3. Install some new software e.g. a SP or Microsoft SQL Server and this will overwrite a fair amount of the VHD file copied in step 1

Introducing VHDCopEE
The VMUtil Inc. family of products work together to remove the inefficiencies. The patent pending VHDCopEE refrains from copying meaningless portions of a VHD file. VHDCopEE and VMProv work jointly to minimize copying data and then immediately overwriting it.

VHDCopEE can accelerate fixed size VHD file copies.

  • The source VHD can be on a local volume, a VSS snapshot read only volume, a network volume, or a CSV volume.
  • The destination VHD can be on a local volume, a network volume, or a CSV volume.
VHDCopEE Advantages
  • Significant reduction in disk I/O of upto 90% depending upon VHD contents
  • Significant reduction in file copy time
  • Scriptable command line tool
  • Use VHDCopy to migrate from Windows Server 2008 based Hyper-V 1.0 to Windows Server 2008 R2 based Hyper-V 2.0 and its Clustered Shared Volumes (CSV)
  • Increase security - with the /Secure option, VHDCopEE is the equivalent of a combined xcopy followed by a Secure Delete (SDelete) - yet there is still an I/O savings. If copying a VHD across a LAN, the zeros do not flow across the LAN
  • Fully supports Clustered Shared Volumes
  • Complements Microsoft System Center Data Protection Manager functionality if deployed
  • Complements Microsoft System Center Virtual Machine Manager 2008 R2 if deployed
VHDCopEE Caveats
  • optimizes only for fixed size VHDs, not dynamic
  • Optimizes only for MBR partitioned VHDs not GPT partitioned VHDs (custom solution available)
  • optimizes only 1 partition copying inside VHD - for Windows Vista, Windows Server 2008, Windows Server 2008 R2, and Windows 7, will optimize the larger system partition e.g. will optimize copying of the 120GB partition which occurs after a 100 MB partition.
  • Optimizes only when file system inside VHD is NTFS - custom solutions for other file systems are available.

See a screen shot of VHDCopEE in action

Try before you buy
VHDCopEE is now available for purchase. Please send email to sales@VMUtil.com to obtain your evaluation copy.