Forum Discussion

Tabriz's avatar
Tabriz
Level 5
4 years ago

expired tape

Hi Dear,

How can l know which tape is expired?

is there such a command?

 

Thanks

Best regards

Tabriz

  • Hi

    If you have scratch pool configured such tape should return there. To check this out run this

    nbemmcmd -listsettings -machinename masterservername

    and search for RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL=

    It can be yes or no...

    If you dont have this you can run bpmedialist -m mediaID

    if it will be expired - unassigned it will tell you, ie

    bpmedialist -m ID5799
    requested media id is not assigned to this host in the EMM database

    Assigned one might look like

    bpmedialist -m PI9138
    Server Host = mediaserver

    id rl images allocated last updated density kbytes restores
    vimages expiration last read <------- STATUS ------->
    On Hold
    --------------------------------------------------------------------------------
    PI9138 8 87 03/01/2013 11:00 03/02/2013 00:40 hcart 1147647292 0
    MPX 01/21/2025 00:00 N/A FULL
    0

  • Tabriz 

    When all images on a tape have expired, all records are removed from Images and MediaDB and 'de-assigned'.
    The Expiration date is no longer visible in any report or GUI.
    The only place where you can look is the Media section of the GUI for tapes with blank 'Assign Time'. (These are new or expired tapes.)
    You can also run 'available_media' script (in goodies folder on the master) to look for 'AVAILABLE' media.

    Best to keep an eye on expiration dates by running 'Tape Summary' Report (with Verbose option selected) on a regular basis.

  • Tabriz 

    I have suggested 2 weeks ago that you look at available_media command and Tape Summary report.

    Have you done that?

  • Hi

    If you have scratch pool configured such tape should return there. To check this out run this

    nbemmcmd -listsettings -machinename masterservername

    and search for RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL=

    It can be yes or no...

    If you dont have this you can run bpmedialist -m mediaID

    if it will be expired - unassigned it will tell you, ie

    bpmedialist -m ID5799
    requested media id is not assigned to this host in the EMM database

    Assigned one might look like

    bpmedialist -m PI9138
    Server Host = mediaserver

    id rl images allocated last updated density kbytes restores
    vimages expiration last read <------- STATUS ------->
    On Hold
    --------------------------------------------------------------------------------
    PI9138 8 87 03/01/2013 11:00 03/02/2013 00:40 hcart 1147647292 0
    MPX 01/21/2025 00:00 N/A FULL
    0

      • Marianne's avatar
        Marianne
        Level 6

        Tabriz 

        I have suggested 2 weeks ago that you look at available_media command and Tape Summary report.

        Have you done that?

  • Tabriz 

    When all images on a tape have expired, all records are removed from Images and MediaDB and 'de-assigned'.
    The Expiration date is no longer visible in any report or GUI.
    The only place where you can look is the Media section of the GUI for tapes with blank 'Assign Time'. (These are new or expired tapes.)
    You can also run 'available_media' script (in goodies folder on the master) to look for 'AVAILABLE' media.

    Best to keep an eye on expiration dates by running 'Tape Summary' Report (with Verbose option selected) on a regular basis.

    • Marianne's avatar
      Marianne
      Level 6

      The only exception to the rule is Frozen tapes.

      They are kept in the MediaDB, and not deassigned, even when all images have expired.

      Best to troubleshoot the reason why tapes are getting Frozen (there are many tech articles and forum posts about that topic).
      Once you know the reason, you will know if tapes need to be destroyed or if it's safe to unfreeze.