This is not a flow chart but some things to do. You can "query cont" to see if the tape has data on it. If it doesn't then see if it is a DBbackup, look at volhistory.
If it does have data, then where is it? "Query libv libx volume" will show if it is in a library. If yes, I then update vol xxx acc=reado and then do a "move data" on it to clean it off. If this works, I decide to keep it or scrap it. I usually scrap them after three problems. If it is not in the library check "q drm" or "q volhistory" or "query media" and try and decide what to do. If you can not find it anywhere and it has data on it then you need to declare it destroyed and do a restore and hope that all the copy tapes are good. You can use preview=yes to find which copy tapes that you will need. To try and catch this early I have scripts that do things. One reports all tapes readonly and all tapes unavailable (both in library and out). Once a week I audit a group of tapes in the library. I do the groups by the last number in the label. Thus on this Wed I do all that end in 3 and next Wed I do all that end in 4. In ten weeks I will have audited all my private data tapes in the libraries and then start over again. These audits find bad files as well as bad tapes. This way I am proactive and try and find them before a client finds them during a restore and fails. Hope this helps (this may not be the best but is how I am doing it), -- Phillip Ford Senior Software Specialist Corporate Computer Center Schering-Plough Corp. (901) 320-4462 (901) 320-4856 FAX [EMAIL PROTECTED] -----Original Message----- From: Mark Bertrand [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 8:27 AM To: [EMAIL PROTECTED] Subject: Tape Flow Chart Needed Hi All, I am pretty new to TSM administration and I am still confused about finding out a tape status. We have had some tapes that have caused I/O errors in our library and tape drives. I know that some of these tapes were checked out but do not know how to ensure that they don't contain any needed data without being able to check them in due to I/O errors. I also have others that are required for a backup of the tapepool to copypool process (see below), this is my primary concern to get this resolved. 02/14/2002 08:00:08 ANR2017I Administrator ADMIN issued command: BACKUP STGPOOL tapepool copypool 02/14/2002 08:00:08 ANR1229W Volume 387ACRL1 cannot be backed up - volume is offline or access mode is "unavailable" or "destroyed". 02/14/2002 08:00:08 ANR1229W Volume 418ACRL1 cannot be backed up - volume is offline or access mode is "unavailable" or "destroyed". Is there any flow chart or any written process that will take me through steps for a tape or volume at an unknown state to either destroyed and replace or reentry if still good but was errored due to a hardware problem, that includes moving or restoring data that was on that tape. Something like: 1) q vol 387arcl1 f=d, is tape unavailable or destroyed?, yes goto line 3, no exit 2) goto exit 3) update volume 387acrl1 access=reado 4) issue command ? ? ?, did system use tape?, yes goto line 2, no it marked it as unavailable goto line 5 5) do something else 6) do something else 7) checkin libvol lto1 387acrl1, did tape checkin?,yes goto line 8, no ???? 8) move data, did data move? yes goto line 9, no, ??? 9) checkin libvol lto1 search=yes status=scratch checkl=barcode, did tape check in corectly?,yes goto line 2, no failed to read barcode goto line ???, no failed to checkin for other reason ??? go to line 10. 10) destroy or replace tape This was purely on example, please don't be too hard on me :) This is one of the hardest hurdles on trying to get a grasp on TSM, any help would be greatly appreciated. I have called Tivoli support and have usually received good help on this, but the process takes so long and usually something happens in between steps that takes precedence which takes me from the support call and the process gets lost then I am at an unknown tape state again. My server is Win2K TSM V. 4.1.30. Thanks in advanced, Mark Bertrand *************************************************************** This message and any attachments is solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use, or distribution of the information included in this message is prohibited -- please immediately and permanently delete this message.