Veritas-bu

[Veritas-bu] how to get a list of tapes in the tape library

2006-04-27 10:26:18
Subject: [Veritas-bu] how to get a list of tapes in the tape library
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Thu, 27 Apr 2006 08:26:18 -0600
There's no monolithic command for this, you have to parse a bit:
 
Script:
 
#!/bin/sh
 
echo "Robot\tSlot\tTape\n-----\t----\t------" >&2
 
/usr/openv/volmgr/bin/vmquery -w -a | \
     awk 'NR>3 && $9!="-" {print $8 "\t" $9 "\t" $1}'
 
exit
 
 
-M

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Dave
Carlson
Sent: Wednesday, April 26, 2006 5:26 PM
To: veritas-bu AT mailman.eng.auburn DOT 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(r)
Partner for Results

206.816.8221 // direct
206.850.8980 // cell
dave.carlson AT AtlasSolutions DOT com // email
www.AtlasSolutions.com
<outbind://28/jenniferh/Local%20Settings/Temporary%20Internet%20Files/OL
K3/www.AtlasSolutions.com>  // web