• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 107
  • Last Modified:

Hyper-V VM Issue

HI Experts,

I have an issue with a VM in Hyper-V

I created a disk too small for an SBS2011 which I partitioned into two. (C and D drives)120GB in total.

My problem is I created a snapshot some weeks back went to do a increase disk size (had never done this before) didnt read the instructions closely, created an increased size disk and could'nt boot.

Got out of trouble with that part of it through vhdtool but my problem now is that I can't seem to merge the avhd to the parent disk  -

followed these instructions it seem to work fine until I rebooted and came up with an OS error.

Used the correct dated avhd but it is smaller which didnt make sense...

http://networkfoo.org/server-infrastructure/recovering-your-virtual-machine-how-manually-merge-hyper-v-snapshots-back-one-


BUt I seem to have two avhd's which is confusing me as I only created one snapshot

the size of the parent vhd is 114GB

the size of the 1st avhd is 34GB (this one had the current date and time)
the size of the 1st avhd is 48GB (this one was a few weeks ago)

really confused as the size of the whole disk is 120GB... how on earth does that work out to be? that would really love it for someone to shed some light on this thankyou.
0
it_fan
Asked:
it_fan
  • 2
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
try shutting down the VM, and see if it asks to Merge?

snapshots are usually chained with to the parents, and only one will be written to.

To understand Hyper-V Snapshots further consult this article

Hyper-V Snapshots FAQ
0
 
it_fanAuthor Commented:
Have tried a few times but never asked that will have a close look at your link in the morning thanks for that...
0
 
it_fanAuthor Commented:
thanks hanccocka,

I had a chance to review the document but that doesnt get me sorted though, really stuck on this one...

This morning  I reliased what had happened last night is that after I renamed the latest .avhd it merged with the other .avhd (which I really dont know why it is there) going to play around with a backup I made of that folder on another server.

I tried merging it with the parent .vhd that worked but would not boot....  I shall plod along
0
 
Manojkumar RaneCommented:
Use inspect disk option on both the snapshot files (.avhd) and try to find out the parent disk.
This will help you to find the exact snapshot file that will merge into parent disk.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now