Results 1 to 4 of 4
-
07-20-2009, 09:43 PM #1Member
- Join Date
- Apr 2008
- Location
- Auckland, New Zealand
- Posts
- 94
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Audit Procedure of missing tapes TSM Vs Offsite
Hi all,
I am looking at writing a script to audit or reconcile tapes offsite at the vault with what the TSM server knows about. Everything would be based at a specific time, e.g. 10pm
If I collect tape information for the TSM server such as
q drmedia
q volhist
q vol
tapes in transit (to/from)
and compare this with a list of tapes held by offsite company. Is this good enough to locate the “orphans” (tapes lost from the TSM server)?
Or better are there any scripts or links that document this?
Question: Is q drmedia a sublist of q vol ? (does q vol have the same tapes as produced by dr media?)
-
07-21-2009, 04:40 AM #2Member
- Join Date
- Mar 2009
- Location
- Pretoria, South Africa
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Audit Procedure of missing tapes TSM Vs Offsite
Hi-
You can refer to my blog http://tsmblog.asmholdings.info
Finding 'lost' tapes:
http://tsmblog.asmholdings.info/2009...e-volumes.html
A Library Audit Procedure:
http://tsmblog.asmholdings.info/2009...ary-audit.html
I trust this will help.
-
08-13-2009, 12:32 PM #3Member
- Join Date
- Oct 2004
- Posts
- 212
- Thanks
- 0
- Thanked 0 Times in 0 Posts
select distinct volume_name from volhistory where devclass='YOURDEVCLASS' and volume_name not in (select volume_name from libvolumes where library_name='YOURLIBRARY') and volume_name not in (select volume_name from drmedia) and volume_name not in (select volume_name from volumes where devclass_name='YOURDEVCLASS') order by volume_name
-
07-13-2010, 08:34 AM #4
PICAY, this script worked very well for my 3494 library - thanks!
Living the dash
Similar Threads
-
TSM Offsite Procedure
By Keyrun in forum Restore / Recovery DiscussionReplies: 6Last Post: 01-23-2013, 11:37 AM -
Effects/procedure on how to remove tapes with valid data and discard tapes
By PierCed_3 in forum Tape / Media LibraryReplies: 11Last Post: 05-14-2008, 10:36 AM -
Tapes missing in TSM after vaultr
By jbryan605 in forum Backup / Archive DiscussionReplies: 9Last Post: 02-26-2008, 09:47 PM -
Tapes Actually Offsite vs Tapes TSM Sees Offsite
By GregE in forum ScriptingReplies: 2Last Post: 10-30-2007, 06:10 PM -
Proper procedure to take out offsite tapes
By Elomis in forum Backup / Archive DiscussionReplies: 1Last Post: 10-29-2007, 11:41 PM


Reply With Quote