Monday, November 18, 2013

DPM encountered a retryable VSS error

In this case I was trying to backup P2V converted VM using DPM 2012 SP1. The VM was hosted on Hyper-V 2012 cluster. DPM Replica Creation Job was failing with following description:
DPM encountered a retryable VSS error. (ID 30112 Details: VssError:The writer experienced a transient error.  If the backup process is retried, the error may not reoccur. (0x800423F3))

The VM had Windows Server 2003 SP2 operating system installed. I've decided to check the VSS writers, and the vssadmin has returned empty list of VSS writers available on the VM:



According from following Microsoft article http://support.microsoft.com/kb/940184/en-us , I've re-registered the following dlls:

  • cd /d %windir%\system32
  • net stop vss
  • net stop swprv
  • regsvr32 ole32.dll
  • regsvr32 oleaut32.dll
  • regsvr32 /i eventcls.dll
  • regsvr32 vss_ps.dll
  • vssvc /register
  • regsvr32 /i swprv.dll
  • regsvr32 es.dll
  • regsvr32 stdprov.dll
  • regsvr32 vssui.dll
  • regsvr32 msxml.dll
  • regsvr32 msxml3.dll
  • regsvr32 msxml4.dll

  • Now, running the vssadmin list writers again, has successfully listed all the available VSS writers. I was hoping that DPM will successfully finish Replica Creation Job, but I was wrong. VM was having ISA Server 2006 installed with local MSDE. Someone has changed ISA Logging destination from Database into flat files, and to free some space on disk deleted the mdfs and ldfs files from logging directory. Now, VSS was failing with error event id 6013 with following message:

    Error message: Database 'ISALOG_.....' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details
     
    Now I was looking for a way to dismount those old databases with deleted mdf and ldf files. Thankfully, Microsoft has publish a vbscript for dismounting old databases from MSDE, and here is the link from the source of the script http://technet.microsoft.com/en-us/library/cc302448.aspx .
    After running the script, the old databases were dismounted, and finally I was able to backup the VM using DPM 2012.

    No comments:

    Post a Comment