Forum Discussion

Anton_Panyushki's avatar
16 years ago

A tape stays in EXPIRED state and can't be deassigned

Hello,

A jot on my Netbackup environmtnt: 6.0MP6 on Solaris 9
I've got one peculiar media that is in EXPIRED state

 # bpmedialist -m  100538
Server Host = mediasrv.vimpelcom.ru

 id     rl  images   allocated        last updated      density  kbytes restores
           vimages   expiration       last read         <------- STATUS ------->
--------------------------------------------------------------------------------
100538   3    259   12/07/2008 20:46  12/09/2008 21:21  hcart2   541769410     0
              MPX   01/09/2009 21:21  12/09/2008 15:04    EXPIRED

 vmquery -m  100538
================================================================================
media ID:              100538
media type:            1/2" cartridge tape 2 (14)
barcode:               100538L2
media description:     Added by Media Manager
volume pool:           NetBackup (1)
robot type:            TLD - Tape Library DLT (8)
robot number:          0
robot slot:            313
robot control host:    bserv3
volume group:          00_000_TLD
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---
vault session id:      ---
vault container id:    -
created:               Fri Dec 28 16:17:12 2007
assigned:              Sun Dec 07 20:46:59 2008
last mounted:          Tue Dec 09 18:01:45 2008
first mount:           Sun Dec 30 23:39:54 2007
expiration date:       ---
number of mounts:      213
max mounts allowed:    ---
status:                0x0
===============================================================================

From the point of view of EMM this media looks pretty good
 # nbemmcmd -listmedia -mediaid 100538
NBEMMCMD, Version:6.0MP6(20060530)
====================================================================
Media GUID:                     2fb11ff0-4d10-11dd-8000-a1a13ab1be9a
Media ID:                       100538
Partner:                        -
Media Type:                     HCART2
Volume Group:                   00_000_TLD
Application:                    Netbackup
Media Flags:                    1
Description:                    Added by Media Manager
Barcode:                        100538L2
Partner Barcode:                --------
Media Server:                   uxmediasrv2.vimpelcom.ru
Created:                        12/28/2007 16:17
Time Assigned:                  12/07/2008 20:46
First Mount:                    12/30/2007 23:39
Last Mount:                     12/09/2008 18:01
Volume Expiration:              -
Data Expiration:                01/09/2009 21:21
Last Written:                   12/09/2008 21:21
Last Read:                      12/09/2008 15:04
Robot Type:                     TLD
Robot Control Host:             bserv3
Robot Number:                   0
Slot:                           313
Side/Face:                      -
Cleanings Remaining:            -
Number of Mounts:               213
Maximum Mounts Allowed:         0
Media Status:                   MPX
Kilobytes:                      541769410
Images:                         259
Valid Images:                   259
Retention Period:               3
Number of Restores:             0
Optical Header Size Bytes:      1024
Optical Sector Size Bytes:      0
Optical Partition Size Bytes:   0
Last Header Offset:             2117090
Adamm Guid:                     00000000-0000-0000-0000-000000000000
Rsm Guid:                       00000000-0000-0000-0000-000000000000
Origin Host:                    bserv4
Upgrade Conflicts Flag:
Pool Number:                    1
Volume Pool:                    NetBackup
Previous Pool Name:             SCRATCH
Vault Flags:                    -
Vault Container:                -
Vault Name:                     -
Vault Slot:                     -
Session ID:                     -
Date Vaulted:                   -
Return Date:                    -
==================================================================


The problem is that every time bpexpdate -deassignempty faces this media it fails to deassign it. So there are perpetual error about deassign failure for this tape in NetBackup Media Logs  Report.

What should I do to that tape to have it deassigned.
 

  • Can you physically verify its location? Is it stuck in a tapedrive with a broken leader?
  • Can you paste the error message please from the logs and from the command.
    Its pretty strange after looking at the bpmedlaist o/p. There are valid images and the status of media  is showing EXPIRED.

    Can you try to check the content in catalog(GUI) to see if it displays any thing. An I think this is a offline cold catalog backup tape ? correct me if I am wrong.


  • Try this command

    bpexpdate -d 0 -ev MEDIAID

    resgards

  • It says 

     bpexpdate -d 0 -m 100538 -host mediasrv.vimpelcom.ru -force
    requested media id is in use, cannot process request

    :(
  • Can you physically verify its location? Is it stuck in a tapedrive with a broken leader?