ビデオヘルプ

bpmedialist command

作成: 04 Jan 2013 • 更新: 13 Feb 2013 | コメント数: 5
この問題は解決されました。 ソリューションを参照してください。

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!

タグでディスカッションを検索:

コメント コメント数: 5最新のコメントを表示

Mark_Solutions の写真

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 の写真

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 の写真

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 の写真

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