none
Problems with Backups to Tape. RRS feed

  • Question

  • I have been having issues with tape backups for a few weeks, this initially manifested as a SQL Databse error when trying to enable tape backups but after a re-install of DPM that issue went away. I'm now getting several issues when trying a long term tape backup. Originally the backups were just failing with generic errors, then started as a Tape drive needs services error. I've today had an IBM engineer replace the drive but backups are still failing, now with an issue with block size.

    I'm also now seeing 3 tape drives in the tape library, 2 of which are reporting as offline.

    Any assistance is greatly appreciated.

    Thursday, July 23, 2015 5:20 AM

All replies

  • The error with the Block size, will result in the IBM test tool, which is formatting your tape with a wrong Block size.

    Open SCDPm Console, go to your Tape Tab and erase those Tapes.

    for duplicated Tape Libraries, read this Article: https://technet.microsoft.com/en-us/library/jj628095.aspx?f=255&MSPPError=-2147217396


    Michael Seidl

    SYSCTR Senior Consultant, Blogger, CEO

    Blog | Twitter | Facebook | LinkedIn | Xing | Youtube

    Note: Posts are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Thursday, July 23, 2015 6:11 AM
  • Thanks for the information about the duplicate tape drives.

    I've tried to erase the tapes through the DPM console and I get a status of Failed, with no other error or information to help diagnose it.

    Thursday, July 23, 2015 6:19 AM
  • Forgot to say, I'm Using DPM 2010.
    Thursday, July 23, 2015 6:19 AM
  • Hi,

    You can use this utility to erase 3rd party tapes with non 64K block sizes.

    Erasing unsupported tapes & utility automation sample 


    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, July 23, 2015 6:56 PM
    Moderator
  • Thanks, I found that page already via google however the download link is no longer valid.. is there another location I can get the tools from?
    Thursday, July 23, 2015 10:29 PM
  • Hi,

    Sorry about that, you can download the script and tools from here.


    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, July 24, 2015 2:30 PM
    Moderator
  • Thanks I've downloaded that but the tools are not working :( I get a script error when running.

    [27/07/2015 2:38:03 PM] DPMeraseTape V1.2
    [27/07/2015 2:38:14 PM] ======================
    [27/07/2015 2:38:26 PM] MCT:  The system cannot find the file specified. 
    
    [27/07/2015 2:38:42 PM] MCT:  The system cannot find the file specified. 
    [27/07/2015 2:40:07 PM] DPMeraseTape V1.2
    [27/07/2015 2:40:37 PM] ======================
    [27/07/2015 2:40:39 PM] MCT:  The system cannot find the file specified. 
    
    [27/07/2015 2:40:46 PM] MCT:  The system cannot find the file specified. 
    [27/07/2015 2:40:47 PM] TRAP:  You cannot call a method on a null-valued expression.
    You cannot call a method on a null-valued expression.
    At C:\dpm\DPMeraseTape\DPMeraseTape.ps1:227 char:85
    +         [int]$global:firstslot = ( $changerinfo | ? {$_ -match "First Slot Nu
    mber"}).split <<<< (":")[1] 
        + CategoryInfo          : InvalidOperation: (split:String) [], RuntimeExce 
       ption
        + FullyQualifiedErrorId : InvokeMethodOnNull

    Monday, July 27, 2015 4:43 AM
  • Hi,

    You can run the utilities manually to erase the desired tape(s) using the below steps.

    Always Stop DPMLA Service prior to running MCT.EXE Commands.

    C:\> NET STOP DPMLA

    For MCT utility we have the  -m [MOVE] command to move media around inside the library.

    -m [ElemType-T] Transport# [ElemType-Source] S_lot#/D_rive# [ElemType-Destination] S_lot#/D_rive#

    Get / view command syntax for –m (move) command for changer 0

    C:\>mct-x64 0 -m

    Opening changer \\.\Changer0

    MoveMedium : mct -m t N s\d N s\d N   [Where s/d means Slot or Drive and N is ZERO based].

    Some Examples – Transport will always be 0.

    mct-x64 -m t 0 s 0 d 0    (Using transport-0, move media from slot-0  to drive-0)

    mct-x64 -m t 0 d 0 s 0    (Using transport-0, move media from drive-0 to slot-0)

    mct-x64 -m t 0 s 0 s 100  (Using transport-0, move media from slot-0  to slot-100)

    mct-x64 -m t 0 d 0 d 1    (Using transport-0, move media from drive-0 to drive-1)

    In my example, I will move tape from Slot-30 to Drive-0 - remember slots and drives are zero based.

    mct-x64 –m –t 0 s 30 d 0   (move tape from slot 30 to drive 0)  Where slot 30 = DPM Slot 31 in DPM GUI.

    Once you move a tape into a slot, use mytape commands Loadtape, taperewind, locktape, erasetape

    You need the symbolic name for the tape drive you loaded media into - look in the DPM console by clicking the tape drive and look at the details for \\.\tape########.  use that in the following command.

    C:\>Mytape.exe \\.\Tape2147483638

    Status: Getting the handle for \\.\Tape2147483638...Success

    \\.\Tape2147483638>TapeConsole_1.0>loadtape

    Status: Loading the tape...Success

    \\.\Tape2147483638>TapeConsole_1.0>taperewind

    Status: Rewinding Tape ...Success

    \\.\Tape2147483638>TapeConsole_1.0>locktape

    Status: Locking the tape...Success

    \\.\Tape2147483638>TapeConsole_1.0>erasetape s

    Short erase / Long Erase [s/l]:Status: Erasing the tape...Success

    \.\Tape2147483638>TapeConsole_1.0>unlocktape

    tatus: Unlocking the tape...Success

    \\.\Tape2147483638>TapeConsole_1.0>unloadtape

    Status: Unloading the tape...Success

    \\.\Tape2147483638>TapeConsole_1.0>q

    Status: Closing the handle for \\.\Tape2147483638...Success

    c:\>mct-x64.exe -m t 0 d 0 s 30       (move the tape back to slot 30)

    Opening changer \\.\Changer0

    Source is a Drive

    Destination is a Slot

    Move : Transport - 0, Src - 0, Dest – 30


    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, July 27, 2015 6:29 PM
    Moderator