Fail to apply Snapshot virtual machine

Answered Fail to apply Snapshot virtual machine

  • Sonntag, 9. Dezember 2012 08:07
     
     

    Hyper-V ver: WS2012 Hyper-V

    Clusters: No

    I have an issue after my vendor do some cabling replacement in data center. After that I found my VMs goes down. All VMs status appear "Cannot connect to virtual machine configuration storage". I decided to reboot Hyper-V Host and after reboot all VMs looks like ok (able to starts) there only one VM unable to start. When start the VM its appeared error as below:
    Hyper-V Manager


    An error occurred while attempting to start the selected virtual machine(s).

    'SPMB_VM1' failed to start.

    Microsoft Emulated IDE Controller (Instance ID 83F8638B-8DCA-4152-9EDA-2CA8B33039B4): Failed to Power on with Error 'The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.'.

    Failed to open attachment 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1_A9BFBC34-AFB3-47F4-89A3-B34A2582BE50.avhdx'. Error: 'The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.'.

    Failed to open virtual disk 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1_A9BFBC34-AFB3-47F4-89A3-B34A2582BE50.avhdx'. A problem was encountered opening a virtual disk in the chain of differencing disks, 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1.vhdx': 'The chain of virtual hard disks is corrupted. There is a mismatch in the identifiers of the parent virtual hard disk and differencing disk.'.

    [Expanded Information]
    'SPMB_VM1' failed to start. (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    'SPMB_VM1' Microsoft Emulated IDE Controller (Instance ID 83F8638B-8DCA-4152-9EDA-2CA8B33039B4): Failed to Power on with Error 'The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.' (0xC03A0019). (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    'SPMB_VM1': Failed to open attachment 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1_A9BFBC34-AFB3-47F4-89A3-B34A2582BE50.avhdx'. Error: 'The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.' (0xC03A0019). (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    'SPMB_VM1': Failed to open virtual disk 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1_A9BFBC34-AFB3-47F4-89A3-B34A2582BE50.avhdx'. A problem was encountered opening a virtual disk in the chain of differencing disks, 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1.vhdx' (referenced by 'F:\Hyper-V\SPMB_VM1\Virtual Hard Disks\SPMB_VM1_DE2B1A37-E031-4B72-A9DD-20A1C0427BFD.avhdx'): 'The chain of virtual hard disks is corrupted. There is a mismatch in the identifiers of the parent virtual hard disk and differencing disk.' (0xC03A000E). (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    I try to apply the snapshot and error still appeared as below:
    An error occurred while attempting to apply the snapshot.

    'SPMB_VM1' failed to apply snapshot.
    (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    I also tried to revert bot still got an error below:

    An error occurred while attempting to revert the virtual machine.

    'SPMB_VM1' failed to apply snapshot.

    (Virtual machine ID 60F92E2F-B5FD-40E7-B208-7BF50956C620)

    Appreciated to experts advice on this issue.

    Thanks.

Alle Antworten

  • Sonntag, 9. Dezember 2012 11:11
     
     

    No definite answer, but a few things you could try
    (after backing up/copying the drive/folder containing the VHD)

    - In hyper-v manager, select the VM, right click, settings.
    - select the Hard disk under the IDE controller that holds the VHD(X)
    - Click Inspect, and tell us if that does anything for you.

    You could also create a Hard Disk under IDE1, and link your current VHD(X) in there, and delete the entry on IDE0

    or

    Can you create a new virtual machine, and link the VHD(X) to it?
    It will probably complain on boot, but should work.
    You could also boot the VM from a rescue-disk and try to "repair" the machine.

    Let us know what happens.

  • Sonntag, 9. Dezember 2012 12:06
     
     Beantwortet

    Hi Michael,

    Problem Solved!

    Thanks for advice, really appreciate it. I use your option 1. Under Inspect I saw the status "The differencing virtual hard disk chain is broken: Please reconnect the child to the correct parent virtual hard disk.

    What I do is, Click reconnect button..  and re-mount parent virtual hard disk then perform restore snap shot to previous and now the Vm able to start with previous snap shot.

    Here are some link help me to troubleshoot this issue.

    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/03/10/understanding-where-your-virtual-machine-files-are-hyper-v.aspx

    http://blogs.msdn.com/b/robertvi/archive/2008/08/26/howto-recover-snapshots.aspx

    Thanks again.

    • Als Antwort markiert TylerDurdenn Sonntag, 9. Dezember 2012 12:06
    •  
  • Sonntag, 9. Dezember 2012 12:43
     
     

    Tyler,

    Glad you found it, would be interesting to know why it happened in the first place, but in the end the cure is more important than the why.

    Cheers.