none
Error ID 104 while backing up VM RRS feed

  • Question

  • I'm running DPM 2010, in Windows 2008 SP2(non r2). All seems to be fine until this past week. 

    I can't seem to backup a VM running 2008 R2. The vm is NOT a sharepoint server. When I first setup the replica, it indicates successful creation(green icon), but it indicates 0 total recovery point. WHen i try to create a recovery point, it tells me it failed because the replica is inconsistent.

    When i try running consistency check, after about 1 minute, it failed. The error is:

    The replica of Microsoft Hyper-V \Backup Using Child Partition Snapshot\LIBTEST on <HOST of the VM> is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data from existing recovery points, but new recovery points cannot be created until the replica is consistent. 

     

    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)

     

    An unexpected error occurred while the job was running. (ID 104 Details: The parameter is incorrect (0x80070057))

     

     

    the error message is not helpful. I tried deleting the replica and start from scratch again and allocate additional space to the replica. However, DPM 2010 doesn't seem to take the setting. I had to finish the initial replica creation first, and then manually change the space allocation. All of which failed.

    restarting the host server, and the vm does not help.

     

    anyone knows what's up with this one?

     

    Monday, September 26, 2011 12:38 PM

Answers

  • If further help is needed with this issue, please re-open the thread.
    --------------------------------------------------------------------------------
    Regards, Michael V [MSFT] - This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, January 25, 2012 9:52 PM
    Moderator

All replies

  • Hi rickybud7,

    Have you applied all the DPM patches for DPM2010? You should run version 3.0.7707.0.

    Are your integration services up to date on the virtual server?


    Best Regards

    Robert Hedblom

    MVP DPM


    Check out my DPM blog @ http://robertanddpm.blogspot.com

    Monday, October 3, 2011 9:26 PM
    Moderator
  • where would i find list of hot fixes for DPM? i've always struggled finding patches for DPM since its V1. 

     

    Wednesday, October 5, 2011 12:14 PM
  • well, i finally found the update, and update both DPM server and the agents. i'm in 3.0.7707.0 now. 

    it's still throwing the same exact message. The parameter is incorrect. I still have no clue what that actually means

    Wednesday, October 5, 2011 2:26 PM
  • Hi,

    Can you please perform the following steps on the DPM Server:

    1) Open a command prompt and CD to the C:\program files\microsoft dpm\dpm\temp folder.
    2) In DPM, reproduce the problem / error.
    3) After the error occurs, in the Command prompt type:

    Find "0x80070057" msdpmcurr.errlog >0x80070057.txt

    4) Open the 0x80070057.txt file in notepad, and for the log entries found, paste just the lines for the time of the last errors in this forum post so I can get some context of the error.

     

     

     


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, October 5, 2011 8:50 PM
    Moderator
  • here is what it says:

     

    ---------- MSDPMCURR.ERRLOG

    1288 0DD8 10/06 12:13:42.058 27 CommonErrorHandler.cs(165) 81FDCF20-AA92-4509-8E7A-8051A18BF1FA WARNING AgentStatus[RAForRead] - (CommandID=RAPreBackup, StatusReason=Error) failed with HRESULT 0x80070057, error -2147024809.

    Thursday, October 6, 2011 12:18 PM
  • HI,

    It seems we're having trouble with preparing to take the snapshot on the protected server.   Is that a Hyper-V cluster by chance ?  If so, are there any failed cluster disk resources ?

    I need additional information from the protected server hosting that guest at the time of the backup.

    Can you please perform the following steps on the Protected Server (PS):

    1) Open a command prompt on the PS and CD to the C:\program files\microsoft data Protection manager\dpm\temp folder.
    2) In DPM, reproduce the problem / error.
    3) After the error occurs, in the Command prompt on the PS type:

    Find "0x80070057" dpmracurr.errlog >0x80070057.txt
    Find "-2147024809" dpmracurr.errlog >2147024809.txt

     

    4) Open the 0x80070057.txt and 2147024809.txt file in notepad, and for the log entries found, paste just the lines for the time of the last errors in this forum post so I can get some context of the error.

    Hopefully hat will contain enough details to see why we're failing.


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, October 6, 2011 4:13 PM
    Moderator
  • yes, it's a hyper-v cluster, but there is no failed cluster disk resources

    here is the 0x80070057.txt:

     

     

    02F4 1B68 10/07 15:30:05.064 31 aaxmlprocessingutils.cpp(49) 7B0B27EA-DE9E-4CB8-923D-92F5C9F6C10D WARNING Failed: Hr: = [0x80070057] : F: lVal : E_INVALIDARG

    02F4 18B4 10/07 15:30:09.932 18 fsutils.cpp(2944) 7B0B27EA-DE9E-4CB8-923D-92F5C9F6C10D WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x027700000001176F

    02F4 18B4 10/07 15:30:09.932 18 fsutils.cpp(2944) 7B0B27EA-DE9E-4CB8-923D-92F5C9F6C10D WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x027700000001176F

    02F4 18B4 10/07 15:30:10.057 18 fsutils.cpp(2944) 7B0B27EA-DE9E-4CB8-923D-92F5C9F6C10D WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x0C4E0000000110C4

    02F4 18B4 10/07 15:30:10.057 18 fsutils.cpp(2944) 7B0B27EA-DE9E-4CB8-923D-92F5C9F6C10D WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x0C4E0000000110C4

    08F4 1840 10/07 15:39:11.419 31 aaxmlprocessingutils.cpp(49) B365DC2A-5AE8-4934-BAF0-85B09AE5DA12 WARNING Failed: Hr: = [0x80070057] : F: lVal : E_INVALIDARG

    08F4 0928 10/07 15:40:49.266 31 basewriterhelperplugin.cpp(701) [000000000296D790] WARNING Failed: Hr: = [0x80070057] : F: lVal : E_INVALIDARG

    08F4 0928 10/07 15:40:49.266 31 createsnapshotsubtask.cpp(2425) [0000000002967FA0] WARNING Failed: Hr: = [0x80070057] : F: lVal : pBackupHelper->UpdateFileIdForROFilter(aaFilter)

    08F4 0928 10/07 15:40:49.266 31 createsnapshotsubtask.cpp(2438) [0000000002967FA0] WARNING Failed: Hr: = [0x80070057] : F: lVal : CopyComponentInfo((arrVssComponentInfo[i])->m_arrComponentInfo, pAAComponentInfo->m_arrComponentInfo, pBackupHelper)

    08F4 0928 10/07 15:40:49.266 31 createsnapshotsubtask.cpp(2399) [0000000002967FA0] WARNING Failed: Hr: = [0x80070057] : F: lVal : CopyComponentInfo(pVssROList->m_arrComponentInfo, (*ppAAROList)->m_arrComponentInfo, pBackupHelper)

    08F4 0928 10/07 15:40:49.266 31 createsnapshotsubtask.cpp(471) [0000000002967FA0] WARNING Failed: Hr: = [0x80070057] : F: lVal : CopyROList(pVssROList, &pAAROList, pBackupHelper)

    08F4 11C0 10/07 15:45:02.837 31 aaxmlprocessingutils.cpp(49) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : F: lVal : E_INVALIDARG

    08F4 1840 10/07 15:45:08.141 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x075B00000000A1E7

    08F4 1840 10/07 15:45:08.141 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x075B00000000A1E7

    08F4 1840 10/07 15:45:08.266 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x075C00000000A1E7

    08F4 1840 10/07 15:45:08.266 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x075C00000000A1E7

    08F4 1840 10/07 15:45:08.391 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x002100000000EB28

    08F4 1840 10/07 15:45:08.391 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x002100000000EB28

    08F4 1840 10/07 15:45:08.391 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x00090000000121E1

    08F4 1840 10/07 15:45:08.391 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x00090000000121E1

    08F4 1840 10/07 15:45:08.406 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x027800000001176F

    08F4 1840 10/07 15:45:08.406 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x027800000001176F

    08F4 1840 10/07 15:45:08.437 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x01DE00000001181C

    08F4 1840 10/07 15:45:08.437 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x01DE00000001181C

    08F4 1840 10/07 15:45:08.453 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x00F6000000011825

    08F4 1840 10/07 15:45:08.453 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x00F6000000011825

    08F4 1840 10/07 15:45:08.484 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x006400000001217C

    08F4 1840 10/07 15:45:08.484 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x006400000001217C

    08F4 1840 10/07 15:45:08.500 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x006600000001217C

    08F4 1840 10/07 15:45:08.500 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x006600000001217C

    08F4 1840 10/07 15:45:08.531 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x014500000000034D

    08F4 1840 10/07 15:45:08.531 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x014500000000034D

    08F4 1840 10/07 15:45:08.547 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x025200000000033B

    08F4 1840 10/07 15:45:08.547 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x025200000000033B

    08F4 1840 10/07 15:45:08.547 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x025200000000033B

    08F4 1840 10/07 15:45:08.547 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x025200000000033B

    08F4 1840 10/07 15:45:08.609 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x02AE000000000D84

    08F4 1840 10/07 15:45:08.609 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x02AE000000000D84

    08F4 1840 10/07 15:45:08.625 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x02AF000000000D84

    08F4 1840 10/07 15:45:08.625 18 fsutils.cpp(2944) D01E6BBA-4D68-412F-95F9-233191AEE72A WARNING Failed: Hr: = [0x80070057] : GetFileHandleById failed to open file, frn:0x02AF000000000D84

     

    and the 2147024809.txt:

     

    08F4 0928 10/07 15:40:49.266 31 aasubtask.cpp(913) [0000000002967FA0] WARNING <Status xmlns="http://schemas.microsoft.com/2003/dls/StatusMessages.xsd" StatusCode="-2147024809" Reason="Error" CommandID="RAPreBackup" CommandInstanceID="5e782c53-1bf4-4f79-8d66-a647738026ae" GuidWorkItem="c450ccb0-de64-4791-b2f8-3a2d689f5cf2" TETaskInstanceID="b365dc2a-5ae8-4934-baf0-85b09ae5da12"><ErrorInfo xmlns="http://schemas.microsoft.com/2003/dls/GenericAgentStatus.xsd" ErrorCode="998" DetailedCode="-2147024809" DetailedSource="2"/></Status>

    08F4 0928 10/07 15:40:49.266 03 runtime.cpp(1599) [00000000002DC220] FATAL <Status xmlns="http://schemas.microsoft.com/2003/dls/StatusMessages.xsd" StatusCode="-2147024809" Reason="Error" CommandID="RAPreBackup" CommandInstanceID="5e782c53-1bf4-4f79-8d66-a647738026ae" GuidWorkItem="c450ccb0-de64-4791-b2f8-3a2d689f5cf2" TETaskInstanceID="b365dc2a-5ae8-4934-baf0-85b09ae5da12"><ErrorInfo xmlns="http://schemas.microsoft.com/2003/dls/GenericAgentStatus.xsd" ErrorCode="998" DetailedCode="-2147024809" DetailedSource="2"/></Status>

     

     


    • Edited by rickybud7 Friday, October 7, 2011 3:52 PM
    Friday, October 7, 2011 3:50 PM
  • HI,

    Thanks, I think this helps, it appears that we're trying get a handle to a file using it's fileID and that fileID is not valid.  The OpenFileById method fails with invalid arg when the FRN does not exist. I think the proper corrective action will be to run chkdsk /F after hours against the CSV volume# hosting the problematic VM so it can repair any file system inconsistencies.

    Launch PowerShell from the administrators group. This will ensure that we have the cluster modules loaded.

    Repair-ClusterSharedVolume  C:\ClusterStorage\Volume1 –CHKDSK –Parameters “/F”

    This cmdlet runs chkdsk.exe on a CSV volume. It will turn maintenance on for the volume, move the cluster resource to the node running this cmdlet, run the tool, and then turn maintenance off for the volume. This cmdlet has to run locally on one of the cluster nodes.

    For more information see the cmdlet built in help by running get-help Repair-ClusterSharedVolume -full

    If that does not sound like an appealing solution, or does not fix the problem, please remove the VM from DPM protection, delete the VM from Hyper-V cluster, copy the .vhd files off the CSV and back onto the CSV, then remake the VM - add it to the cluster and reprotect it in DPM.


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, October 7, 2011 5:22 PM
    Moderator
  • I need to clarify something.

    The physical server is part of a 2 node hyper-v cluster that is used to host HA VM. However the VM i'm having problem backing up is not part of the HA VM, and it is NOT stored in the csv volume. 

     

    all the HA VMs can be backed up with DPM just fun. All other VMs that are not HA can also be backed up just fine within this host. Only this one particular VM can't be backed up for some reason.

     

    thank you so much for your help. Should i run chkdsk on the csv still?

    Friday, October 7, 2011 6:39 PM
  • Hi,

    No - if the problematic VM is on a different disk (volume) - then just run chkdsk /F x:  (where x: is the drive letter hosting the VM) - chkdsk may need to close handles to open files and may prompt to run now or schedule for during a reboot - make your choice, but we won't know until after chkdsk runs if it fixes the issue.


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, October 7, 2011 7:31 PM
    Moderator
  • Please don't close this yet. i was about to do this, but then find out that all my critical DPM powershell script quit working after upgrading the gui to 3.0.7707.0. I had to stop and resolve the script problem first. 

    I created a new thread at http://social.technet.microsoft.com/Forums/en-US/dpmsetup/thread/84ef2162-2f83-48fa-ad6e-037cba3259cb

     

     

    Tuesday, October 11, 2011 2:33 AM
  • I finally got a chance to get to this again. running chkdsk /f on this volume is too risky for me because this volume also contains other VMs, all of which are getting backed up just fine by dpm. 

    So, what i did is:

    - moved this VM to a different physical server with a completely different storage attached to it. 

    - delete the vm backup completely from DPM, 

    - recreate tbe backup in DPM

    i'm still getting the same error. I'll try running chkdsk /f and report back again. 


    • Edited by rickybud7 Tuesday, October 18, 2011 3:43 PM
    Tuesday, October 18, 2011 3:42 PM
  • Hi,

    Hmm - this does not compute...  how many .vhd files are associated with that particular VM ?   Does it matter if you try to back it up in an online or offline state ?


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, October 18, 2011 4:53 PM
    Moderator
  • i tried saved state backup before, and it didn;t work. i just tried it again, same error.

    the last thing i haven't tried is intstalling backup agent on the VM itself.

    The vm has 2 VHD attached to it.


    • Edited by rickybud7 Tuesday, October 18, 2011 5:36 PM
    Tuesday, October 18, 2011 5:33 PM
  • i moved the vm to 3 different host, none of them works. all spit out the same error.

    i ended up installing agent on the VM, and it seems to work fine. 

    Thursday, October 20, 2011 8:01 PM
  • If further help is needed with this issue, please re-open the thread.
    --------------------------------------------------------------------------------
    Regards, Michael V [MSFT] - This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, January 25, 2012 9:52 PM
    Moderator