Forum Discussion

  • Yes. available_media bpmedialist bpmedialist -summary -verbose
  • yes available_media located in <install_path>\veritas\netbackup\bin\goodies  will shows ALL tapes, even if not assigned.

    and bpmedialist located in <install_path>\veritas\netbackup\bin\admincmd will show tapes assigned

     

     

    C:\Program Files\Veritas\NetBackup\bin\admincmd>bpmedialist
    Server Host = nbmaster13.virtual.lab

     id     rl  images   allocated        last updated      density  kbytes restores

               vimages   expiration       last read         <------- STATUS ------->

               On Hold
    --------------------------------------------------------------------------------

    3001L4   2      1   02/19/2015 05:44  02/19/2015 05:44   hcart           8     0

                    1   03/12/2015 06:44        N/A
               0

    3002L4   1      3   02/19/2015 07:47  02/19/2015 07:48   hcart      288255     0

                    3   03/05/2015 07:48        N/A         FROZEN
               0

     

     

    C:\Program Files\Veritas\NetBackup\bin\goodies>available_media
    media   media   robot   robot   robot   side/   ret    size     status
     ID     type    type      #     slot    face    level  KBytes
    ----------------------------------------------------------------------------
    CatalogBackup pool


    DataStore pool


    NetBackup pool

    3001L4  HCART    TLD      0       1      -       2     8        ACTIVE
    3003L4  HCART    TLD      0       3      -       -     -        AVAILABLE
    3004L4  HCART    TLD      0       4      -       -     -        AVAILABLE
    3005L4  HCART    TLD      0       5      -       -     -        AVAILABLE
    3006L4  HCART    TLD      0       6      -       -     -        AVAILABLE
    3007L4  HCART    TLD      0       7      -       -     -        AVAILABLE
    3008L4  HCART    TLD      0       8      -       -     -        AVAILABLE
    3009L4  HCART    TLD      0       9      -       -     -        AVAILABLE
    3010L4  HCART    TLD      0       10     -       -     -        AVAILABLE
    3011L4  HCART    TLD      0       11     -       -     -        AVAILABLE
    3012L4  HCART    TLD      0       12     -       -     -        AVAILABLE
    3013L4  HCART    TLD      0       13     -       -     -        AVAILABLE
    3014L4  HCART    TLD      0       14     -       -     -        AVAILABLE
    3015L4  HCART    TLD      0       15     -       -     -        AVAILABLE
    3016L4  HCART    TLD      0       16     -       -     -        AVAILABLE
    3017L4  HCART    TLD      0       17     -       -     -        AVAILABLE
    3018L4  HCART    TLD      0       18     -       -     -        AVAILABLE
    3019L4  HCART    TLD      0       19     -       -     -        AVAILABLE
    3020L4  HCART    TLD      0       20     -       -     -        AVAILABLE
    N301L4  HCART    TLD      0       22     -       -     -        AVAILABLE
    N302L4  HCART    TLD      0       23     -       -     -        AVAILABLE
    3002L4  HCART    TLD      0       2      -       1     288255   FROZEN  

    None pool

     

     

    Will also show SUSPENDED tapes too

  • FROZEN tapes will not get deassigned when images expire.

     # bpmedialist
    Server Host = appmaster
    
     id     rl  images   allocated        last updated      density  kbytes restores
               vimages   expiration       last read         <------- STATUS ------->
               On Hold
    --------------------------------------------------------------------------------
    000040   0      2   02/18/2015 13:15  02/18/2015 13:15  hcart3    77827032     0
                    2   02/25/2015 11:57        N/A
               0
    
    000045   1      0   08/12/2014 13:36        N/A         hcart3           0     0
                    0         N/A               N/A         FROZEN
               0
    
    000049   0      2   02/18/2015 13:20  02/18/2015 13:20  hcart3    16768485     0
                    2   02/25/2015 11:57        N/A

     

    Here media id 000045 has no images (everything expired long ago), but remains assigned because of FROZEN state.

    # nbemmcmd -listmedia -mediaid 000045
    NBEMMCMD, Version: 7.6.0.4
    ====================================================================
    Media GUID:                     42da5abe-2221-11e4-8000-c1c83687ac2c
    Media ID:                       000045
    ...
    Barcode:                        000045L3
    Partner Barcode:                --------
    Last Write Host:                appmaster
    Created:                        08/12/2014 11:04
    Time Assigned:                  08/12/2014 13:36
    First Mount:                    08/12/2014 13:37
    Last Mount:                     08/12/2014 13:37
    Volume Expiration:              -
    Data Expiration:                -
    Last Written:                   -
    Last Read:                      -
    ...
    Media Status:                   FROZEN
    Kilobytes:                      0
    Images:                         0
    Valid Images:                   0
    ...
    Volume Pool:                    APP_Live
    Previous Pool Name:             APP_Scratch

     

    • ChrysHandy1's avatar
      ChrysHandy1
      Level 0

      I have the same issue where all of the images on a frozen tape have expired. I now have a frozen tape that says it's still assigned but with no valid images on it. So how do I unfreeze the tape?

       

      • sdo's avatar
        sdo
        Moderator

        It is simply not possible for images to expire from frozen media.  Something else must have happened.  Maybe the media was once written to just fine, and had images, and they expired naturally, and then NetBackup attempted to re-use the tape, and then found that the media is bad, and so froze the tape - something like that, or something else, who knows... anyway, NetBackup itself never expires images from frozen media, this is a fundamental characteristic of NetBackup - and so, like I said, some other set of circumstances or actions must have taken place.

        How to unfreeze media is documented here:

        https://www.veritas.com/content/support/en_US/doc/15263389-133604923-0/v14663587-133604923