Free tape stuck as offsite ready?

I have a tape that’s marked as “offsite ready” despite the fact that I “marked it as free” and subsequently erased it.
It does not show up as belonging to any protection group and a detailed inventory on the tape doesn’t appear to change its status.
It also does not show up in the tape management report as a tape ready for offsite despite being marked as such in the console.
Any help in rectifying this?
Thanks
EDIT: sorry additional info, DPM 2012 R2 UR4.

Sorry to hear about that!
While we work on root causing/fixing that, you could probably try a workaround which might help here.
Since the tape is erased/marked free and not associated with any protection group, you can remove the tape from DPM DB and perform inventory thereafter.
Unfortunately removing tape from DPM DB is not supported in UI. However, you could follow the steps listed down in one of the forum threads to remove the tape from DB. Sharing snapshot of the thread below as pasting links is not working for me:
To remove a tape media from the over due tape report, you can run a SQL script to remove the media from the DPM database.
To run the script, perform the following steps:
1)  Open the DPM console and under the reporting tab, double-click the "tape management" report and select the number of weeks you want a report for (up to 4 weeks).
2)  Once the report opens- go to the page that list Over Due Tapes.
3)  Make a note of the "Tape labels"  for the tapes you want to remove from the DPM database so they will no longer show up on the report.
4) Make a backup of the DPMDB Sql database before proceeding using the following command:
     DPMBACKUP -db (The database will be saved in the C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Database Backups folder.
5) Open SQL Enterprise manager and connect to the Server_name\$MS$DPM2007 instance. (For DPMM 2010 connect to MSDPM2010 instance)
6) Under DATABASES - Highlight the DPMDB entry - then click on "NEW QUERY" button.
7)  Copy / paste the following SQL script into the new query window.
---------- START COPY HERE -------------
-- overdue tapes
-- for clarity, set up the parameter as a variable
declare @paramTapeLabel as nvarchar(256)
set @paramTapeLabel = N'SAMPLE_TAPE_LABEL_NAME'
-- keys
declare @vMediaId as guid
declare @vGlobalMediaId as guid
-- if the delete gives trouble, add keyset after cursor
declare cur_label cursor
 for select MediaId, GlobalMediaId
 from tbl_MM_Media
 where label = @paramTapeLabel;
open cur_label
while (0 = 0)
begin
 fetch next from cur_label into @vMediaId, @vGlobalMediaId
 -- test for being done
 if @@fetch_status <> 0 break;
 print 'Deleting MediaId = ' + cast(@vMediaId as varchar(36))
 -- do a set of deletes atomically
 begin transaction;
 delete from tbl_MM_TapeArchiveMedia
  where MediaId = @vMediaId;
 delete from tbl_MM_MediaMap
  where MediaId = @vMediaId;
 delete from tbl_MM_ArchiveMedia
  where MediaId = @vMediaId;
 delete from tbl_MM_Global_ArchiveMedia
  where MediaId = @vGlobalMediaId;
 delete from tbl_MM_Global_Media
  where MediaId = @vGlobalMediaId;
 delete from tbl_MM_Media
  where current of cur_label;
 commit transaction;
end
close cur_label
deallocate cur_label
-------------- END COPY HERE ----------------------
8)  replace the tape label name parameter in the script with the name of the tape label from the over due tape report that you want to delete.
        set @paramTapeLabel = N'SAMPLE_TAPE_LABEL_NAME'      <--- replace tape label between the single quotes ' '
9) Execute the SQL script.
10)  Repeat steps 8. and 9. for each tape label that you want to delete.
Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
I am not sure if this would work and hence do remember to backup your DB before trying out database operations
Thanks
Samir

Similar Messages

  • Tape marked as offsite ready due to a single protection group left behind on tape

    Hi,
    we're using DPM2012, we have it on two nodes, the first backs up to disk and then offsite to the second server which goes to disk + tape.
    In general tape colocation works however I have a slight issue;
    At the moment we are running close to the number of tapes we actually need to backup the volume of data we back up, this means that every day I mark tapes as free using the force free tape script available on the web... This works but occasionally I notice
    that the script will not quite finish - DPM will take the tape before it completes and start using it as a free tape i.e. immediately starts putting data on the tape.  Normally this is okay but it occasionally leaves a single bit of data on the tape..
    the backup will continue and perhaps write 100 GB for example, then all of a sudden that tape is marked as 'offsite ready' when there is clearly lots of free space on the tape.
    So today for example I have about 10 different PG's on a tape, all with todays date as the backup date, expiry is plus 2 weeks. But then there is a single PG on there with a date of about 2 weeks ago which I'm assuming is what has made the tape offsite ready.
    I don't really want to have to stop active backups from running to be able to mark a tape as free as a fix - anyone know of a way around this?
    My second question - relating to co location again - if a backup of a PG needs to span a second tape - can it only do so on a free tape?  some of our larger backups will sit and refuse to write to a tape which might (by estimation) have 500 GB free
    space left on it.
    Thanks
    Chris

    Hi,
    <snip>
    so I might have a tape with 500 GB free space on it sat waiting there, and the job won't utilize this tape.
    >snip<
    Apples and Oranges - When DPM needs a new tape for spanning purposes, it always requires a free or expired tape. 
    When a new backup job starts, DPM looks at all media In the library and determines what tape to write the new data set on.  This is based on the settings of
    the PGSet and either picks an existing tape that is still available for writing or it picks a free or expired tape.
    So, in the case where a tape is only half used, review what data sets are already written (right-click, view tape contents) and the review the Write Period and Expiry Tolerance values for the protect group set used by the protection groups configured to
    that that PGSet.. 
    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.

  • Some free tapes are not used by backup job - dpm 2012 r2

    Hi,
    I have DPM 2012 R2 with IBM TotalStorage 3572 tape library. It is 8 slot tape library. All was working with initial 8 tapes I added to tape library. I had one Protection group to be archived on 8 tapes. I was doing Daily and weekly backups. Every 2nd week
    I would do a weekly backup and keep it for 2 weeks i.e. I need 2 tapes for weekly backups. All was working ok until I introduced two new weekly tapes as a replacement for 2 weekly tapes in library. Because of disaster recovery procedure - I have to take
    weekly tapes out of library and store them in disaster recovery location for some time. So I pulled out 2 weekly tapes and added 2 new tapes. New tapes were marked free and they are showing as Free tapes.
    Now - the trouble is that these 2 free tapes are not used by backup job and instead - backup job writes weekly backup on any of the available Daily tapes (like from 4-5 days ago) instead of using one of the Free tapes that are available.
    I'd like the backup job (Protection group) to use Free tapes first and only if there are no available free tapes - to go and do backup on Daily tape or ask for a free tape.
    I am probably doing something wrong here - so I would really appriciate if anyone can help me with this? Any ideas?
    Thanks,
    Damir.
    D.

    Hi,
    What update rollup are you running on the DPM 2012 R2 server ?  DPM 2012 R2 UR5 introduced a new refresh feature that will re-enumerate data sources on an individual protected server.
    Check for VSS errors inside the guests that are having problems being backed up.
    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.

  • Reign-Pro free tape saturation plug-in

    Try this new company's free tape saturation plug. It's good, especially bass and kick. They are making some nice tape emulation based on impulse responses. The plugins sound better than ColorTone, the other major IR based emulation. I did an A/B on them and Reign-Pro just sounds better. I've bought their ProPack and their Big Hurk. Here's the link:
    http://www.reign-pro.com
    Big Hurk is my favorite and probably the biggest bang for the buck if you're looking for a tape-like thickening. They've got demos. This is NOT like Massey's tapehead. It doesn't distort or splatter in a pleasant way like overdriven tape. What Reign is doing that I haven't heard anybody else do (Airwindows, DUY, Virsyn, Tritone Digital, etc) is create the tape-like "presence" for lack of a better word. I think all their plugs default to 64-bit internal processing, but you should check by clicking on the "controls" view in the plugin itself where you can select 32 or 64 bit modes. They sound really good in 64 bit mode.
    Message was edited by: MarsBot to add link

    no leopard support for the tape plugin....

  • I downloaded a free tap zoo game from itunes but they charged me $109 who do i contact?

    i dowloaded a free tap zoo game on itunes but they ended up charging me $109,who do i cantact about this issue.the telephone number keeps directing me to the website.

    You can contact the iTunes Store Customer Service department using the form on their Support page (select the category and subcategory closest to the issue you're reporting and you'll find either an "Express Lane" button - just follow the instructions to get to the contact form - or an "Email Us" button)  and explain your situation to them.
    BTW, this forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. Normally you want to ask your questions in the general iTunes forums.
    Regards.

  • Hp Storage Works DAT 160 USB: Tape stuck!

    Hello,
    I have an Hp tape drive with a tape stuck inside, that can't be ejected!
    It has been stuck there for quite a while now, and all my back up jobs are failing because of it.
    I really need your help.
    Thank you in advance.

    This is the Consumer level forums.
    You may also want to post your question in the Enterprise/Business forums.
    http://h30499.www3.hp.com/
    Tape questions here:
    http://h30499.www3.hp.com/t5/Tape/ct-p/storage_tape

  • DPM2012 R2 - cannot free tapes for deleted protection group

    I've deleted one of the protection group with option to delete protected data.
    But tapes are still not set as free - and I cannot do it manually - I have constant message that tape is a part of protection group.
    I cannot set them also as free by using a script (http://technet.microsoft.com/en-us/library/ff399673.aspx) - the same message is shown :
    Set-Tape : The selected tapes cannot be marked as free because they belong to p
    rotection groups.
    You need to stop protection of the associated protection groups before you can
    mark the tapes as free. The protection group that a tape belongs to is listed i
    n the Protection Group column. (ID: 31116)
    JD

    Hi,
    very fine script - but's not working for me - after selecting slot - nothing happens with is - still not set free
    Force Free Tape Version  2,4
    Type ? for help
    DPM Server name ( Enter = <...> ):
    Library Name (Only online Libraries will be listed)
    1 - IBM TotalStorage 3573 Tape Library
    Enter Slot number(s). If entering more than one, separate them by single space
    Example (1 5). (Enter to exit): 5
    Processing this slot list...
    Slot-5
    PS C:\Users\....\Desktop>
    JD

  • Youview stuck at nearly ready

    Had my humax dt1000 about 10 months and now it just refuses to get past the nearly ready screen, have tried all the maintenance things from software update to full factory reset but says the latter cannot be performed, the last time I got past nearly ready there were no channels did the scan and stuck at 99%.is the box (hdd) broken ?

    Hi Mattbbarratt,
    Thanks for posting and welcome to the forum, please use the 'contact the mods' link in my forum profile to send in your details and we'll be happy to help you get this sorted. You can find the link by clicking on my username.
    Cheers
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Why are messages not dequeuing and stuck in the ready state?

    Messages are successfully enqueueing but not dequeuing and are stuck in ready state (STATE = 0).  The ENQ_TIME is 5 hours ahead of system time.  In one environment, AQ is working (10g 10.2.0.4.0).  In the other environment, it is not working (11g 11.2.0.3.0).
    I just did the following:
    1. Purged queue table
    2. Stopped queues
    3. Dropped queues
    4. Dropped queue table
    5. Created queue table
    6. Created queues
    7. Started queues
    I tested once and a record was inserted in the queue table:
    MSGID      <msgid>
    CORRID     
    PRIORITY      1
    STATE      0
    DELAY     
    EXPIRATION     
    TIME_MANAGER_INFO     
    LOCAL_ORDER_NO      0
    CHAIN_NO      0
    CSCN      0
    DSCN      0
    ENQ_TIME      12/23/2014 4:33:43.338902 PM
    ENQ_UID      <enq_uid>
    ENQ_TID      <enq_tid>
    DEQ_TIME     
    DEQ_UID     
    DEQ_TID     
    RETRY_COUNT      0
    EXCEPTION_QSCHEMA     
    EXCEPTION_QUEUE     
    STEP_NO      0
    RECIPIENT_KEY      0
    DEQUEUE_MSGID     
    SENDER_NAME     
    SENDER_ADDRESS     
    SENDER_PROTOCOL     
    USER_DATA      <user_data>
    USER_PROP     
    Notice the RETRY_COUNT is 0.  The ENQ_TIME is 5 hours ahead.  In the procedures to enqueue and dequeue, there are no errors.
    Following is the plsql to enqueue:
    CREATE OR REPLACE PACKAGE BODY
    pkg_2
    AS
        FUNCTION queue_create_thing ( <parameters> )
            RETURN NUMBER
        IS
            enqueue_options     dbms_aq.enqueue_options_t;
            message_properties  dbms_aq.message_properties_t;
            message_handle      RAW(16);
            v_message           msg_type;
            v_thing_id          things.id%TYPE;
        BEGIN
            v_message := msg_type( <parameters> );
            dbms_aq.enqueue(queue_name => '<queue name>',
                            enqueue_options => enqueue_options,
                            message_properties => message_properties,
                            payload => v_message,
                            msgid => message_handle);
            RETURN v_thing_id;
        EXCEPTION
            WHEN OTHERS
            THEN
               errpkg.record_and_stop (SQLCODE);
        END queue_create_thing;
        PROCEDURE queue_delete_thing( <parameters> )
        IS
            enqueue_options     dbms_aq.enqueue_options_t;
            message_properties  dbms_aq.message_properties_t;
            message_handle      RAW(16);
            v_message           msg_type;
        BEGIN
            v_message := msg_type( <parameters> );
            dbms_aq.enqueue(queue_name => '<queue name>',
                            enqueue_options => enqueue_options,
                            message_properties => message_properties,
                            payload => v_message,
                            msgid => message_handle);
        END;
    END pkg_2;
    Following is the code to dequeue:
    CREATE OR REPLACE PACKAGE BODY
    pkg_1
    AS 
        PROCEDURE create_thing ( context IN RAW,
                                    reginfo IN sys.aq$_reg_info,
                                    descr IN sys.aq$_descriptor,
                                    payload IN RAW,
                                    payloadl IN NUMBER )
        IS 
            dequeue_options dbms_aq.dequeue_options_t;
            message_properties dbms_aq.message_properties_t;
            message_handle RAW(16);
            message msg_type;
        BEGIN
            dequeue_options.msgid := descr.msg_id;
            dequeue_options.consumer_name := descr.consumer_name;
            DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
                            dequeue_options => dequeue_options,
                            message_properties => message_properties,
                            payload => message,
                            msgid => message_handle);
            pkg_2.create_thing( p_thing_id => message.thing_id );
            UPDATE table t
               SET creation_complete = 1
             WHERE id = message.thing_id;
            COMMIT;
        EXCEPTION
            WHEN OTHERS
            THEN
                ROLLBACK;
                plog.error(SQLERRM);
                plog.full_call_stack;
        END create_thing;
        PROCEDURE delete_thing ( context IN RAW,
                                    reginfo IN sys.aq$_reg_info,
                                    descr IN sys.aq$_descriptor,
                                    payload IN RAW,
                                    payloadl IN NUMBER )
        IS 
            dequeue_options dbms_aq.dequeue_options_t;
            message_properties dbms_aq.message_properties_t;
            message_handle RAW(16);
            message msg_type;
        BEGIN
            dequeue_options.msgid := descr.msg_id;
            dequeue_options.consumer_name := descr.consumer_name;
            DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
                            dequeue_options => dequeue_options,
                            message_properties => message_properties,
                            payload => message,
                            msgid => message_handle);
            pkg_2.delete_thing( p_thing_id => message.thing_id );
            COMMIT;
        EXCEPTION
            WHEN OTHERS
            THEN
                ROLLBACK;
                plog.error(SQLERRM);
                plog.full_call_stack;
        END delete_thing;   
    END pkg_1;

    Following is the code to create the queue:
    BEGIN
      SYS.DBMS_AQADM.STOP_QUEUE ( QUEUE_NAME => '<queue name>');
      SYS.DBMS_AQADM.DROP_QUEUE ( QUEUE_NAME => '<queue name>');
    END;
    BEGIN
      SYS.DBMS_AQADM.CREATE_QUEUE
        QUEUE_NAME          =>   '<queue name>'
       ,QUEUE_TABLE         =>   '<queue table>'
       ,QUEUE_TYPE          =>   SYS.DBMS_AQADM.NORMAL_QUEUE
       ,MAX_RETRIES         =>   5
       ,RETRY_DELAY         =>   0
       ,RETENTION_TIME      =>   0
       ,COMMENT             =>   'Queue for processing creation of things'
    END;
    BEGIN
      SYS.DBMS_AQADM.START_QUEUE
        QUEUE_NAME => '<queue name>'
       ,ENQUEUE => TRUE
       ,DEQUEUE => TRUE
    END;

  • TS4272 erase free space stuck on creating temporary file

    I upgraded to 10.7.4 and followed instructions in http://support.apple.com/kb/TS4272
    At step 9 Disk Utility is stuck on 'creating temporary file' for the last 24 hours. I have canceled and tried more than once.

    This may be a problem with Disk Utility on your boot drive. Try rebooting to the Recovery HD and using Disk Utility on that partition (it should appear in the OS X Tools menu). You might also try running a disk verification and repair to ensure the filesystem and partition structure are intact.
    Alternatively you can also bypass the disk utility application by using the Terminal to erase free space, which can be done with the following command:
    sudo diskutil secureErase freespace 0 disk0s2
    Note that while the device "disk0s2" is commonly the boot drive for systems with a single hard drive, this may be different for you system. Check the device by opening Disk Utility and getting information on your boot volume, and you should see the proper device name listed as "device identifier."

  • Simlock free iphone stuck in recovery mode

    i tried to update the iphone with new 3.1.2 update and the phone just went in recovery mode,hardreset (pushing home and sleep button) just gives "connect to itunes" screen logo,when in itunes i try to do a restore it unpacks new update starts install and then i get "unknown error 2005"
    This is a simlock free belgium iphone 3G and i am a belgium "Base" carrier client.
    Found nothing on iphone support pages about this error.
    I have a backup of the iphone.
    How can i do a factory restore without using the latest firmware?cause i think thats what is causing the problem (latest3.1.2update) it was about 245 MB big and took about 20 minutes too download where other updates came in very fast.
    What to do ?

    I updated my iphone today and received the same message. When I reconnected to iTunes, neither my phone nor iTunes would recognize they were connnected. I went to a local AT&T provided that reset my phone to factory settings, had to reconfigure visual voicemail, etc. my phone is a blank slate. I was told to go home, connect to iTunes and the previously synced information would load to my iphone. I have since connected my phone that was working to my PC, it will not recognize. I followed troubleshooting so a PC will recognize and iTunes would recognize and turned my phone off, then on again. My re-set phone has now been stuck with the Apple logo for 15 minutes, no buttons will power it down. It is frozen in restart and I think I can do nothing but schedule any appointment with an Apple Expert.

  • UCCX agent stuck in Not Ready status

    Hi             There
    We are using uccx 7 and 1 agent's status stuck in the "Not Ready".
    We can not see his account in the supervisor but in the "Resource Cisco Unified Contact Center Express Stats" I can see his status is in Not Ready for more than 44 hours.
    Is there any way we can clear the session?
    Thank you in advance.

    Do you think there is an agent logged in and Not Ready, or do you think it's a hung session?
    If you think it's a real login, reboot the PC.
    If you think it's a hung session then you'll have to restart a service of two. I would just plan for a maintenance window and reboot the server along with your CUCM CTI Manager.
    Good luck and happy troubleshooting!
    Sent from Cisco Technical Support iPhone App

  • Installer for free photoshop stuck?

    Downloaded Adobe Assistant & it's stuck for 2nd time.  Have uninstalled 1st attempt? Any ideas?

    See the following:
    Troubleshoot Adobe Download Assistant
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html

  • Tape List missing necessary tape

    I have two separate protection groups - System State Protection Group and Default Protection Group.
    We rotate between 3 separate drives - Firestreamer is used to emulate tape.
    Disk 2 and 3 are currently in the library, but Disk 3 isn't assigned to the protection group "Default Protection Group", it is only assigned System State Protection. 
    Naturally - long term backup jobs failed and DPM is asking me to add a free tape - I can't mark Disk 3 as free because it is assigned to "System State Protection Group"
    My question is - how would I go about assigning Disk 3 to both System State Protection and Default Protection Group? 

    I'm sorry - I misread what you said in your excel sheet. 
    Both tapes are showing "Offsite Ready" and is calling for a free tape. However the tape I'm wanting to use (Disk3) should be available as it hasn't backed up "Default Protection Group"
    After re-reading the blog I found some insight into the issue I'm facing:
    When a tape is marked offsite ready, no additional data sets will be written to that tape until ALL recovery
    points expire. [The existing data on the tape I'm using, thought from a different Protection Group, doesn't expire until 11/8]
    Once a tape is marked as expired, DPM will show the tape as expired in the DPM console and can overwrite the tape during subsequent backups. DPM will always favor a free tape over an expired tape when it searches for a tape to use if a new tape is
    required. 
    So that answers my question of "Why is this happening" now I have to move to "What do I have to do to fix it?" As it stands right now - "Default Protection Group" will not get backed up all week until 11/8/14 @ 11:00PM. [This
    is a weekly run job]
    If "Default Protection Group" were to not get backed up this week, and resume backing up @ it's scheduled time I'm guessing that this will put it back on track, since right now the tape I'm wanting to use "Disk3" already has data written
    to it from a different PG. 
    I apologize about the n00bish questions and confusion here - I did not have this job when this was setup and all people involved in setting this up are no longer here and not able to be contacted :|. I'm learning
    as I'm going. 

  • Failed Tape Library (now replaced with alternate) - Tapes inside still included in tape report as Ready for Offsite

    Our tape library failed and we ended up replacing the library without it ever coming back online. We removed the tapes still loaded inside it when it failed and sent the tapes offsite.
    In order to clear the failed tape library from DPM Management, we removed all disk based replicas that were copied to the failed tape library and updated the Protection Groups to reference the new library. There is no longer any reference to the failed tape
    library in the DPM Management window.
    However, our tape report still shows the tapes in the failed library as Ready for Offsite.
    I am recalling the tapes that were in the old library to load them into the new library in the hope that DPM will see the tapes are now present in a different library and clear the Ready for Offsite from the report when I remove them.
    Is this correct or do I need to do something nitty gritty?

    Hi,
    That should work - once the tapes are loaded in the new library and an inventory is completed, then DPM should recognize them as the original tapes and show them offsite ready. Now when you remove them from the new library, the tapes should no longer show
    on the tape report.
    NOTE: You may need to wait until summary manager job runs at midnight before the tape report is updated.
    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.

Maybe you are looking for