Comprehensive data protection for all workloads
Post Reply
bluecoffee
Veeam ProPartner
Posts: 10
Liked: 1 time
Joined: Oct 21, 2010 9:12 pm
Full Name: Matt Smith
Location: Manchester, UK
Contact:

VSS Failed Windows 2008 R2

Post by bluecoffee »

When backing up a windows 2008 r2 server this is a DC and also running exchange I get the following error. Veeam backup ver.5.

Code: Select all

Freezing guest operating system
VSSControl: 0 Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
Cannot prepare the [NTDS] data to a subsequent restore operation.
Cannot process NTDS data.
Cannot create a backup copy of the BCD.
Can anyone provide a pointer for me?
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

From the error, it kooks like some Microsoft VSS framework issue to me. First troubleshooting step should be running the following 2 commands on the affected VM, and investigating output for any issues. If any issues are present, best would be to open support case with Microsoft. But before doing that, you may want to search for, and uninstally any 3rd party VSS writers and providers (these are usually installed with different backup/DR tools "agents").

Code: Select all

vssadmin list writers
vssadmin list providers
bluecoffee
Veeam ProPartner
Posts: 10
Liked: 1 time
Joined: Oct 21, 2010 9:12 pm
Full Name: Matt Smith
Location: Manchester, UK
Contact:

Re: VSS Failed Windows 2008 R2

Post by bluecoffee »

Backed up server with application aware off. Backed up fine. Turned back on, error disappeared and backup completed.
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: VSS Failed Windows 2008 R2

Post by Vitaliy S. »

Hello Matt, thanks for the update! Even though you have successfully backed up this VM, I would recommend checking Windows Event log to see what was the reason for the previous failure. Having done that, you might be able avoid the same errors in the future.
bluecoffee
Veeam ProPartner
Posts: 10
Liked: 1 time
Joined: Oct 21, 2010 9:12 pm
Full Name: Matt Smith
Location: Manchester, UK
Contact:

Re: VSS Failed Windows 2008 R2

Post by bluecoffee »

Since upgrading to 5.0.1 this appear to have started again. I have found the following error in the event log.

Code: Select all

Faulting application name: VeeamGuestAgent.exe, version: 5.0.1.198, time stamp: 0x4cf52ddb
Faulting module name: ntdll.dll, version: 6.1.7600.16559, time stamp: 0x4ba9b802
Exception code: 0xc0000005
Fault offset: 0x000000000005411d
Faulting process id: 0x2b88
Faulting application start time: 0x01cba0fd49d03afd
Faulting application path: C:\Windows\VeeamVssSupport\VeeamGuestAgent.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 8d7886a7-0cf0-11e0-bfff-005056b70708
Could you offer assistance?
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: VSS Failed Windows 2008 R2

Post by Vitaliy S. »

Matt, have you had a chance to check out what Anton has advised in his post above?
bluecoffee
Veeam ProPartner
Posts: 10
Liked: 1 time
Joined: Oct 21, 2010 9:12 pm
Full Name: Matt Smith
Location: Manchester, UK
Contact:

Re: VSS Failed Windows 2008 R2

Post by bluecoffee » 1 person likes this post

The solution for this is to enable disk auto mounting. Open a command window with elevated privileges and run:

diskpart

Check the status of auto mount by typing automount into the DISKPART window.

Automatic mounting of new volumes disabled.

Enable auto mount by typing automount enable

Type exit

Reboot.
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

Just make sure you do not try and do this on your Veeam Backup server running jobs in Direct SAN Access or Virtual Appliance modes. Since automount is enabled by default in Windows, I am guessing you might be talking here about Veeam Backup server (as our setup program disables automount automatically to prevent Windows from corrupting VMFS datastores and backed up disks respectively by re-signaturing them). Thanks!
whodkne
Novice
Posts: 6
Liked: never
Joined: Nov 14, 2010 12:20 am
Full Name: SB
Contact:

Re: VSS Failed Windows 2008 R2

Post by whodkne »

Diskpart fix solved the same issue for me as well. No idea why it was disabled and Veeam never suggested this. Thanks guys!
KennX
Novice
Posts: 3
Liked: never
Joined: Jan 26, 2010 3:33 pm
Full Name: Kenn Crook
Contact:

Re: VSS Failed Windows 2008 R2

Post by KennX »

I got this exact same error on a Win2k8 R2 and it turned out the C: drive was running low on space so that's an additional thing to check. Once I increased the drive space the error went away.
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

Ah, that's is right, I heard before that VSS is affected when there is very low disk space on the volume. Thanks Kenn for sharing this.
ian0x0r
Veeam Vanguard
Posts: 238
Liked: 55 times
Joined: Nov 11, 2010 11:53 am
Full Name: Ian Sanderson
Location: UK
Contact:

Re: VSS Failed Windows 2008 R2

Post by ian0x0r »

bluecoffee wrote:diskpart

Check the status of auto mount by typing automount into the DISKPART window.

Automatic mounting of new volumes disabled.

Enable auto mount by typing automount enable

Type exit

Reboot.
Legend, that resolved my issue as well, funnily enough only seems to have affected DC's so far for me. - Thanks!
Check out my blog at www.snurf.co.uk :D
tom11011
Expert
Posts: 192
Liked: 9 times
Joined: Dec 01, 2010 8:40 pm
Full Name: Tom
Contact:

Re: VSS Failed Windows 2008 R2

Post by tom11011 »

I know this thread is a little old, but I wanted to add to it and say that automount was an issue for me as well on a 2008 R2 domain controller. Enabling it solved the issue. I am running 6.1 with update 1 installed.
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: VSS Failed Windows 2008 R2

Post by Vitaliy S. »

Thank you for sharing the solution that helped you, much appreciated.
Oletho
Enthusiast
Posts: 67
Liked: 2 times
Joined: Sep 17, 2010 4:37 am
Full Name: Ole Thomsen
Contact:

Re: VSS Failed Windows 2008 R2

Post by Oletho »

bluecoffee wrote:The solution for this is to enable disk auto mounting. Open a command window with elevated privileges and run:

diskpart

Check the status of auto mount by typing automount into the DISKPART window.

Automatic mounting of new volumes disabled.

Enable auto mount by typing automount enable

Type exit

Reboot.
+1

I had two domain controllers at a customer with exactly same issue.

Thanks!
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

Re: VSS Failed Windows 2008 R2

Post by avrham_g »

hi,
I've the same error with sbs 2011 and the auto-mount is enabled(it was already enabled) and i get this error

Code: Select all

22/11/2013 21:06:15 :: Failed to prepare guest for hot backup. Details: VSSControl: 0 Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
Cannot prepare the [NTDS] data to a subsequent restore operation.
Cannot process NTDS data.
Cannot create a backup copy of the BCD.
i run the system state backup from within sbs2011 and it pass with success.
what else do i need to check to correct this error?
THX
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

Guest processing log.
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

Re: VSS Failed Windows 2008 R2

Post by avrham_g »

nothing in the windows event log about this error.
the server is run on vmware 5.5 and veeam 7 R2.
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

I never said anything about Windows event log... it is Veeam's guest processing debug log that contains the required information.
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

Re: VSS Failed Windows 2008 R2

Post by avrham_g »

ok.
where i can few those logs?
Gostev
Chief Product Officer
Posts: 31815
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: VSS Failed Windows 2008 R2

Post by Gostev »

Please, open a support case for further assistance. Even if I tell you where you can find those logs, your next post will obviously be "OK, so how do I make sense of them" :D and we don't do log research through the forum posts.
velowulf
Influencer
Posts: 10
Liked: never
Joined: Jun 01, 2011 5:02 am
Full Name: Paul Hutton
Contact:

Re: VSS Failed Windows 2008 R2

Post by velowulf »

Worth noting that I was getting this error because the system drive had run out of space. HTH
borkchop
Lurker
Posts: 1
Liked: never
Joined: Jun 07, 2016 11:38 am
Contact:

Re: VSS Failed Windows 2008 R2

Post by borkchop »

I also got this same error and it was because the drive ran out of disk space. Win 7.
iori
Lurker
Posts: 1
Liked: never
Joined: Aug 30, 2017 8:16 am
Contact:

[MERGED] Backup job Failed [case ID 02297804]

Post by iori »

I am soliciting your help because I have a backup problem with my domain controller.
I get this error:

Code: Select all

Failed to prepare guest for hot backup. Error: VSSControl: -2147217406 Backup job failed. Cannot create a shadow copy of the volumes containing writer's data. Cannot prepare the [NTDS] data to a subsequent restore operation. Cannot process NTDS data. Cannot create a backup copy of the BCD. Cannot get [BcdStore] object. COM error: Code: 0x80041002
The problem has arisen since I moved the DC from ESX1 to ESX2. Do you have any idea?
Thank you for your help

CASE ID: 02297804

Iori
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 72 guests