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

  • 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] Monday, July 19, 2010 6:19 AM Moving DPM File Protection Forum (From:Data Protection Manager)
    Wednesday, July 14, 2010 7:27 PM

Answers

  • 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
    Sunday, July 18, 2010 1:13 AM

All replies

  • 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

    Friday, July 16, 2010 10:02 AM
  • 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

    Friday, July 16, 2010 12:45 PM
  • 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
    Sunday, July 18, 2010 1:13 AM
  • 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/


    Check out my DPM blog http://robertanddpm.blogspot.com
    Sunday, July 18, 2010 8:56 PM
    Moderator
  • 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

    Monday, July 26, 2010 6:16 PM
  • 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 !

     

     

     


    Monday, June 6, 2011 8:19 AM
  • 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

    Saturday, January 4, 2014 7:12 PM
  • 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.


    -------------------- Regards, Michael V [MSFT] - This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, February 21, 2014 8:56 PM
    Moderator
  • 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?

    Friday, July 10, 2015 7:50 AM
  • "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)."

    I found that was able to access the volumes when navigating from another server

    e.g.    \\server\D$\Program Files\Microsoft DPM\DPM\Volumes\

    Thursday, September 17, 2015 11:16 AM
  • 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.

    my question is that what is the value should we set in the number 2 underlined quoted point??
    Tuesday, May 31, 2016 12:25 PM
  • I asked this question because none of the resolution step worked in my scenario. I have tried with maximum hexadecimal value and also with maximum decimal value.

    Consistency check is still failing after a while.

     
    Tuesday, May 31, 2016 1:19 PM