Veritas-bu

[Veritas-bu] Finding volumes in attached libraries.

2002-05-23 10:39:31
Subject: [Veritas-bu] Finding volumes in attached libraries.
From: david AT datastaff DOT com (David A. Chapa)
Date: Thu, 23 May 2002 09:39:31 -0500
Check out my tape_rotation.sh script at www.NetBackupCentral.com.  It
basically is designed to identify media that are either full, frozen or
suspended and haven't been written to or read from in X number of days.  You
may be able to use it or some part of it for your specific application.
Additionally it identifies BAD media.  The script considers BAD Media to be
those that are FROZEN, but have no images  (all have expired).

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.datastaff.com
847 413 1144
---------------------------------------
http://www.NetBackupcentral.com

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Darren
Dunham
Sent: Wednesday, May 22, 2002 5:32 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Finding volumes in attached libraries.


I'm writing a script to find "older" volumes that are part of an HSM
system so they may be moved out of the libraries for new tapes.

I can query HSM to give me the "last written" date on a tape.  I need
besides that a list of tapes in the robots, and possibly the "last
mount" time.

Because I have a lot of volumes, I don't think I want to feed them
one by one into 'vmquery'.  Is there a way to get a big list of all
the volumes, perhaps limited by robot (not a big deal if I can do
that in the script).

I suppose I could simply parse the 'available_media' report, but was
wondering if there were anything else that would get the information
a little bit quicker.

Thanks.

--
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
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>