cancel
Showing results for 
Search instead for 
Did you mean: 

View Volume Groups From CLI

afskymonkey
Level 2

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

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified
For particular tape: vmquery -m (media-id )

View solution in original post

5 REPLIES 5

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

You can run

vmquery -b -v "volume group"

vmquery -b -pn "pool name"

 

sri_vani
Level 6
Partner

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

 

Marianne
Level 6
Partner    VIP    Accredited Certified
For particular tape: vmquery -m (media-id )

afskymonkey
Level 2

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.

Moved:

Marianne
Level 6
Partner    VIP    Accredited Certified