Quantcast
Viewing all articles
Browse latest Browse all 3323

Hyper-V 2012 server no Microsoft File Share Shadow Copy provider

Hi good people.

I have installed Hyper-V cluster using this scheme:

1 server - domain controller Windows Server 2012 Standard (Not R2) name DC

2 server - shared SMB3 storage Windows Server 2012 Standard (Not R2) name ST

3 server - backup server Windows Server 2012 Standard (Not R2) name BK

4 virtualization node 1 - Free Hyper-V 2012 server name HV1

5 virtualization node 2 - Free Hyper-V 2012 server name HV2

Shared storage ST has 2 shares: \\st\Quorum and \\st\Storage

Quorum is quorum share for cluster consistency and Storage for virtual machines.

On storage server installed File Server and VSS for file share agent roles. Shadow copy is enabled for hard disk with shares.

Cluster works perfect.


I want to implement backup solution for virtual machines in our cluster (altaro, veeam, dpm 2012 sp1 etc) but cant get VSS to work.

When I tried to use diskshadow to create backup from hyper-v node - I always get errors.


I have investigated the problem and found that the key is in Microsoft File Share Shadow Copy provider.

Actually there is no Microsoft File Share Shadow Copy provider on Free Hyper-V 2012 server. Not in clear installation not after update, even not after hyper-v cluster creation. I think this is some bug, because this vss provider is installed by default in every other windows 2012 server version - standard, datacenter, foundation ...

I can't find info how to add Microsoft File Share Shadow Copy provider to Hyper-V 2012, and I have copied binary fssprov.dll from windows server 2012 standard to hyper-v 2012 into c:\windows\system32 and then added appropriate registry keys from server 2012 standard:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}]
@="VsFileShareProvider Class"

[HKEY_CLASSES_ROOT\CLSID\{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}\InprocServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,73,00,\
  73,00,70,00,72,00,6f,00,76,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Free"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}]
@="VsFileShareProvider Class"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}\InprocServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,73,00,\
  73,00,70,00,72,00,6f,00,76,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Free"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\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\ControlSet002\Services\VSS\Providers\{89300202-3cec-4981-9171-19f59559e0f2}\CLSID]
@="{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\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\ControlSet001\Services\VSS\Providers\{89300202-3cec-4981-9171-19f59559e0f2}\CLSID]
@="{FCE59DA7-7BAC-40DA-8D21-3E7311BA51CD}"

[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}"


Now I have Microsoft File Share Shadow Copy provider on Hyper-V 2012 nodes and diskshadow even tried to use it, but I always get errors from Microsoft Hyper-V VSS Writer (sorry I have Russian versions of Hyper-V):

C:\Users\vadm>diskshadow
Microsoft DiskShadow, версия 1.0
(C) Корпорация Майкрософт (Microsoft Corporation), 2012
На компьютере: HV2, 29.08.2014 13:33:07

DISKSHADOW> set verbose on

DISKSHADOW> Writer Verify {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}

DISKSHADOW> Set Context Persistent

DISKSHADOW> Set MetaData vm.cab

DISKSHADOW> Begin Backup

DISKSHADOW> Add Volume \\st\storage provider {89300202-3cec-4981-9171-19f59559e0
f2}

DISKSHADOW> Create

...

       Компонент "Microsoft Hyper-V VSS Writer" не найден в списке компонентов м
одуля записи. Архивация прекращается...
       Проверьте синтаксис имени компонента.

In English it will be: The component "Microsoft Hyper-V VSS Writer" was not found in the writer components list


DISKSHADOW> exit

C:\Users\vadm>diskshadow
Microsoft DiskShadow, версия 1.0
(C) Корпорация Майкрософт (Microsoft Corporation), 2012
На компьютере: HV2, 29.08.2014 13:33:43

DISKSHADOW> set verbose on

DISKSHADOW> Set Context Persistent

DISKSHADOW> Set MetaData vm.cab

DISKSHADOW> Begin Backup

DISKSHADOW> Add Volume \\st\storage

DISKSHADOW> Create

...

* Включение модуля записи "Microsoft Hyper-V VSS Writer":
        + Добавление компонента: \699919D1-1A99-4C7E-83EF-68A8A6082479

Сбой последней операции.
        - Возвращенный HRESULT: 80070057
        - Текст ошибки: E_INVALIDARG

In event log on hv2 I got event id 12294 from VSS: vss provider {89300202-3cec-4981-9171-19f59559e0
f2} returned error E_INVALIDARG.

Data: PreFinalCommitSnapshots({fb4bce54-9ba4-4b5f-80a0-3772bd42cd23}, 1).

Operation: async

Current state: DoSnapshotState

And no errors on storage server.

Installation KB2870270 not helped.

I can't solve my problem alone. Need your help. Thx.


Viewing all articles
Browse latest Browse all 3323

Trending Articles