Solved

Hyper-V VM going into a "saved" state

Posted on 2013-02-05
10
4,470 Views
Last Modified: 2014-11-12
We have a virtual host running Windows Server 2008 R2 with Hyper-V.
There are 7 VM's running in this instance of Hyper-V.
We are running into a problem where one of these VM's, which is running Windows XP Professional, is going into a "saved" state multiple times a week, causing the machine to go down and become unavailable.

Anyone have any ideas as to why this could be happening? The host machine and the virtual machine are not out of disk space. This server has 16GB of RAM and is currently using 14GB.

I'm not sure if this has anything to do with it, but the Windows Server Backup on the host machine is has been failing for quite a while.  I am currently trying to figure out why this is happening as well.

Any input would be appreciated.

Thanks!
0
Comment
Question by:bsidfw
[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
  • 5
  • 5
10 Comments
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38856729
How much free disk space is available on the volume hosting the VHD files?

Usually, when a VM with a dynamic VHD file fails to extend the file, it goes in Saved mode. That would explain the WSB failing too.
0
 
LVL 4

Author Comment

by:bsidfw
ID: 38856846
There is 14.2GB free on the volume that is hosting the VHD files - I would assume this should be enough space?
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38857048
It depends on how big the disk is and if the BIN files are on the same volume.

If you have snapshots (of any virtual machine on the same server), I would suggest deleting some to regain disk space.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Author Comment

by:bsidfw
ID: 38877396
We have freed up some disk space on this virtual host. The volume where the VHD's are housed now has 55GB free, which would be more than enough space to accommodate the back ups. This VM is still going into a "saved" state every night and having to be manually restarted in the morning.

However, I'm not sure if this is relevant but the Windows Server Backup is still failing with the error code 2155348301

Event ID: event id 517

Any input would be appreciated.

Thanks!
0
 
LVL 4

Author Comment

by:bsidfw
ID: 38884916
Ran a CHKDSK on C: (OS) and D: (VM data drive) last night.. no errors found.. the same VM was in a saved state again this morning and had to be manually restarted.

At this point, I'm not sure what else to look for or check.. Any ideas would be appreciated.

Thanks.
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38885089
Is the VM go in saved state when the backup starts? VSS, used by the backup, cannot take a snapshot of a XP VM without putting it in saved state. But, it should go back up after the snapshot is done. I think the failed backup and the issue of the VM are related.
0
 
LVL 4

Author Comment

by:bsidfw
ID: 38885120
The VM does go into a saved state once the backup starts at night, but never comes back up. There are 7 VM's on this machine and this same VM is the only one not coming out of a saved state every night after the backup is failing.. I agree these two issues are related.

I have freed up more disk space on drive D: where the VM's are housed and there is now 217GB free.

I suppose I will let the backup go again tonight and check on it to see if this disk space cleaning resolves the issue.

Thanks.
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38886264
0
 
LVL 4

Author Comment

by:bsidfw
ID: 38895082
We have found a pattern in the event logs that is happening every night  soon after the WSB starts.. (by the way, DPS-WORKSTATION is the VM that is going into a paused state and not recovering every night) WSB is set to start at 9PM

9:27PM
EVENT ID 12140
'DPS-WORKSTATION': Failed to open attachment 'D:\VMs\BRG0XP01\SystemDrive.vhd'.Error:'The process cannot access the file because it is being used by another process.' (0x80070020).(Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:27PM
EVENT ID 12080
'DPS-WORKSTATION' Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}):Failed to restore with Error 'The process cannot access the file because it is being used by another process.' (0x80070020). (Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:27PM
EVENT ID 12050
'DPS-WORKSTATION' failed to restore. (Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:31PM
EVENT ID 11
The driver detected a controller error on \Device\Harddisk1\DR1

9:36PM
EVENT ID 8193
Volume Shadow Copy Service error: Unexpected error calling routine GetOverlappedResult. hr=0x80070057, The parameter is incorrect.

Operation:
  Revert Shadow Copy

Context:
  Execution Context: System Provider

9:36PM
EVENT ID 12293
Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details RevertToSnashot (hr=0x80043202, A Volume Shadow Copy Service component encountered an unexpected error.
Check the Application event log for more information.
)

9:37PM
EVENT ID 12140
'DPS-WORKSTATION': Failed to open attachment 'D:\VMs\BRG0XP01\SystemDrive.vhd'.Error:'The process cannot access the file because it is being used by another process.' (0x80070020).(Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:37PM
EVENT ID 12080
'DPS-WORKSTATION' Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}):Failed to restore with Error 'The process cannot access the file because it is being used by another process.' (0x80070020). (Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:37PM
EVENT ID 12050
'DPS-WORKSTATION' failed to restore. (Virtual machine ID 3D963F46-271B-494E-9BAD-36557A85772B)

9:37PM
EVENT ID 521
The backup operation that started at '2013-02-15T03:04:12.8020000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with the following error code '2155348129'. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.

Does anyone have any insight as to what is happening here? I'd really appreciate it.. Thank you.
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 500 total points
ID: 38896401
Do you have anti-virus software on the Hyper-V host? If yes, you need to remove the virtual machines directories from it.

Other suggestions:
•      Reinstall the Integration services in that VM
•      Do some manipulations with the VHD file: compact if it’s dynamic, convert to fixed

As a workaround, you could run automated tasks to stop the VM before starting the backup and start it back short after the VSS is done. The following post might help: http://www.experts-exchange.com/Microsoft/Applications/Virtual_Server/Hyper-V/Q_25100878.html


FYI: inline backup (without putting the VM in saved mode) is supported only in the Enterprise releases of Windows 7 and 8, and in all server releases starting with Windows Server 2003.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

632 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