How to Open the FailedFilesLog.txt File (statement), and How to Increase the 100 File Limit (question)

It took us a while to figure this out, so I'm posting this in case it's helpful for someone out there. Plus, I have a question...

DPM gave the following error for one of our file servers:

Description: The replica of Volume D:\ on <servername> is inconsistent with the protected data source. Number of files skipped for synchronization due to errors has exceeded the maximum allowed limit of 100 files on this data source (ID 32538 Details: Internal error code: 0x809909FE)

Recommended action: Review the failure errors for individual files from the log file \\?\Volume{8492c150-f195-11de-a186-001cc4ef89a0}\B1E9D373-2C03-464E-A472-99BC93DB1E2A\FailedFilesLog.txt and take appropriate action. If some files fail consistently, you can exclude the folders containing these files by modifying the protection group or moving the files to another location.

So, how do you actually open the FailedFilesLog.txt file shown in this DPM alert? What is this path referring to? Well, this is the mount point for the protected server's replica volume on the DPM server, which is mounted under \Program Files\Microsoft DPM\DPM\Volumes\Replica\servername\File System. Here you'll see the mount points for all of the server's protected volumes. However, if you try to open one of these mounted volumes in Windows Explorer, you'll get Access Denied, even if you have administrator rights. (If someone knows of a way around this, please let me know). As a workaround, you can access this mounted volume in an elevated command prompt. Steps:

  1. Open an Administrator Command Prompt
  2. Type mountvol <AnyAvailableDriveLetter>: \\?\Volume{VolumeGUID}
  3. Example:  mountvol m: \\?\Volume{8492c150-f195-11de-a186-001cc4ef89a0}   Note that we're only using the first part of the path to the FailedFilesLog.txt file given in the DPM alert, starting from \\? and ending after the } character.
  4. Next, type m: to change to the newly mounted m: drive.
  5. Then type cd B1E9D373-2C03-464E-A472-99BC93DB1E2A   This is actually a folder name so we're just going into this folder.
  6. Finally type dir and you should see the FailedFilesLog.txt file. This file can be copied to another location where it's easier to use (i.e. in Windows Explorer).
  7. Be sure to unmount this volume when you're done by typing mountvol m: /d in the command prompt. (Mountvol reference: http://technet.microsoft.com/en-us/library/cc772586(WS.10).aspx.)

What a pain, eh? But at least by reviewing the FailedFilesLog.txt file you can determine which files or folders caused the sync to fail and thus take action accordingly.

Now, here's my question: Where is that registry key that lets me adjust the limit of 100 files that DPM allows to be skipped before it fails the replica? Hopefully someone out there will tell me. I know this can be done because Kapil Malhotra said so in this post: http://groups.google.com/group/microsoft.public.dataprotectionmanager/browse_thread/thread/a179fa30fb50c9b0/e9a348f2a9386063?lnk=raot.

Also, does anyone know what the internal error code 0x809909FE means in this alert? Knowing this my help us determine what caused these files to fail. Interestingly, in the FailedFilesLog.txt file, it gave a different error code next to each failed file: 0x80070002.

-Taylorbox

  • Moved by Praveen D [MSFT]Owner Monday, July 19, 2010 6:19 AM Moving DPM File Protection Forum (From:Data Protection Manager)
July 14th, 2010 7:27pm

Try regkey HKLM\Software\Microsoft\Microsoft Data Protection Manager\Agent\ContinueOnFailure

Regvalue MaxFailedFiles:DWORD.

0x809909FE is just an internal DPM error that says you have exceed the limit of 100 failures. 0x80070002 is the real error and it means "File not found".

Thanks,

-fahd

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2010 10:02am

Thanks for responding, Fahd. So, just to be sure...

  1. Do I add this registry key to the DPM server or to the protected servers (or both)?
  2. In either case, the ContinueOnFailure key does not currently exist. So, I must create this key and the MaxFailedFiles DWORD value manually, right?
  3. Does the server in which I create this regkey have to be restarted for it to take affect?
  4. Can the DPM alert for the 0x809909FE error event (for exceeding the limit of 100 failures) please be adjusted to provide a path to the FailedFilesLog.txt file that actually works if you click on it?
  5. Any ideas on why the 0x80070002 "File not found" error happened? The files on the server were simply created and then deleted. Why would such file activity lead to this error?

Thanks,

-Taylorbox

July 16th, 2010 12:45pm

1. Do I add this registry key to the DPM server or to the protected servers (or both)?

protected server.

2. In either case, the ContinueOnFailure key does not currently exist. So, I must create this key and the MaxFailedFiles DWORD value manually, right?

Yes

3. Does the server in which I create this regkey have to be restarted for it to take affect?

No need to reboot but just to be safe do a "net stop dpmra" followed by "net start dpmra" on elevated prompt when backup is not running.

5. Any ideas on why the 0x80070002 "File not found" error happened? The files on the server were simply created and then deleted. Why would such file activity lead to this error?

It could happen due to antivirus running on the protected server.

  • Marked as answer by Taylorbox Monday, July 19, 2010 7:05 PM
  • Unmarked as answer by Taylorbox Monday, July 26, 2010 6:13 PM
  • Marked as answer by Taylorbox Friday, August 13, 2010 12:35 AM
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2010 1:13am

Hi

This new feature ContinueOnFailure is a new feature that Microsoft has added since the old solution made the DPM job stop with the replica inconsistent. The most importent thing is WHY your facing this problem. This is what can cause the job to "fail"

1. When your DPM server is trying to backup a file that the local AV of the server has put in quarantine. This is the most common case. Check your local AV and verify that your servers AV has the latest AV definitions and patches, run a AV scan on the protected server.

2. When DPM does a backup of a file and a user is modifying that file at the same time.

BR

Robert Hedblom

http://robertanddpm.blogspot.com/

July 18th, 2010 8:56pm

Thanks for replying, Fahd Kamal. Could you please also comment on my #4 question?...

Can the DPM alert for the 0x809909FE error event (for exceeding the limit of 100 failures) please be adjusted to provide a path to the FailedFilesLog.txt file that actually works if you click on it?

Hopefully this will be fixed in a future update to DPM 2010...

-Taylorbox

Free Windows Admin Tool Kit Click here and download it now
July 26th, 2010 6:16pm

I'm running DPM 2010 on 2008 R2.

I've got the "100 file exceeded" error but can't access the failed files log even after following the above. When I mount the volume the file isn't there.

Is it possible that it's not getting that far?  I start the consistency check manually and it imediately kicks the "100 exceeded" error.

 

thanks !

 

 

 


June 6th, 2011 8:19am

Hi Robert,

I have the same issue with my DPM server. I have trouble to backup the DFS server. It contains 7 TB userdata from students.  After reading the FailedFileslog.txt I detected 100 * 0x80070005 error.

My conclusion: I have to exclude folders in the backup. The DPM server wil not miss the files anymore.

but.............I have 12.000 students.

How to exclude this folders for every user ???????????

path\user1\Mijn downloads\
path\user2\Downloads\
path\user3\$RECYCLE.BIN\
path\user4\My Games\
path\user4\SoftonicDownloader_voor_stykz.exe

Free Windows Admin Tool Kit Click here and download it now
January 4th, 2014 7:12pm

In cases where you get an access is denied when trying to access the failedfileslog.txt file, use psexec to open the command prompt in the "nt authority\system" context.  You will then be able to access the failedfileslog.txt file from the command prompt.  You will also need to copy it to another location before you can open the file.

PSExec can be downloaded from http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx.

February 21st, 2014 8:56pm

Using PSExec to browse the sub-folder that failedfileslog.txt is contained within still gives an "Access is Denied" error.

Anyone else know how the hell to get to this log file?

Free Windows Admin Tool Kit Click here and download it now
July 10th, 2015 3:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics