bpmedialist command
Created: 04 Jan 2013 | Updated: 13 Feb 2013 | 5 comments
This issue has been solved. See solution.
Hello,
I am trying to use bpmedialist within a script to find tapes to label with bplabel.
I am using "bpmedialist -mlist -l". It shows me the tapes of interest but only when they are not expired.
What I need is a list of media with 0 unexpired images that have been previously used at least once.
Can anyone offer a solution?
Thanks in advance!
Discussion Filed Under:
Comments 5 Comments • Jump to latest comment
Hi,
Check this thread
https://www-secure.symantec.com/connect/forums/backup-tapes-not-expired-automaticaly
Thanks In Advance
Ashish Sharma
SEPM Knowledgebase Documents
The easiest way, without using the command line is to go to the Admin Console - Media and Device management section and select the Media Section
At this top level is shows all tapes which you can sort by time assigned
Anything that does not have a time assigned has no valid images on it
If you also confirm that the number of mounts is above zero you know if has been used
In the Windows Admin Console you can highlight them all, Ctl-C and then paste your list straight into excel
Hope this helps
Authorised Symantec Consultant
Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.
As you have noticed, bpmedialist only shows assigned media with valid images (the only exeption to this rule are Frozen tapes that does not expire like other tapes).
Mark's suggestion is best. Command line alternative is 'vmquery -a -bx' and look for tapes with no Assign Time.
Any particular reason why you need to re-label tapes? VTL not automatically reclaiming space?
If this is the case, keep an eye on Media Summary report (in Verbose mode) to keep track of future expiry dates.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Thanks for the help! This has to be scripted so asking about CLI. GUI is too time consuming in large environment. VTL device not in sync with NBU unless bplabel forces the VTL to free up the data.
I will try 'vmquery -a -bx' command.
The Hammer
Similar discussion about a month ago:
https://www-secure.symantec.com/connect/forums/how-use-vmquery-view-size-image-media
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Would you like to reply?
Login or Register to post your comment.