Forum Discussion

afskymonkey's avatar
9 years ago

View Volume Groups From CLI

Hello,

 

I am trying to figure out to view the contents of a particular Volume Group from the CLI? 

 

Or

 

I would like to view what Volume Group a particular tape is assigned to?

 

Are either of these possible or only avaliable in the GUI?

 

Thanks

Daniel

5 Replies

Replies have been turned off for this discussion
  • Marianne, thanks for the answer it is simple a did exactly what I needed.

     

    Thanks for the other answers as they are great and will add to my ever expanding knowledge of NetBackup.

  • For particular tape: vmquery -m (media-id )
  • I would like to view what Volume Group a particular tape is assigned to?

    Please check the vmquery options

    To list out of all media infor for particular volume group:

    1)vmquery -h <emm server> -v <volume group>

    If you are looking for particular media info

    2)vmquery -h <emm server> -m <media id>

     

    Some other volume group commands are listed in below(example 7 to 9)

    http://systemmanager.ru/nbadmin.en/re06.htm