Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAPSHOT

Hyper-V specific discussions

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby Shralok » Fri Aug 15, 2014 3:53 pm

foggy wrote:Correct.


On the Replication job I am getting a Warning of "Failed to update VM registration in cluster Details: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))" so I will have to open a separate case.

:cry:
Shralok
Enthusiast
 
Posts: 51
Liked: 5 times
Joined: Wed Aug 29, 2012 5:36 pm
Full Name: Shralok

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby Shralok » Fri Aug 15, 2014 5:13 pm

Well I am unable to edit my previous post but I found that this article was very helpful in understanding the migration from 2008 R2 Hyper-V to 2012 R2 Hyper-V:
http://www.veeam.com/blog/3-east-steps- ... 12-r2.html
Shralok
Enthusiast
 
Posts: 51
Liked: 5 times
Joined: Wed Aug 29, 2012 5:36 pm
Full Name: Shralok

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby foggy » Fri Aug 15, 2014 7:04 pm

So were you able to successfully migrate?
foggy
Veeam Software
 
Posts: 14743
Liked: 1081 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby a32guy » Sat Jan 24, 2015 4:49 pm 1 person likes this post

I know its an older thread but I had the same issue with one particular Server 2008 R2 VM. I was able to resolve and wanted to share my fix. I did a combination of:

1. Disabling backup from integration components, rebooting, then reenabling.
2. Enabling shadow copies on system and data volumes with no size limit.
3. Finally reregistering VSS writers using this script and rebooting (test on lab guest first!):

Code: Select all
REM : Register VSS componant for Windows Serve r2008
REM :   You will need to run the batch file as Administrator.
REM : This is only for Windows 2008 not Windows 2003.
REM : After running the bat file, you will need to reboot the server to bring all of the writers into a stable state.


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"
a32guy
Lurker
 
Posts: 2
Liked: 1 time
Joined: Fri Jan 23, 2015 3:40 pm
Full Name: CS

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby bcscholl » Mon Jan 26, 2015 12:17 am 2 people like this post

I had a similar issue fixed by creating a script to restart the Hyper-V Volume Shadow Copy Requestor [vmicvss]. We run the script once a day for all VMs in the backup job.
bcscholl
Influencer
 
Posts: 18
Liked: 2 times
Joined: Wed Dec 04, 2013 3:56 pm
Full Name: Brian Scholl

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby LinusH » Mon Feb 09, 2015 8:39 am

Hi,
Just for information, we also have the error VSS_WS_FAILED_AT_PREPARE_SNAPSHOT and in our case it's on our Exchange running on vmware. I will create a support ticket soon but wanted you to know that you're not alone...

Br Linus Hellsing
LinusH
Novice
 
Posts: 7
Liked: 2 times
Joined: Mon Feb 09, 2015 8:32 am
Full Name: Linus Hellsing

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby marcinbojko » Thu Mar 19, 2015 3:34 pm

I am interested - is there any general solution from Veeam engineer? From my point of view - restarting VM helps, but in production environment it is not possible to restart working SQL server every 24 or 12h.
marcinbojko
Enthusiast
 
Posts: 31
Liked: 9 times
Joined: Thu Mar 06, 2014 10:40 am
Location: Lublin/Poland
Full Name: Marcin Bojko

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby foggy » Thu Mar 19, 2015 3:39 pm

Marcin, you can open your own case for direct faster communication with our engineers.
foggy
Veeam Software
 
Posts: 14743
Liked: 1081 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby marcinbojko » Thu Mar 19, 2015 3:58 pm

Foggy,
I was hoping for general solution, but in case of recurring issue, I will be forced to.
marcinbojko
Enthusiast
 
Posts: 31
Liked: 9 times
Joined: Thu Mar 06, 2014 10:40 am
Location: Lublin/Poland
Full Name: Marcin Bojko

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby Tibo » Tue May 26, 2015 9:17 am

Same problem here on Hyper-V 2012 R2 with a 2008 R2 VM and a 2012 R2 VM ...

I still have no official fix from Veeam support (Case opened #00914558 for more than two weeks and tons of logs / tests have been made :-/ )
Tibo
Novice
 
Posts: 8
Liked: never
Joined: Fri May 20, 2011 8:15 am
Full Name: Tibo

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby JoshRountree » Fri Aug 12, 2016 7:19 pm

Did anyone ever find a resolution to this that didn't involve disabling crash consistent backups?
JoshRountree
Enthusiast
 
Posts: 34
Liked: 1 time
Joined: Thu Feb 23, 2012 5:49 pm
Full Name: Josh Rountree

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby foggy » Mon Aug 15, 2016 4:05 pm

Josh, please contact technical support, since reasons of the issue in your particular case can be different.
foggy
Veeam Software
 
Posts: 14743
Liked: 1081 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby 1971merlin » Mon Aug 22, 2016 6:57 am

For us, issuing the command DISKPART AUTOMOUNT SCRUB from the commandline of the VM fixed the issue.

My Theory is that VEEAM somehow reads the automount data (Registry?) and tries to mount all the fixed disk volumes in order to back them up. Disks such as iSCSI are considered local (i.e. not removable) therefore fail the mount (because they no longer exist), in turn this fails the VSS snapshot and also generates the erronous "format" dialog on the console.

I discovered this because every server I've had this issue on, has previously backed up using Windows server Backup, to an iSCSI volume - that was the common denominator that pointed to the issue for us.
1971merlin
Influencer
 
Posts: 15
Liked: never
Joined: Sun Jun 01, 2014 6:03 am
Full Name: Craig Hart

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby SamiKarhula » Wed Nov 16, 2016 6:27 pm

we had same problem one customer who wants testing Veeam and we cannot get that works with Veeam support. I made demo lab to my home with server 2016 Cluster shared volume and i
get same error in home what i get on customers server. I think first there is on 2008r2 cluster something old crap from backup exec (sorry for dirty word:D)
SamiKarhula
Lurker
 
Posts: 1
Liked: never
Joined: Mon Nov 04, 2013 7:53 am
Full Name: Sami Karhula

Re: Win 2012 R2 Cluster Failed VSS_WS_FAILED_AT_PREPARE_SNAP

Veeam Logoby Mike Resseler » Thu Nov 17, 2016 6:48 am

Hi Sami,

I am not going to use the word ;-) You state that you created a demo lab at home with server 2016 and that you received the same error. Is that with Veeam B&R 9.5 (released yesterday)? Because that is the only version that is supported for Windows Server 2016. Also, the VM you are trying to backup, is that the same one as the one with the customer? Or a brand new installed VM

Thanks
Mike
Mike Resseler
Veeam Software
 
Posts: 3161
Liked: 362 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

PreviousNext

Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 4 guests