cancel
Showing results for 
Search instead for 
Did you mean: 

expired tape

Tabriz
Level 5

Hi Dear,

How can l know which tape is expired?

is there such a command?

 

Thanks

Best regards

Tabriz

4 ACCEPTED SOLUTIONS

Accepted Solutions

quebek
Moderator
Moderator
   VIP    Certified

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

View solution in original post

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@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.

View solution in original post

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Tabriz 

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

Have you done that?

View solution in original post

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Tabriz 

Good to know.

I mentioned Frozen tapes because of this query: https://vox.veritas.com/t5/NetBackup/the-frozen-tapes-and-the-fulled-tapes/m-p/886525

So, with available_media output, you know which tapes have expired and are available,
and with bpmedialist output you know when tapes will expire.

View solution in original post

8 REPLIES 8

quebek
Moderator
Moderator
   VIP    Certified

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
Moderator
Moderator
Partner    VIP    Accredited Certified

@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 @quebek 

Thanks for the responses .

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Tabriz 

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

Have you done that?

@Marianne 

Yes l looked at the command avaliable_media bpmedialist bpmedialist -summary -verbose

 

there was not any frozen tape

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Tabriz 

Good to know.

I mentioned Frozen tapes because of this query: https://vox.veritas.com/t5/NetBackup/the-frozen-tapes-and-the-fulled-tapes/m-p/886525

So, with available_media output, you know which tapes have expired and are available,
and with bpmedialist output you know when tapes will expire.

@Marianne 

Thanks