Gorgo.Live.ToString()

Mariusz, Gorzoch tech Blog

Hyper-V, snapshots and LOW DISK SPACE !

with 2 comments

Did anyone ever told you to watch carefully your disk space when playing with snapshots on Hyper-V ? Be careful, because if you are not doing so, then you can get in troubles I get. In the nutshell, if your machine has at least one snapshot, then she is recording all differences in special “avhd” file. This file get bigger and bigger and guess what : it will fill you disk and scream for more, and what is the worst : if you don’t gave her what she need she will refuse to work. If you get to this point what you need is to delete snapshot and shutdown your machine for start merge process:

if you are lucky and have space on the drive, then you are done, but if you don’t then as someone on one blog said, you are in deep sheet. Lucky I found solution how to safe your time. What I assume here is that your snapshot file is on the same drive when your vhd file. The secret lays in the XML configuration file of the machine (in my case it was something like that : 54816D20-3A17-4C42-A777-2857D27F894D.xml and it was placed in the folder when I’ve asked Hyper-V manager to save my machine setting). If you open this file (remember to shutdown entire Hyper-V service before doing so), you should be able to find line like this one:

as you can guess you can tweak-up this line and move you snapshot file to different drive and by this free some space to let merge process complete. In my case what I did is, that I moved the snapshot file to new drive, start the Hyper-V service, start the machine and later on shut it down – this will start merge process.

done!

Advertisements

Written by Mariusz Gorzoch

28 October 2009 at 20:37

Posted in Bez kategorii

2 Responses

Subscribe to comments with RSS.

  1. smile, smile, smile

    Niklas

    26 November 2009 at 10:25

  2. Thanks for this FAQ, you save my time

    Adrian Sklorz

    10 September 2013 at 18:52


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: