Solved

Hyper-V VM going into a "saved" state

Posted on 2013-02-05
10
4,000 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SonicWall blocking access to MS RDP RemoteApp 24 84
Change Exchange 2010 Namespace 6 71
Chocolatey with PowerShell is not working again 2 95
Windows 10 Policy for Flash 3 59
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…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

739 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