Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Windows command to re-inventory a library

Updated: 22 May 2010 | 3 comments
David McWilliams 2's picture
0 0 Votes
Login to vote

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.

Comments

David McWilliams 2's picture
21
Sep
2005
0 Votes 0
Login to vote

vmupdate

Yasuhisa Ishikawa's picture
21
Sep
2005
0 Votes 0
Login to vote

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

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Jeffrey Redington's picture
22
Sep
2005
0 Votes 0
Login to vote

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.