Changes to virtual machine snapshots in Windows Server 2008 R2

Changes to virtual machine snapshots in Windows Server 2008 R2

  • Comments 5

In Windows Server 2008 R2 we have made some surgical changes to the way virtual machine snapshots work and how they are exposed in the system in order to address some key customer pain points.  Changes include:

  • You can now export a single snapshot from a virtual machine.  This works by selecting the snapshot in question and then selecting Export… from the Action pane.  We will merge all the snapshot disk data into a single new virtual hard disk – and the resulting exported virtual machine will look like a virtual machine with no snapshots that is identical to the snapshot you selected.  Note that the virtual machine needs to be turned off in order to perform this operation.
  • Snapshot AVHD files are now created in the same directory as their parent VHD files.  Their names have also been updated to include the name of the parent virtual hard disk.  Both of these changes make it easier to identify and group snapshot files.
  • When you open the settings for a virtual machine snapshot and look at the hard disk settings – you will see the name of the AVHD that is associated with that snapshot.  This helps you to map AVHD files to specific snapshots.
  • You can now edit AVHD files in the edit VHD wizard.  This means that if you want to manually merge AVHD files to a new VHD to give to someone else – you can (note: be careful as you can cause problems if you merge back into the parent in this case).
  • You can now directly attach an AVHD file to a virtual machine.  This is very handy if you have lost your virtual machine configuration and need to get data off of a snapshot file.

There is more work we need to do here, but hopefully this will help make snapshots more flexible and usable.

Cheers,
Ben

Leave a Comment
  • Please add 8 and 6 and type the answer here:
  • Post
  • From my testing of R2 snapshots are still not deleted until the the VM is shutdown.  This is a concern with many of my customers that creating a snapshot will require some amount of downtime, even though it may be brief.  Is this an item on the radar or a chance it'd be addressed in R2 RTM?

  • Unfortunately that is too big of a change for us to address in R2.

    Cheers,

    Ben

  • Dear Ben. My server is running Server2008 STD with HyperV server. I have an AVHD file which lost it's parent AVHD file. I couldn't find the XML file either. Is there any chance I could open the AVHD file to get the data inside. Or I could use Server2008 R2 RC to mount the AVHD file. Regards, Jerry.

  • Jerry -

    Without the parent AVHD there is no way to get the data from the child AVHD.

    Cheers,

    Ben

  • Ben, I changed the size of and booted a parent VHD file and now need to get data off a child AVHD file. Is there any hope?

Page 1 of 1 (5 items)