Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

bpmedialist command

Created: 04 Jan 2013 • Updated: 13 Feb 2013 | 5 comments
This issue has been solved. See solution.


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 CommentsJump to latest comment

Mark_Solutions's picture

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 "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Marianne's picture

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

The Hammer's picture

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

Marianne's picture

Similar discussion about a month ago: 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links