Michael
To do a complete inventory, move the tapes from the inport to slots and use
the bar codes, do the following
Vmupdate -rn x -rt xxx -empty_ie -use_barcode_rules
The output from vmupdate -help follows:
Usage: vmupdate -rn robot_number -rt robot_type
[-b] [-interactive] [-recommend]
[-M master_server]
[-involgrp volume_group] [-outvolgrp volume_group]
[-mt media_type] [-p pool] [-use_barcode_rules]
[-use_seed] [-mp media_id_prefix] [-no_sides]
[-no_format_optical] [-overwrite_labels] [-f new_media_id_file]
[-full] [-if inventory_filter_value] [-if inventory_filter_value] ...
[-rh robot_host] [-vh volume_database_host] [-empty_ie]
robot_type is one of: acs, odl, tc4, tc8, tl4, tl8, tld, tlh, lmf, tlm,
ts8, tsd, tsh
media_type is one of: dlt, 8mm, 4mm, hcart, dtf, odiskwm, odiskwo,
qcart,
dlt2, hcart2, hcart3, dlt_clean, 8mm_clean, 4mm_clean, hcart_clean,
dtf_clean, dlt2_clean, hcart2_clean, hcart3_clean
pool is the volume pool to which new media will be assigned (20 chars
max)
use_barcode_rules specifies that barcode rules will be used for
assigning attributes to new media
use_seed specifies automatic generation of media ID's for media
with no barcodes
media_id_prefix is used as a seed to generate new media ID's
for media with no barcodes (5 chars max)
no_sides specifies that any new optical media ID's won't always contain
platter side 'A' or 'B'
no_format_optical specifies to NOT format new optical media
overwrite_labels specifies to overwrite existing labels when
formatting optical media
new_media_id_file is a file to be used for saving a list of new media
ID's
involgrp is the volume group for media moved into the robot (10 chars
max)
outvolgrp is the volume group for media moved out of the robot (10 chars
max)
inventory_filter_value is either an ACS scratch pool ID or a TLH volume
category
Hope this helps.
Patrick Whelan
Consulting
[NBU (with extensions) and Storage Migrator]
[VxFS and Volume Manager]
pwhelan AT veritas DOT com
Of course this is just my opinion, I could be wrong. - Dennis Miller
Friends help friends move, good friends help move bodies - Unknown.
-----Original Message-----
From: Michael Traves [mailto:mtraves.news AT home DOT com]
Sent: Tuesday, May 30, 2000 6:06 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] vmupdate
Is anyone using the vmupdate command in a script to do an
inventory update
of the library?
Has anyone been able to "document" the parameters you need
to pass it in
order to do the inventory?
Is there another method of updating the media database when
tapes are
injected/ejected?
Cheers,
Mike
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|