본문 바로가기

로그 저장소 :)/이것저것.tip

[SSR2013] Error - snapshot failure while using volume shadow copy service



Issue



Backup jobs fail with VSS Snapshot errors, such as the following:

  • The Microsoft Volume Shadow Copy Service (VSS) snapshot provider selected returned: "Unexpected provider error".  Ensure that all provider services are enabled and can be started. Check the Windows Event Viewer for details.
    You might see other errors related to VSS Snapshot. A list of VSS Error Codes is available at the following URL:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa381603(v=vs.85).aspx
  • Error E4F3000E: Snapshot failure while using Volume Shadow Copy Service. Please check application event log for VSS errors. Error code: EndCreateSnapshotSet(-2147212300).

 UMI: V-281-3215-6071



Error



  • The Microsoft Volume Shadow Copy Service (VSS) snapshot provider selected returned: "Unexpected provider error".  Ensure that all provider services are enabled and can be started. Check the Windows Event Viewer for details.
    You might see other errors related to VSS Snapshot. A list of VSS Error Codes is available at the following URL:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa381603(v=vs.85).aspx
  • Error E4F3000E: Snapshot failure while using Volume Shadow Copy Service. Please check application event log for VSS errors. Error code: EndCreateSnapshotSet(-2147212300).




Cause



VSS Snapshot errors might occur due to various reasons, such as Microsoft VSS is not registered properly with the operating system, Shadow Copy Association for the volume is corrupt, misconfigured, or  other environmental factors.






Solution



Do the following:

  • Reboot the machine. Sometimes a reboot is enough to reset the VSS framework. 
  • Open a command prompr with administrator rights, and type VSSADMIN LIST WRITERS. Ensure that the writers are stable.
  • Ensure that the Microsoft VSS services are not 'disabled'. Manually start VSS, This should start without any errors. 
  • Ensure that all VSS writers are in stable state condition. Do this by opening a command prompt with administrative permissions. At the prompt, type VSSADMIN LIST WRITERS. All writers should be stable. 
  • Ensure that the various Application VSS Writer services can be started in the services console without any errors.
  • Resize the VSS shadow storage using vssadmin Resize ShadowStorage command. The command should be run as an Administrator. Following are a few examples:
    • vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=900MB
    • vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=UNBOUNDED
    • vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=20%
  • Resize the VSS shadow storage for System Reserved and Windows Recovery Environment partitions (if they exist), for example:
    vssadmin resize ShadowStorage /For=\\?\Volume{a309c667-5a3f-4718-9d4b-e128827866eb} /On=\\?\Volume{a309c667-5a3f-4718-9d4b-e128827866eb} /MaxSize=UNBOUNDED.
    You can find the volume GUID by running “mountvol” command. Alternatively, you can assign a drive letter to the hidden volume and do the shadow storage resize using the commands explained in the previous point.
  • Delete all the existing shadow copies using the following command:
    vssadmin delete shadows /all
  • If you still find errors, copy the attached VSS.BAT file to your computer. Open a COMMAND prompt with ADMINISTRATOR privileges, then drag and drop this file into the command window to execute it. If prompted to proceed, click Y for yes. Below are the contents of the file if you would like to manually create one yourself:

    net stop "System Event Notification Service"
    net stop "Background Intelligent Transfer Service"
    net stop "COM+ Event System"
    net stop "Microsoft Software Shadow Copy Provider"
    net stop "Volume Shadow Copy"
    cd /d %windir%\system32 
    net stop vss 
    net stop swprv 
    regsvr32 /s ATL.DLL
    regsvr32 /s comsvcs.DLL
    regsvr32 /s credui.DLL
    regsvr32 /s CRYPTNET.DLL
    regsvr32 /s CRYPTUI.DLL
    regsvr32 /s dhcpqec.DLL
    regsvr32 /s dssenh.DLL
    regsvr32 /s eapqec.DLL
    regsvr32 /s esscli.DLL
    regsvr32 /s FastProx.DLL
    regsvr32 /s FirewallAPI.DLL
    regsvr32 /s kmsvc.DLL
    regsvr32 /s lsmproxy.DLL
    regsvr32 /s MSCTF.DLL
    regsvr32 /s msi.DLL
    regsvr32 /s msxml3.DLL
    regsvr32 /s ncprov.DLL
    regsvr32 /s ole32.DLL
    regsvr32 /s OLEACC.DLL
    regsvr32 /s OLEAUT32.DLL
    regsvr32 /s PROPSYS.DLL
    regsvr32 /s QAgent.DLL
    regsvr32 /s qagentrt.DLL
    regsvr32 /s QUtil.DLL
    regsvr32 /s raschap.DLL
    regsvr32 /s RASQEC.DLL
    regsvr32 /s rastls.DLL
    regsvr32 /s repdrvfs.DLL
    regsvr32 /s RPCRT4.DLL
    regsvr32 /s rsaenh.DLL
    regsvr32 /s SHELL32.DLL
    regsvr32 /s shsvcs.DLL
    regsvr32 /s /i swprv.DLL
    regsvr32 /s tschannel.DLL
    regsvr32 /s USERENV.DLL
    regsvr32 /s vss_ps.DLL
    regsvr32 /s wbemcons.DLL
    regsvr32 /s wbemcore.DLL
    regsvr32 /s wbemess.DLL
    regsvr32 /s wbemsvc.DLL
    regsvr32 /s WINHTTP.DLL
    regsvr32 /s WINTRUST.DLL
    regsvr32 /s wmiprvsd.DLL
    regsvr32 /s wmisvc.DLL
    regsvr32 /s wmiutils.DLL
    regsvr32 /s wuaueng.DLL
    sfc /SCANFILE=%windir%\system32\catsrv.DLL
    sfc /SCANFILE=%windir%\system32\catsrvut.DLL
    sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
    net start "COM+ Event System"

    --- End of the batch file ---
     
  • Open a command prompt with administrator privileges and run SFC / SCANNOW to scan for and restore corruptions in Windows system files.
  • Many issues can be fixed by installing the latest VSS hotfixes from Microsoft available at the following URLs:
  • Additional information for troubleshooting VSS related issues can be found at the following URLs:
    http://www.symantec.com/docs/TECH200588
    http://www.symantec.com/docs/TECH55233

    http://www.symantec.com/docs/TECH173983


http://www.symantec.com/business/support/index?page=content&pmv=print&viewlocale=&id=TECH200584