none
Troubleshooting RRS feed

  • Question

  • Hi,

    I am troubleshooting this problem for DPM2010 with HP MSL6060 Tape Library (FC connected):

    Event ID 3311

    The back up to tape job failed for the following reason: (ID: 3311)

    The tape in Tape Library MSL6060 at Drive Hewlett Packard LTO Ultrium-3 drive (HU10729B2Y) has been written to by another tape backup application using an unsupported physical block size. DPM supports a physical block of 65536 bytes for writing and a physical block size ranging from 1024 bytes to 65536 bytes for reading. So DPM will not be able to read or overwrite the contents of this tape. (ID: 24084)

     

    Tapebackups fail if one of these tapes are used.

    One of the suggested solutions was to use DPMeraseTape.ps1

    When I run that script from the DPM Management Shell, I get this result:

    PS E:\SCRIPTS\DPM2010\DPMeraseTape> .\DPMeraseTape.ps1 -slot 0 -libkey "MSL6060"

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): a
    [2-8-2011 15:02:27] DPMeraseTape V1.2

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    [2-8-2011 15:02:28] ======================

    Name             Drives Slots I/E ports Protection groups
    ----             ------ ----- --------- -----------------
    Library: MSL6060      4    58         2 Exchange; SQL; Tape Library Test INOVATIV; Files KA; Exchange 2010

     

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    [2-8-2011 15:02:30] MCT on [MSL6060] reported first slot = 0

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    [2-8-2011 15:02:30] Using \\.\Changer0 = MSL6060

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    [2-8-2011 15:02:31] Slot-0 contains: DX4861L3

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    [2-8-2011 15:02:31] TRAP:  BUG: could not match drive serial

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Output to File" on Target ".\DPMeraseTape.log".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

    At E:\SCRIPTS\DPM2010\DPMeraseTape\DPMeraseTape.ps1:74 char:14
    +               else {Throw <<<<  "BUG: could not match drive serial"}
    PS E:\SCRIPTS\DPM2010\DPMeraseTape>
    PS E:\SCRIPTS\DPM2010\DPMeraseTape>

    The file is from the Skydrive from Ruud Baars. Unfortunately we cannot ask him anymore :-(

    Hope someone can help me with this!

    Regards,

    Hans 


    Senior Consultant and Architect Servers and Storage Solutions Nobel
    Tuesday, August 2, 2011 1:11 PM

Answers

  • Hi,

    Since you downloded the dpmerasetape package, you already have mct.exe and mytape.exe - you can use them to manually erase each tape.

    The utilities are not that user friendly, but here are the basics.

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

      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:

    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)
    mct-x64 -m t 0 s 0 ie 0   (Using transport-0, move media from slot-0  to IEPort 0)

     

    Once you move a tape into a slot, use mytape commands Loadtape, taperewind, locktape, and erase the tape.

    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.

     

    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>erasetape s       (note, is short erase fails, use l for long erase)

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

    \\.\Tape2147483638>TapeConsole_1.0>unloadtape

    Status: Unloading the tape...Success

    \\.\Tape2147483646>TapeConsole_1.0> q

    Then use MCT to move the tape back to a slot and do the next tape.

     


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, August 2, 2011 7:11 PM
    Moderator

All replies

  • Hi,

    Since you downloded the dpmerasetape package, you already have mct.exe and mytape.exe - you can use them to manually erase each tape.

    The utilities are not that user friendly, but here are the basics.

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

      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:

    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)
    mct-x64 -m t 0 s 0 ie 0   (Using transport-0, move media from slot-0  to IEPort 0)

     

    Once you move a tape into a slot, use mytape commands Loadtape, taperewind, locktape, and erase the tape.

    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.

     

    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>erasetape s       (note, is short erase fails, use l for long erase)

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

    \\.\Tape2147483638>TapeConsole_1.0>unloadtape

    Status: Unloading the tape...Success

    \\.\Tape2147483646>TapeConsole_1.0> q

    Then use MCT to move the tape back to a slot and do the next tape.

     


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, August 2, 2011 7:11 PM
    Moderator
  • Thanks Mike!

    Will give this a try when I'm at the customer's site this Friday.

    Hans


    Senior Consultant and Architect Servers and Storage Solutions Nobel
    Wednesday, August 3, 2011 11:34 AM