
{"id":777,"date":"2011-12-02T12:25:05","date_gmt":"2011-12-02T12:25:05","guid":{"rendered":"http:\/\/tech-no.104.210.61.21.xip.io\/?p=777"},"modified":"2011-12-02T12:25:05","modified_gmt":"2011-12-02T12:25:05","slug":"windows-2008-snapshot-snafu","status":"publish","type":"post","link":"https:\/\/tech-no.org\/?p=777","title":{"rendered":"Windows 2008 Snapshot Snafu."},"content":{"rendered":"<p>I have seen this happen a few times and i really hate how the checkpoint \/ snapshot feature works in Hyper-V. Basically it creates an &#8220;.avhd&#8221; file for each snapshot you create and using an &#8220;.xml&#8221; file keeps track of how they are stitched together. I had a customer that had a disk failure. and after rebuilding the host, i was lucky enough that the partition the VHD files lived on was intact. What really bothers me is the fact that you can&#8217;t simply import the virtual machine. The reason is quite silly: it was not exported. In order to get the vm back online you must use the Disk Editor and merge the files back into the root file one at a time. pretty lame microsoft.<\/p>\n<p>&nbsp;<\/p>\n<p>Here is how you do it.<\/p>\n<p>1) start by backing up the folder before you start<\/p>\n<p>2) rename all the avhd files in the snapshot folder to vhd. (but first write down the modified date and time.<\/p>\n<p>3) open the Disk editor in hyper-v manager and merge the most recent file to the parent<\/p>\n<p>4) repeat this process until you have no more snapshots left.<\/p>\n<h4>For more reading on this subject, head on over to technet:<\/h4>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/social.technet.microsoft.com\/Forums\/eu\/winserverhyperv\/thread\/afff42b0-49ca-4542-9b22-e4f5a94230be\">http:\/\/social.technet.microsoft.com\/Forums\/eu\/winserverhyperv\/thread\/afff42b0-49ca-4542-9b22-e4f5a94230be<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have seen this happen a few times and i really hate how the checkpoint \/ snapshot feature works in Hyper-V. Basically it creates an &#8220;.avhd&#8221; file for each snapshot you create and using an &#8220;.xml&#8221; file keeps track of how they are stitched together. I had a customer that had a disk failure. and &hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/777"}],"collection":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=777"}],"version-history":[{"count":2,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/777\/revisions"}],"predecessor-version":[{"id":779,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/777\/revisions\/779"}],"wp:attachment":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}