cancel
Showing results for 
Search instead for 
Did you mean: 

Windows command to re-inventory a library

David_McWilli1
Level 3
Does anyone know of a command I can use to reinventory out tape library. I have tried using vmphyinv, but it does update the library contents on the NBU GUI?

Does anyone know of a better way.
3 REPLIES 3

David_McWilli1
Level 3
vmupdate

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
Media labeled with barcode? If so, you can use vmupdate instead. If not, unfortunately there are no other way like vmphyinv on GUI.

When you run vmupdate, you have to do it on master server as below.
# vmupdate -h -rt -rn -rh -use_barcode_rules

It's my hot topic now. If you run it on media server, you may not get correct result because media id generation format configured on GUI is stored on master server, and runnint vmupdate on media server doesn't regard it.

Volume database host and other paramaters can be found by vmglob.

# vmglob.exe -listall

Jeffrey_Redingt
Level 5
Actually,

You can copy the media id generation rule into the bp.conf file on the media servers so the update will work from any of the media servers.