Solved

Hyper-V Cluster on Windows 2008 R2 creating duplicate files

Posted on 2013-06-13
2
2,712 Views
Last Modified: 2014-11-12
Hi,

I have an issue which I haven't been able to find anyone else post anywhere about.

We have a Windows 2008 R2 cluster using Hyper-V.

Every now and again, virtual machines cannot be migrated manually between the hosts and it automatically fails if it needs to move them for whatever reason (such as a host going down).

Overview of our setup (same as everyone elses basically)

All virtual machines are stored in C:\ClusterStorage\Volume1(or2)\VirtualMachines\

In C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines on each host we have shortcuts for their XML configuration files (SYMLINK) and this corresponds correctly to what virtual machines are on that host - and the shortcuts point to C:\ClusterStorage\Volume1(or2)\VirtualMachines\ (they are correct).

The issue is, when we encounter the error and we cannot migrate a certain virtual machine, one of the HOST machines in our cluster actually has a duplicate XML file and folder which correspond to the virtual machine we cannot migrate.

As soon as I delete the actual XML file and folder from there, it migrates without an issue.

I don't know why it is every now and again placing that file in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines instead of the correct location of C:\ClusterStorage\Volume1(or2)\VirtualMachines\ with a shortcut to the XML file in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines.

As you can see in my attached screenshot - I just moved the offending XML files and folders into a folder called newfolder.

I am not sure if this issue is due to our hyper V manager having it's default locations for config files and virtual machine files still the default eg:

Virtual Hard Disks: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks (this is empty anyway)

Virtual Machine Configuration Files: C:\ProgramData\Microsoft\Windows\Hyper-V (this is where all our configuration file shortcuts are going and the offending XML file duplicates and folders).

Should I be changing these default locations? We have several clients setup the same and none present the current issue.

We backup with VEEAM and I don't know if this may be linked.

In the event logs we receive errors 4096
The Virtual Machines configuration F7DB08A6-DD45-4C87-853D-76712FFF0330 at 'C:\ClusterStorage\volume2\virtual machines\intranet' is no longer accessible: The file cannot be accessed by the system. (0x80070780)

and 16300
Cannot load a virtual machine configuration: Cannot create a file when that file already exists. (0x800700B7) (Virtual machine ID 8413B873-FC21-4DAB-8DBD-9AD71BDE2858)

Cannot load a virtual machine configuration: The data is invalid. (0x8007000D) (Virtual machine ID 8413B873-FC21-4DAB-8DBD-9AD71BDE2858)

Cannot load a virtual machine configuration: General access denied error (0x80070005) (Virtual machine ID F7DB08A6-DD45-4C87-853D-76712FFF0330)

Thanks
hyper-v-error.JPG
0
Comment
Question by:workingtechnology
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
workingtechnology earned 0 total points
ID: 39246681
Found the reason

Every time the duplicate file is created in the folder it shouldn't exist in was following a forced reboot of the server at the power.
0
 
LVL 1

Author Closing Comment

by:workingtechnology
ID: 39246682
Found the solution myself, but may assist others when trying to find the same problem cause.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question