Troubleshooting
Problem
A system state backup fails with ANS5250E and ANS1468E error messages. For a scheduled operation, the schedule is reported as FAILED with return code12.
Symptom
The following errors are logged in the dsmerror.log client file:
- ANS5250E An unexpected error was encountered.
IBM Spectrum Protect function name : BackupComplete()
IBM Spectrum Protect function : 'BackupComplete() failed with error VSS_E_BAD_STATE. 0X80042301'
IBM Spectrum Protect return code : -2147212543
IBM Spectrum Protect file : ..\..\common\winnt\asrutil.cpp (2505)
ANS1468E Backing up Automated System Recovery (ASR) files failed. No files will be backed up.
- Log Name: Application
Source: VSS
Date: <date+timestamp>
Event ID: 12293
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <computer name>
Description:
Volume Shadow Copy Service error: Error calling a routine on a Shadow
Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details
EndPrepareSnapshots({8388cfce-72a0-46c9-929f-3ff95ad84fd6}) [hr =
0x80070015, The device is not ready.
].
Cause
IBM Spectrum Protect client uses Microsoft VSS to back up the system state. VSS processing creates a snapshot and enumerates system state components and files. In this case, the ASR Writer selects a raw volume that is not currently mounted. VSS returns error 0x80070015 while preparing the snapshot.
Diagnosing The Problem
When you run the DISKSHADOW command, the raw volume is selected:
- DISKSHADOW> list writers detailed
...
* WRITER "ASR Writer"
- Writer ID = {be000cbe-11fe-4426-9c58-531aa6355fc4}
- Writer instance ID = {a52488c7-2880-4eb7-a1a5-5d9296c2cd2d}
- Supports restore events = FALSE
- Writer restore conditions = VSS_WRE_NEVER
- Restore method = VSS_RME_RESTORE_IF_CAN_REPLACE
- Requires reboot after restore = TRUE
...
Critical volumes are those volumes that ASR must restore.
- Type: VSS_CT_FILEGROUP [2]
- Is selectable: FALSE
- Is top level: TRUE
- Notify on backup complete: FALSE
- Components:
- Paths affected by this component:
- Volumes affected by this component:
- Component Dependencies:
+ Component "ASR Writer:\Volumes\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
- Name: Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
- Logical path: Volumes
- Full path: \Volumes\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
- Caption: Select this volume (\??\Volumes\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} if it is a critical volume.
...
The MOUNTVOL command also lists this volume without a mount point.
The client service trace shows:
- main thread 0================>
<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(2363): DoVssAsrBackup()ASR writer is OK.
<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(2393): DoVssAsrBackup() Do snapshot now.
<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(2443): DoVssAsrBackup()ASR writer is OK.
<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(2470): DoVssAsrBackup() Now we backup data.
<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(1356): BackupComplete() failed with error VSS_E_BAD_STATE.<date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(1203): <date+timestamp> [041716] [32480] : ..\..\common\winnt\asrutil.cpp(2551): DoVssAsrBackup() Done.
<date+timestamp> [041716] [32480] : ..\..\client\clc\dscback.cpp(7274): ProcessVssRequest(): psDoAsrBackup() returned rc=4657
To verify if it fails when handling the raw volume, the Microsoft VSS tracing tool vsstrace.exe can be used. This tool retrieves more detailed information about all related modules. The tool is included in a Windows Software Development Kit (SDK). If the tool is installed, it is located in this directory:
C:\Program Files (x86)\Windows Kits\8.0\bin\x64.
If it does not exist, download the Windows Software Development Kit (SDK):
https://developer.microsoft.com/en-us/windows/downloads/windows-8-sdk
Resolving The Problem
Consult Microsoft support to resolve the errors with the ASR Writer.
Product Synonym
TSM
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg22014162