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 databaseAssigned one might look like
bpmedialist -m PI9138
Server Host = mediaserverid 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
0When 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.
I have suggested 2 weeks ago that you look at available_media command and Tape Summary report.
Have you done that?
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.