TSM backup problem  ANS2079E error scanning snapshot

Posted on 2013-02-05
Last Modified: 2013-02-07
I am deploying new windows 2008R2 servers in production.
Servers will be used for file servers.
I installed TSM client
TSM server is 5.5. According to the TSM documentation tsm server and client is compatible.
After installation I used the wizard to configure client scheduler and journal services.
The problem is that backup jobs failed with the following error: NS2079E Error processing '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy51': error scanning snapshot

## vssadmin list writers shows that all writers are stable and there isn't any error on them,
Any idea how to fix the probelm?

02/04/2013 15:40:40 Processing 0 Journal entries for '\\drfs2\e$'
02/04/2013 15:40:42 Querying Journal for '\\drfs2\f$'
02/04/2013 15:40:42 Backup of object 'SystemState' component 'System State' finished successfully.
02/04/2013 15:40:43 Processing 0 Journal entries for '\\drfs2\f$'
02/04/2013 15:40:43 Querying Journal for '\\drfs2\c$'
02/04/2013 15:40:43 Successful incremental backup of 'DRFS2\SystemState\NULL\System State\SystemState'

02/04/2013 15:40:43 Successful incremental backup of '\\drfs2\e$'

02/04/2013 15:40:43 Successful incremental backup of '\\drfs2\f$'

02/04/2013 15:40:43 Processing 137 Journal entries for '\\drfs2\c$'
02/04/2013 15:40:43 Expiring-->                    0 \\drfs2\c$\Windows\SoftwareDistribution\DataStore\Logs\tmp.edb [Sent]      
02/04/2013 15:40:43 Expiring-->                    0 \\drfs2\c$\Windows\security\database\tmp.edb [Sent]      
02/04/2013 15:40:43 Normal File-->             6,385 \\drfs2\c$\Program Files\Tivoli\TSM\baclient\dsmerror.log [Sent]      
02/04/2013 15:40:43 ANS1228E Sending of object '\\drfs2\c$\ProgramData\Microsoft\Event Viewer\testTempViewerDir\*' failed
02/04/2013 15:40:43 ANS2079E Error processing '\\drfs2\c$\ProgramData\Microsoft\Event Viewer\testTempViewerDir\*': error scanning snapshot
02/04/2013 15:40:43 ANS1999E Incremental processing of '\\drfs2\c$' stopped.

02/04/2013 15:40:43 ANS1999E Incremental processing of '\\drfs2\c$\ProgramData\Microsoft\Event Viewer\testTempViewerDir\*' stopped.

02/04/2013 15:40:51 ANS2079E Error processing '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy51': error scanning snapshot
02/04/2013 15:40:51 --- SCHEDULEREC STATUS BEGIN
Question by:dedri
  • 4
  • 4
LVL 16

Expert Comment

ID: 38855550
Hi Dedri,
i believe the problem is in processing folder testTempViewerDir located in c:\ProgramData\Microsoft\Event Viewer\.
I really don't know what is that directory for, but you may want to try and exclude that directory from backups and try the incremental backup again.
Chances are that if tsm client won't be stopped at that time, it will go on creating the failed snapshot.

hope this helps

Author Comment

ID: 38856720
I've already excluded it from one of  the servers and I am still receiving the error message
ANS2079E Error processing '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy51': error scanning snapshot
LVL 16

Assisted Solution

max_the_king earned 500 total points
ID: 38858911
Hi dedri,
it seems microsoft vss is experiencing problems (no surprise): i see 2 chances for you: one is to exclude from backups ALL of the directories which end up in "error scanning snapshot" just to not let tsm client kill the backup process. Your second chance is to open a PMR with IBM, which i believe it's gonna be a very long way with fetching all kind of logs.
Moreover, since you're going to use them as Fileserver, you do not really need VSS functionality (on a fileserver you just want to backup and restore data).

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.


Author Comment

ID: 38858944
Do I need  VSS for systemstate backup.
Could the problem be somehow related to journal service that I also configure?
On all of my application servers I just install tsm client shedulere and I don't install journal service.
LVL 16

Accepted Solution

max_the_king earned 500 total points
ID: 38859122
1. Since version 5.2.2, TSM will use the Microsoft Volume Shadowcopy Service (VSS) to back up all system state components as a single object. This will provide a consistent point-in-time snapshot of the system state.

2. don't think so, although journal backup have got me in trouble in the past, it shouldn't be related with the error reported in the log (only way to double check is to disable and run the systemstate backup again)

you may want to do one more try:

1) Go to C$: drive and search a directory called "adsm.sys"
2) Rename that directory. Make sure that you have enough permissions to rename.
3) Again run the Systemstate backup by loging into the tsm client (or with GUI)

tsm> bacakup systemstate

see if you get the same error.

then, to further troubleshooting systemstate issue, you may want to read the following (i believe iy should apply to win2008 as well):

hope this helps

Author Comment

ID: 38863018
10x for the reply.
Last night I removed VSS  through the Backup  Setup GUI wizard, and today backups are completed successful for both servers.
As I seen from the log systemstate backup is also completed successful.
There are couple of  error message today regarding backup of user profile of the account that is logged,not a big deal :
ANS4987E Error processing '\\hqfs2\c$\Users\myuser\AppData\Local\Microsoft\Windows\UsrClass.dat': the object is in use by another process
How do you handle this errors in your environment?
I also spotted this errors in a couple of other servers.
LVL 16

Assisted Solution

max_the_king earned 500 total points
ID: 38863236
well this is another issue ...
anyway you should exclude those files from your backups: you can do it from server, or more easily from the client itself (even from the GUI):

I usually exclude the following:

exclude "*:\Users\...\UsrClass.dat.LOG"
exclude "*:\Users\...\UsrClass.dat"
exclude "*:\Users\...\NTUSER.DAT"
exclude "*:\Users\...\ntuser.dat.LOG"

because those files are always in use and anyway you do not need to save them.


Author Closing Comment

ID: 38863522
10x max

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question