If you are going to use the below i suggest you do an inventory prior as
this is what netbackup thinks is in the jukebox but ops could have been
in and changed things around as they are unpredictable sorts ;)

Inventory :-

/usr/openv/volmgr/bin/vmupdate -x -rn 0 -rt tld -rh `uname -n` -vh
`uname -n` -use_barcode_rules

I have this in a script which periodically runs during the day

#!/bin/ksh
#Reloading and inventorising tapes for media manager

vmupdate -x -rn 0 -rt tld -rh `uname -n` -vh `uname -n` -use_barcode_rules
if [ $? != "0" ]
then
    echo "WARNING: Problem with loadtape script..maybe an unreadable
tape! Please check its IMPORTANT\n\n" |mailx -s "uname -n` Loadtape
script Error" [EMAIL PROTECTED] [EMAIL PROTECTED]
fi




Ellwood, MW (Mike) wrote:
> If you mean within a specific robot, then what I use is  :
>  
> vmquery -rn 0   [-b]                 #  I usually pipe it into a sort
> to get it by slot number or maybe media id
>  
> (We only have one robot for each of our systems, but one could
> substitute the index number of the robot in question if you have more).
>  
> (we are running an old level of Netbackup, so ymmv).
>  
> Regards,
> Mike Ellwood
>  
>
>     -----Original Message-----
>     *From:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED] *On Behalf Of
>     *Dave Carlson
>     *Sent:* 27 April 2006 00:26
>     *To:* veritas-bu@mailman.eng.auburn.edu
>     *Subject:* [Veritas-bu] how to get a list of tapes in the tape library
>
>     anyone know the console command for getting a list of tapes that
>     are currently in the library? thanks!
>      
>
>     *Dave Carlson*
>     Associate Systems Engineer
>
>     *atlas*^®
>     *Partner for Results**
>     **^
>     *206.816.8221 // *direct*
>     206.850.8980 // *cell
>     [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>* // email
>     *_www.AtlasSolutions.com
>     
> <outbind://28/jenniferh/Local%20Settings/Temporary%20Internet%20Files/OLK3/www.AtlasSolutions.com>_
>     // *web*
>
>      
>

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

Reply via email to