none
DPM 2012. Backup to tape fails. Error ID 998. RRS feed

  • General discussion

  • Hi All,

    I have a problem with backups to tape. Maybe someone could help me.

    Long term backup to tape fails with error:

    The operation failed because of a protection agent failure. (ID 998 Details: Incorrect function (0x80070001))

    I'm usin DPM 2012 on Windows 2008 R2 SP1.

    I have HP Blade server with VMWARE ESXI installed. DPM 2012 is installed on VMWare virtual machine.

    The blade is paired with Hewlett Packard LTO Ultrium-5 drive.

    I'm using oryginal HP Data Cartridge 3TB.

    Everytime after perfoming long term backup I have 0,13 MB written to tape..

    I see that DPM doesnt recognize tape type.. Maby this is a reason but I don't know how to solved this.

    Any suggestions?

    Thank you for any comment.

    Regards

    Bartek

    Friday, May 4, 2012 11:23 AM

All replies

  • Hi,

    Please download and run the DPMtapeLibraryCompatibilityChecker tool from the following link.

    https://skydrive.live.com/?cid=885774776d4f197a&sc=documents&id=885774776D4F197A%21128


    For Standalone drive.
    =====================

    Run the following command to list libraries attached to the system.

    DPMLibraryTest.exe /Certify /LL


    Run the following command, where \\.\tape######## is the symbolic name of the tape drive to test from the output of the /LL command.

    DPMLibraryTest.exe /CERTIFY /TL \\.\Tape2147483646 /SA


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, May 4, 2012 3:13 PM
    Moderator
  • Hi Mike,

    Thank you for your answear.

    Below are results of the second command. Do you see anything abnormal?

    Regards Bartek

    0860 0824 05/07 06:43:39.156 30 dpmlibrarytesttool.cpp(954)   NORMAL CMDLINE: DPMLibraryTest.exe /CERTIFY /TL \\.\Tape0 /SA
    0860 0824 05/07 06:43:39.156 30 utility.cpp(273)   WARNING Failed: Hr: = [0x80070424] QueryServiceStatus failed
    0860 0824 05/07 06:43:39.156 30 utility.cpp(349)   WARNING Failed: Hr: = [0x80070424] GetServiceStatus for NtmsSvc service failed, ignoring the failure
    0860 0824 05/07 06:43:39.156 30 utility.cpp(266)   WARNING Failed: Hr: = [0x80070424] : F: lVal : (HANDLE)(schService = OpenServiceW( schSCManager, strServiceName.PeekStr(), 0x0004))
    0860 0824 05/07 06:43:39.172 30 utility.cpp(195)   WARNING Failed: Hr: = [0x80070002] : F: lVal : HRESULT_FROM_WIN32(2)
    0860 0824 05/07 06:43:39.172 30 cfgclass.cpp(1104) [00000000001F8020]  NORMAL We got 1  devices for class 0
    0860 0824 05/07 06:43:39.172 30 cfgclass.cpp(176) [0000000000292078]  NORMAL Initializing Device with path \\?\scsi#sequential&ven_hp&prod_ultrium_5-scsi#5&22be343f&0&000200#{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
    0860 0824 05/07 06:43:39.172 30 system.cpp(1183)   WARNING Failed: Hr: = [0x80070002] Failed to initialize IOCTL timeout from registry. Initializing with default timeout [900000 ms].
    0860 0824 05/07 06:43:39.172 30 system.cpp(1168)   WARNING Failed: Hr: = [0x80070002] : F: lVal : r.GetValue(L"LibraryIoctlTimeout", &s_dwIoctlTimeoutInMs)
    0860 0824 05/07 06:43:39.172 30 cfgclass.cpp(1104) [00000000001F8040]  NORMAL We got 0  devices for class 1
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1061) [000000000015F310]  NORMAL Found a device with following details
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1062) [000000000015F310]  NORMAL           Device Name         : \\.\Tape0
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1063) [000000000015F310]  NORMAL           Device Serialnumber : HUE11240C9
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1064) [000000000015F310]  NORMAL           Device Vendor Name  : Hewlett Packard
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1065) [000000000015F310]  NORMAL           Device Product Name : Hewlett Packard LTO Ultrium-5 drive
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1066) [000000000015F310]  NORMAL           FirmWare Revision   : Z5AD
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1068) [000000000015F310]  NORMAL           Device SCSI Props   : (P,B,T,L)2,0,2,0
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1076) [000000000015F310]  NORMAL           Driver Name   : hplto
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1098) [000000000015F310]  NORMAL           Driver Version   : 1.0.6.3
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(975) [000000000015F310]  NORMAL  Rescan Operation completed with hr - 0x0
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1377)   NORMAL Opening handle for device \\.\Tape0
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1390)   NORMAL Open Handle Operation completed with hr - 0x0
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1672) [000000000015F310]  NORMAL Hr: = [0x00000000] Doing Read/Write test
    0860 0824 05/07 06:43:39.172 30 dpmdevicelayer.cpp(1675) [000000000015F310]  NORMAL Hr: = [0x00000000] Doing Load and Lock on drive
    0860 0824 05/07 06:43:45.219 30 system.cpp(505)   NORMAL PrepareTape operation 0 returned 0, failing
    0860 0824 05/07 06:43:45.219 30 system.cpp(505)   NORMAL PrepareTape operation 3 returned 0, failing
    0860 0824 05/07 06:43:45.219 30 dpmdevicelayer.cpp(1682) [000000000015F310]  NORMAL Hr: = [0x00000000] Rewinding Tape
    0860 0824 05/07 06:43:45.219 30 dpmdevicelayer.cpp(1688) [000000000015F310]  NORMAL Hr: = [0x00000000] Make sure Drive supportes 64k blocksize
    0860 0824 05/07 06:43:45.234 30 dpmdevicelayer.cpp(1701) [000000000015F310]  NORMAL Hr: = [0x00000000] Drive supportes 64k blocksize
    0860 0824 05/07 06:43:45.234 30 dpmdevicelayer.cpp(1707) [000000000015F310]  NORMAL Setting blockzie to 64k
    0860 0824 05/07 06:43:45.234 30 dpmdevicelayer.cpp(1723) [000000000015F310]  NORMAL Hr: = [0x00000000] Writting Data onto tape
    0860 0824 05/07 06:43:45.375 30 dpmdevicelayer.cpp(1729) [000000000015F310]  NORMAL Hr: = [0x00000000] Data Written successfully
    0860 0824 05/07 06:43:45.375 30 dpmdevicelayer.cpp(1733) [000000000015F310]  NORMAL Hr: = [0x00000000] Rewinding Tape
    0860 0824 05/07 06:43:51.812 30 dpmdevicelayer.cpp(1742) [000000000015F310]  NORMAL Hr: = [0x00000000] Read and compare data
    0860 0824 05/07 06:43:51.844 30 dpmdevicelayer.cpp(1751) [000000000015F310]  NORMAL Hr: = [0x00000000] Data from tape verified
    0860 0824 05/07 06:43:51.844 30 dpmdevicelayer.cpp(1755) [000000000015F310]  NORMAL Hr: = [0x00000000] Doing Unlock  and Unload tape
    0860 0824 05/07 06:43:51.844 30 system.cpp(505)   NORMAL PrepareTape operation 4 returned 0, failing
    0860 0824 05/07 06:44:17.531 30 system.cpp(505)   NORMAL PrepareTape operation 1 returned 0, failing
    0860 0824 05/07 06:44:17.531 30 system.cpp(505)   NORMAL PrepareTape operation 4 returned 0, failing
    0860 0824 05/07 06:44:22.547 30 system.cpp(505)   NORMAL PrepareTape operation 1 returned 0, failing
    0860 0824 05/07 06:44:22.547 30 dpmdevicelayer.cpp(1776) [000000000015F310]  NORMAL  Read/Write test completed with hr - 0x0
    0860 0824 05/07 06:44:22.547 30 dpmlibrarytesttool.cpp(753)   NORMAL Result: 1 tests completed successfully, 0 failed
    0860 0824 05/07 06:44:22.547 30 dpmlibrarytesttool.cpp(1004)   NORMAL Operation completed successfully....
    0860 0824 05/07 06:44:22.547 30 dpmlibrarytesttool.cpp(1005)   NORMAL VERBOSE INFORMATION FILE:
    0860 0824 05/07 06:44:22.547 30 dpmlibrarytesttool.cpp(1005)   NORMAL C:\DPM\amd64\LibraryTestTool-1-Curr.errlog
    Monday, May 7, 2012 6:56 AM
  • Hi,

    OK - That output looks good, the tool passed all the tests so I don't see this being a tape device problem.  We would need to take a DPM trace and possibly a debug trace for the DPMRA service when this error occurs.   Would be it possible to open a support incident so we can collect those traces. 

    If you want to pursue this immediatly, you can visit the following web site to open a support incident. The charge to your CC or account will not be processed until your case is resolved and closed, if it's a code defect in the DPM 2012 then we wave all charges.

    http://support.microsoft.com/select/Default.aspx?target=assistance

    In the Quick product finder, enter: System Center 2012
      Then select:  System Center 2012 Data Protection Manager

    In the next screen, chose the option that applies.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, May 7, 2012 5:21 PM
    Moderator
  • Hello

    I've the same Problem with a HP Ultrium 3000 external Tape Drive (also Firmware Z5AD). Is this there any solution found?

    Thanks for reply.

    Regards

    Patrick

    Wednesday, May 16, 2012 12:37 PM
  • Hi,

    No. No solution up to now...

    Regards

    Bartek

    Thursday, May 24, 2012 1:14 PM
  • If you want to pursue this immediatly, you can visit the following web site to open a support incident. The charge to your CC or account will not be processed until your case is resolved and closed, if it's a code defect in the DPM 2012 then we wave all charges.

    http://support.microsoft.com/select/Default.aspx?target=assistance

    In the Quick product finder, enter: System Center 2012
      Then select:  System Center 2012 Data Protection Manager


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, May 24, 2012 5:08 PM
    Moderator
  • Hi,

    I solved problem by upgrading VMWare to 5.0.

    It is working fine now.

    Regards

    Bartek

    Tuesday, October 2, 2012 7:25 AM
  • Hi Mike,

    I ran your DPMLibraryTest and it says:

    "Operation Failed....

    Error Code: 0x80999005, Error Message: Specified device is not available. Make sure device is visible in device driver and you are using the  correct drivers."

    despite Device Manager shows both library and HP LTO 5. Additionaly, below output dpmlibrarytest with /LL param:

    "Found 1 Tape Libraries
    Found 0 Standalone Drives
    --------------------- Tape Library Information ----------------
    LIBRARY (Drive bays - 1, Drives - 1)
              Device Name         : \\.\Changer1
              Device Serialnumber : 123456789
              Device Vendor Name  : Exabyte Magnum 224
              Device Product Name : Exabyte
              FirmWare Revision     : C306
              Device SCSI Props   : (P,B,T,L)2,0,2,1

    DRIVE - 0, DRIVE Bay Index - 0
              Device Name         : \\.\Tape2147483646
              Device Serialnumber : 123456789
              Device Vendor Name  : Hewlett Packard LTO Ultrium-5 drive
              Device Product Name : Hewlett Packard
              FirmWare Revision     : Z61U
              Device SCSI Props   : (P,B,T,L)2,0,2,0

    ------------------- End of Tape Library Information -----------

    Operation completed successfully...."

    OS: Windows Server 2012 R2; DPM 2012 R2 ver 4.2.14.17.0

    Any ideas?

    br

    M.


    • Edited by Vid5000 Thursday, May 19, 2016 6:37 AM
    Thursday, May 19, 2016 6:36 AM
  • Hi

    I noticed the Changer# is not zero - did you use command to use Changer1 ?

         DPMLibraryTest.exe /CERTIFY /TL \\.\Changer1 /ST 1 2 4 5


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, May 19, 2016 6:15 PM
    Moderator
  • Yes, I did. Below output

    TEST CONFIGURATION:
    Testing library                           : \\.\Changer1
    Number of drives                          : 1
    Number of slots                           : 22
    Number of I/E ports                       : 1
    Number of media present in library        : 22
    Library supports barcode                  : Yes
    Using Non-Cleaner tape from slot         : 0
    Barcode for the Non-Cleaner tape         : A00003

    Using Cleaner tape from slot             : 1
    Barcode for the Cleaner tape             : 000261
    WARNING: Cleaner tape is not having CLN barcode
    I/E Port to be used for testing           : 0
    Drive to be used for testing              : \\.\Tape2147483646
    Drive bay index of drive to be used        : 0


    RUNNING TEST CASES:
    Running DPM Library Detection Test ...
    Found 1 Tape Libraries
    Found 0 Standalone Drives
    --------------------- Tape Library Information ----------------
    LIBRARY (Drive bays - 1, Drives - 1)
              Device Name         : \\.\Changer1
              Device Serialnumber : 123456789
              Device Vendor Name  : Exabyte Magnum 224
              Device Product Name : Exabyte
              FirmWare Revision     : C306
              Device SCSI Props   : (P,B,T,L)2,0,2,1

    DRIVE - 0, DRIVE Bay Index - 0
              Device Name         : \\.\Tape2147483646
              Device Serialnumber : 123456789
              Device Vendor Name  : Hewlett Packard LTO Ultrium-5 drive
              Device Product Name : Hewlett Packard
              FirmWare Revision     : Z61U
              Device SCSI Props   : (P,B,T,L)2,0,2,0

    ------------------- End of Tape Library Information -----------

    Does the rescan result match you hardware configuration? [Y/N Default(Y)]:y
    DPM Library Detection Test ...
    Succeeded

    Running DPM Mount/Dismount Test ...Succeeded

    Running Inject/Eject Test ...Failed


    Error Code: 0x80999009, Error Message: Check before move operation on destination element failed, destination element is reported as full. Retry mount operation from advanced mode. Please refer to product documentation for the device and contact the vendor for any assistance.

    Running Read/Write Test ...Succeeded

    Result: 3 tests completed successfully, 1 failed

    I've tried to run some backup to tape tasks or tape erase but no success. Tape data erase returns error 0x8007045D (The request could not be perfomed because of an I/O device error).

    Friday, May 20, 2016 5:05 AM
  • Hi,

    The inject/eject test error seems to indicate that there is media already in the IE port.  Please check and if so remove it.

    The IO error is reported by the hardware, but can sometimes be resolved using the section on this blog that talks about the 0x8007045D error.

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, May 20, 2016 3:08 PM
    Moderator