Search This Blog

Friday, March 28, 2014

Unable to Backup VM Using DPM–VSS issue

 

Just received a call from customer on problem

  • a. Unable to backup virtual machine using DPM
  • b. Protection group created but no replica

Scenario:-

  • a. Windows Server 2012 Hyper-V
  • b. Two node cluster
  • c. Backup using DPM 2012 SP1

Event log reported, few errors on ID 8194. But frankly speaking can’t find anything from Internet.

5

Other test:-

a. Try backup a folder/files using DPM. Still failed.

b. Try backup using Windows Backup. Guess what? It is still failed.

Then it is not DPM issue. So the ball pass back to VSS.

Without further due, I’m decided to use diskshadow tool which available part of Windows Server 2008 and Windows Server 2012. It is a tool that exposes the functionality offered by the volume shadow copy services (VSS).

To execute, open command prompt and type

C:\Diskshadow
Diskshadow > set context persistent
Diskshadow > set verbose on
Diskshadow > begin backup
Diskshadow > Add volume D: alias VolumeD

1

Received an error message “The provider does not support volume shadow copies for this volume in this context “

Diskshadow > list providers

It only list 2 providers. I did a comparison on 2nd node. The 2nd node consists of 4 provider. So that’s mean missing two provider in the registry. You can check from here:-Under

HKEY LOCAL MACHINE\SYSTEM\CURRENT CONTROL SET\SERVICES\VSS\PROVIDERS

2

The missing registry value:-

3

4

Resolution:-

a. Access to 2nd node registry, export the 2 missing provider

b. Import 2 missing VSS provider into the 1st node registry.

Here is the outcome of the export registry value:-

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{89300202-3cec-4981-9171-19f59559e0f2}]
@="Microsoft File Share Shadow Copy provider"
"VersionId"="{00000001-0000-0000-0001-000000000001}"
"Version"="1.0.0.1"
"Type"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{89300202-3cec-4981-9171-19f59559e0f2}\CLSID]
@="{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{b5946137-7b9f-4925-af80-51abd60b20d5}]
@="Microsoft Software Shadow Copy provider 1.0"
"VersionId"="{00000001-0000-0000-0007-000000000001}"
"Version"="1.0.0.7"
"Type"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{b5946137-7b9f-4925-af80-51abd60b20d5}\CLSID]
@="{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}"

Testing

a. Test using DPM to start backup. Now I was able to backup the virtual machine without any problem.

Case closed…Some how the VSS provider is missing and causing the backup to failed.

1 comment: