[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2880
  • Last Modified:

SBS 2008 backup fails on vss components

Dear Experts,

I have an SBS 2008 box. I'm backing up using the native windows server backup to usb disks. Lately, backups are failing with the details below.  Notably, the VSS reports the 'NTDS' writer as failed with a Non-retryable error.
I have applied the PSCONFIG command to complete the sharepoint update issue but it didnt help.

Anyone any ideas?

Thanks in advance.




BACKUP EVENT LOG:
------------------------------------
Backup started at '{cfb40b9a-05b7-4421-b334-8b8a63350233}' failed as Volume Shadow copy operation failed for backup volumes with following error code '2155348075'.

APPLICATION EVENT LOG:
------------------------------------------
Unable to find index entry in index ID 1, of table 564197060, in database 'SUSDB'. The indicated index is corrupt or there is a problem with the current update plan. Run DBCC CHECKDB or DBCC CHECKTABLE. If the problem persists, contact product support.


ALSO


The description for Event ID 5000 from source SQLDUMPER cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
SQL90Exception64
sqlservr.exe
2005.90.3077.0
000000004949FBAC
sqlservr.exe
2005.90.3077.0
000000004949FBAC
0
0000000000F79083
000000019B4BEF85
the message resource is present but the message is not found in the string/message table


VSSADMIN LIST WRITERS OUTPUT:
-----------------------------------------------------------
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {df1135e6-946a-4e96-8f60-7ca16dad117a}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'FRS Writer'
   Writer Id: {d76f5a28-3092-4589-ba48-2958fb88ce29}
   Writer Instance Id: {b686d0de-29b6-4c53-b917-93f7a7f84c49}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'SqlServerWriter'
   Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
   Writer Instance Id: {84503322-680c-426c-8723-91e2cf60cd1a}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'ASR Writer'
   Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
   Writer Instance Id: {323d36d7-cc61-4498-aec1-56dbaf2fc4d8}
   State: [1] Stable
   Last error: No error

Writer name: 'SharePoint Services Writer'
   Writer Id: {c2f52614-5e53-4858-a589-38eeb25c6184}
   Writer Instance Id: {c06b0779-5280-424c-bc18-d60f21da64c0}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'FSRM Writer'
   Writer Id: {12ce4370-5bb7-4c58-a76a-e5d5097e3674}
   Writer Instance Id: {c93b6b6a-6eb4-4f09-9341-f9b09b48e308}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'SPSearch VSS Writer'
   Writer Id: {57af97e4-4a76-4ace-a756-d11e8f0294c7}
   Writer Instance Id: {1cc18be7-674c-4c3d-86af-a148b5bfeb69}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'IIS Config Writer'
   Writer Id: {2a40fd15-dfca-4aa8-a654-1f8c654603f6}
   Writer Instance Id: {0fac74c5-0854-4f20-8f35-5ac07dd48e37}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Microsoft Exchange Writer'
   Writer Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}
   Writer Instance Id: {e574072a-7fbb-48fd-a324-44948c06823c}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'TS Gateway Writer'
   Writer Id: {368753ec-572e-4fc7-b4b9-ccd9bdc624cb}
   Writer Instance Id: {9ffd5b88-c65d-4b44-af96-6a63fc57ca99}
   State: [1] Stable
   Last error: No error

Writer name: 'NPS VSS Writer'
   Writer Id: {35e81631-13e1-48db-97fc-d5bc721bb18a}
   Writer Instance Id: {d26d84f0-6e33-422f-a2de-a4627c3573a3}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Shadow Copy Optimization Writer'
   Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Instance Id: {6602d75a-20c1-40b4-b79f-2f6c287da84c}
   State: [1] Stable
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {ce57e4a2-9e5d-4ba2-91ed-35b676c67a7c}
   State: [1] Stable
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {b0e6334a-a624-4134-a965-2d41d85cb70b}
   State: [1] Stable
   Last error: No error

Writer name: 'BITS Writer'
   Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
   Writer Instance Id: {7a435083-4638-4ba3-8713-496f04e33cbb}
   State: [1] Stable
   Last error: No error

Writer name: 'Dhcp Jet Writer'
   Writer Id: {be9ac81e-3619-421f-920f-4c6fea9e93ad}
   Writer Instance Id: {b3f14c18-65b1-4a7e-91ef-439897ff61c4}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'NTDS'
   Writer Id: {b2014c9e-8711-4c5c-a5a9-3cf384484757}
   Writer Instance Id: {ebb97523-dcd9-44d3-bb1d-908e25037b34}
   State: [11] Failed
   Last error: Non-retryable error

Writer name: 'IIS Metabase Writer'
   Writer Id: {59b1f0cf-90ef-465f-9609-6ca8b2938366}
   Writer Instance Id: {b56fe826-2009-4eda-ab80-8d88ccd50274}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Certificate Authority'
   Writer Id: {6f5b15b5-da24-4d88-b737-63063e3a1f86}
   Writer Instance Id: {f1741bb5-599c-4662-b415-b6cf7a3ba783}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {80eee8ed-642e-4559-b660-07a84e1a6797}
   State: [5] Waiting for completion
   Last error: No error
0
tech53
Asked:
tech53
  • 5
  • 5
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Look you have to firstly get the Writers to Stable state for good backup to be initated and possibly complete and release the Vss writers :)

What is the amount of data backup you are taking ?
What is the amount of free space on the drive ?
Is the Volume Shadow disable or limited with some value on the drive ?

- Rancy
0
 
tech53Author Commented:
The total server data size is approx 200GB.
free space on server disk is 300GB
free sace on backup disk is around 700GB

volume shadow service is enabled.  however when i right click on either the server system disk (C) or data disk (D) and click to configure volume shadow copies i see an error message:

Initialzation failed
Error 0x80042304:0x80042304
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Can you please share a screenshot of the error ?

- Rancy
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
tech53Author Commented:
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
When you Right click a drive and Hit properties .... it will look something like the screenshot below.

Shadow copy properties
- Rancy
0
 
tech53Author Commented:
the
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Sorry ? Is the issue fixed ?

- Rancy
0
 
tech53Author Commented:
Ok.  My colleague found this information which has solved the issue.  Its caused by VSS copies being left behind.  They build up and cause server boot time to be drastically reduced as well as hurting the backup process. Here's what to do:


1. Open an elevated Command Prompt.
2. Type  set devmgr_show_nonpresent_devices=1 and press ENTER
3. Type start devmgmt.msc and press ENTER (Note: if you close the command prompt window, it clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2)
4. Click View
5. Click Show Hidden Devices
6. Expand Storage volume shadow copies and check for greyed out items. If there are more than a dozen or so they need to be removed.

Here's a script to remove them in bulk.

~~~~~~~~~~~~~~~~~~~~ SCRIPT STARTS ~~~~~~~~~~~~~~~~~~~~~

@ECHO OFF
:: Check DOS/Windows version
IF NOT "%OS%"=="Windows_NT" GOTO Syntax

:: Localize variables
SETLOCAL

:: Check command line arguments
IF NOT "%~1"=="" IF /I NOT "%~1"=="/D" IF /I NOT "%~1"=="/Y" GOTO Syntax

:: Check if debug mode is requested
IF /I NOT "%Debug%"=="ECHO" SET Debug=
ECHO.%* | FIND /I "/D" >NUL && SET Debug=ECHO

:: Check if confirmation is required
SET Confirmed=N
ECHO.%* | FIND /I "/Y" >NUL && SET Confirmed=Y

:: Check if DEVCON.EXE is available and if not, prompt for download
SET DevconAvailable=
SET Download=
DEVCON.EXE /? >NUL 2>&1
IF ERRORLEVEL 1 (
      SET DevconAvailable=No
      ECHO This batch file requires Microsoft's DEVCON untility.
      SET /P Download=Do you want to download it now? [y/N]
)

:: Start download if requested
IF /I "%Download%"=="Y" (
      START "DevCon" "http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272"
      ECHO.
      ECHO Install the downloaded file and make sure DEVCON.EXE is in the PATH.
      ECHO Then try again.
)

:: Abort if DEVCON.EXE is not available yet
IF "%DevconAvailable%"=="No" GOTO End

:: Ask for confirmation, unless overruled by command line switch
IF NOT "%Confirmed%"=="Y" (
      ECHO You are about to remove all inactive PnP devices from this computer.
      SET /P Confirmed=Are you sure you want to continue? [yN]
)
IF /I NOT "%Confirmed%"=="Y" GOTO Syntax

:: Save a list of all active devices in a temporary file
DEVCON Find * | FIND /I /V "matching device(s)" > "%Temp%\DevconFind.txt"
IF NOT EXIST "%Temp%\DevconFind.txt" GOTO Syntax

:: List all devices, both hidden/inactive and active ones, and remove
:: all devices that are not listed as active in the temporary file

FOR /F "tokens=1 delims=: " %%A IN ('DEVCON FindAll @STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot* @STORAGE\Volume\* ^| FIND /I /V "matching device(s)"') DO (
      TYPE "%Temp%\DevconFind.txt" | FIND "%%~A" >NUL
      IF ERRORLEVEL 1 %Debug% DEVCON Remove "@%%~A"
)

:: Remove the temporary file
DEL "%Temp%\DevconFind.txt"

:: Done
ENDLOCAL
GOTO:EOF


:Syntax
ECHO.
ECHO RmHidDev.bat,  Version 1.00 for Windows 2000 / XP
ECHO Use DEVCON to remove all hidden/inactive PnP devices.
ECHO.
ECHO Usage:  RMHIDDEV  [ /D ]  [ /Y ]
ECHO.
ECHO Where:  /D  Will only ECHO the removal commands instead of executing them
ECHO         /Y  Will remove devices without confirmation
ECHO.
ECHO Notes:  [1] This batch file requires Microsoft's DEVCON.EXE, available at
ECHO             http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
ECHO             You will be prompted for download if it isn't found.
ECHO         [2] This batch file was developed with "ghost devices" on Ghost images
ECHO             in mind. It has been tested on Windows XP Ghost images only.
ECHO             I cannot guarantee flawless operation on any other PC.
ECHO             Use this batch file entirely at your own risk. Make sure you have
ECHO             a recent full backup available in case something might go wrong.
ECHO             And remember to test, test, test and test before using it in a
ECHO             production environment.
ECHO.
ECHO Written by Rob van der Woude
ECHO http://www.robvanderwoude.com

IF "%OS%"=="Windows_NT" ENDLOCAL

~~~~~~~~~~~~~~~~~~~~ SCRIPT ENDS ~~~~~~~~~~~~~~~~~~~~~
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Dont mind but if you take a backup and remove these files manually that doesnt hurts as well

- Rancy
0
 
tech53Author Commented:
This solution worked for me.  Hopefully others will also have success,  Thanks to all for their input on this.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now