Veritas-bu

[Veritas-bu] show and compare robot contents by command line (NB341)

2003-10-21 09:26:42
Subject: [Veritas-bu] show and compare robot contents by command line (NB341)
From: Kelly.Wyatt AT sas DOT com (Kelly Wyatt)
Date: Tue, 21 Oct 2003 09:26:42 -0400
What about vmcheckxxx -rn X -rt xxx?

-recommend will show you the mismatches.

$ ru vmcheckxxx -rn 0 -rt tld | more

        Robot Contents          Volume Configuration

Slot    Tape  Barcode           Media ID Barcode        Mismatch Detected
====    ====  =============     ======== =============  =================
  1      Yes  NX4393            NX4393   NX4393       
  2       No
  3      Yes  NX0044            NX0044   NX0044       
  4      Yes  NX4392            NX4392   NX4392       
  5      Yes  NX4341            NX4341   NX4341       
  6      Yes  NX4342            NX4342   NX4342       
  7      Yes  NX4339            NX4339   NX4339       
  8      Yes  NX4338            NX4338   NX4338       
  9      Yes  NX4336            NX4336   NX4336       
 10      Yes  NX4337            NX4337   NX4337       
 11      Yes  NX4391            NX4391   NX4391       
 12      Yes  NX1042            NX1042   NX1042       
 13      Yes  NX1013            NX1013   NX1013       
 14      Yes  NX4398            NX4398   NX4398       
 15      Yes  NX4302            NX4302   NX4302       
 16      Yes  NX0178            NX0178   NX0178       
 17      Yes  NX4303            NX4303   NX4303       
--More--

With recommend:

$ ru vmcheckxxx -rn 0 -rt tld -recommend | more

Proposed Change(s) to Update the Volume Configuration
=====================================================

(returned nothing... That's good :-))

We run this several times a day by cron.

Kelly

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: Monday, October 20, 2003 11:53 AM
To: 'Rolf C'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] show and compare robot contents by command line 
(NB341)


Not as such but you can use the vmupdate command to automatically compare the 
library contents with the volume DB and sync them up.

-M

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:  tld, tsd, acs, ts8, tl8, tl4, odl, tsh, tlh, tlm,
      lmf, rsm
   media_type is one of:  dlt, 8mm, 4mm, hcart, dtf, odiskwm, odiskwo, qcart,
      dlt2, hcart2, hcart3, dlt3, dlt_clean, 8mm_clean, 4mm_clean, hcart_clean,
      dtf_clean, dlt2_clean, hcart2_clean, hcart3_clean, dlt3_clean
   pool is the volume pool to which new media will be assigned (20 ASCII
      characters 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 ASCII characters 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 ASCII
      characters max)
   outvolgrp is the volume group for media moved out of the robot (10 ASCII
      characters max)
   inventory_filter_value is either an ACS scratch pool ID or a TLH volume
      category

-----Original Message-----
From: Rolf C [mailto:rolfcolmer AT hotmail DOT com]
Sent: Monday, October 20, 2003 1:05 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] show and compare robot contents by command line
(NB341)


Hello all,

Is it possible to inventory the robot and compare the contents with the 
volume database with a command line (f.e. vmquery.exe??) Just want to create

a text file with the infomation.

Thanks

_________________________________________________________________
Hotmail en Messenger on the move 
http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


<Prev in Thread] Current Thread [Next in Thread>