cancel
Showing results for 
Search instead for 
Did you mean: 

Command to show Volume Group for one or all MediaIDs

khemmerl
Level 5

Hello everyone,

I need a command that shows the volume group for one or all MediaIDs (tapes).  I tried bpmedialist but that doesn't show me the volumne group as shown here:

bpmedialist -m APA164 -U 

Server Host = inf-srv17

 id     rl  images   allocated        last updated      density  kbytes restores
           vimages   expiration       last read         <------- STATUS ------->
--------------------------------------------------------------------------------
APA164   0    274   11/28/2012 17:53  11/29/2012 07:15   hcart   435026944     0
              274   12/20/2012 05:35        N/A         SUSPENDED

I'm running NetBackup 7.1.  Any recommendations?

Ken

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

vmquery -a / vmquery -m <media id>

Hope you are on windows/ unix as this is the 'daddy' version ...

vmquery -m R0TP00 |awk '/ID|group/ {print $0}'

Martin

View solution in original post

2 REPLIES 2

mph999
Level 6
Employee Accredited

vmquery -a / vmquery -m <media id>

Hope you are on windows/ unix as this is the 'daddy' version ...

vmquery -m R0TP00 |awk '/ID|group/ {print $0}'

Martin

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

For Windows:

vmquery -m R0TP00 | findstr group