Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
17538411 TSM Finding Lost TSM Tape Volumes

17538411 TSM Finding Lost TSM Tape Volumes

Ratings: (0)|Views: 20|Likes:
Published by venkat
538411 TSM Finding Lost TSM Tape
538411 TSM Finding Lost TSM Tape

More info:

Published by: venkat on Apr 13, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Applications & SystemsMANAGEMENT
Finding ‘lost’ Tape Volumes
Document Owner A J SINGHIssue Number 1.00Date of Issue 03 February 2008Status In Circulation, pending further discussionPlatform TSM Server 5.2.3 to 5.5
P O Box 11752, Zwartkop, 0051, South AfricaTel +27.84.786-8029 Cell +27.84.786-8029 Fax +27.86.645-9754www.ASMHoldings.com E-Mail inbox@ASMHoldings.com
APPLICATION & SYSTEMS MANAGEMENT (ASM) provides a digital archive
on its website
of technical documentation on IBM TIVOLI STORAGE MANAGER (TSM).2.
ASM is committed to making the information and resources that it provides via the web accessible toall users. We aim to be standards compliant and follow general principles of usability and universaldesign, which should help all visitors to this website.3.
Articles and other material in the ASM usually include an explicit copyright statement. In the absenceof a copyright statement, users should assume that standard copyright protection applies, unless thearticle contains an explicit statement to the contrary.4.
Some articles and other material in the ASM website is in the public domain and may be used andreproduced without special permission. However, anyone using the material is requested to properlycite and acknowledge the source.5.
Not all of the information and materials on the ASM website is public; some materials are publishedhere by permission of the creators or authors of the material and that permission generally is notautomatically transferable to a user of the website. Should you intend to republish, distribute, copy,perform, or display any of the information or materials on this website, you should investigate thecopyright status of that material or information to make sure your use of it does not infringe anyrights of the creator or author.6.
References in any material to Tivoli Systems or IBM products, programs, or services do not implyapproval by IBM.7.
Any licensed materials (e.g., software) which you download from the ASM web site are governedexclusively by the license terms accompanying the file or the terms of the license agreement whichaccompanied the original materials licensed by you which you are updating, and by downloading suchlicensed materials, you agree to abide by the terms of the license. Any reproduction or redistributionof such software or materials not in accordance with the applicable license is expressly prohibited bylaw.8.
Because of the number of individuals as contributors and sources of data contributing to this archive,ASM does not make any warranty or guarantee regarding the accuracy of any information andproducts.9.
ASM shall not be liable for any consequential loss incurred or sustained by you or any third partyhowsoever arising in respect of your use of or reliance on this document or the ASM website.
P O Box 11752, Zwartkop, 0051, South AfricaTel +27.84.786-8029 Cell +27.84.786-8029 Fax +27.86.645-9754www.ASMHoldings.com E-Mail inbox@ASMHoldings.com
Finding ‘lost’ Tape Volumes
The DELETE VOLHISTORY command deletes volume history file records that are no longer needed (forexample, records for obsolete database backup volumes).When you delete records for volumes that are not in storage pools (for example, database backup or exportvolumes), the volumes return to scratch status if TSM acquired them as scratch volumes. Scratch volumes of device type FILE are deleted. When you delete the records for storage pool volumes, the volumes remain inthe TSM database.For users of DRM, the database backup expiration should be controlled with the SET DRMDBBACKUPEXPcommand instead of this DELETE VOLHISTORY command. Using the DELETE VOLHISTORY command removesTSM's record of the volume. This can cause volumes to be lost that were managed by the MOVE DRMEDIAcommand. The following bash script identifies these volumes:
#!/bin/bash# ----------------------------------------------------------------------------------------------------------------------------# Description: 'Missing Tapes' volumes.# Date: 29th March 2007# Queries: Ajith Singh - singh.ajith@gmail.com# ----------------------------------------------------------------------------------------------------------------------------# Update this with the highest value of the volume labels.MAX_VOLUMES=1300# Update this with the lowest value of the volume labels.MIN_VOLUMES=1000# ----------------------------------------------------------------------------------------------------------------------------# Tape Label Parameters - update as necessaryPREFIX="BL"SUFFIX="L3"# length of label excluding PREFIX and SUFFIXLABEL_LENGTH=4ZERO="0"# ----------------------------------------------------------------------------------------------------------------------------# TSM Server administrator a/c details - update as necessaryDSM_DIR=/opt/tivoli/tsm/client/ba/binDSM_ADMIN=adminDSM_PWD=secretDSM_CMD="$DSM_DIR/dsmadmc -id=$DSM_ADMIN -pa=$DSM_PWD -datao=y"# ----------------------------------------------------------------------------------------------------------------------------test -x $DSM_DIR/dsmadmc || { echo "TSM Client Administrative CLI not installed."; if [ "$1" = "stop" ]; then exit 0; else exit 5;fi }

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->