Getting old tapes outta there

LBH21215

ADSM.ORG Member
Joined
Mar 9, 2007
Messages
11
Reaction score
0
Points
0
This is a very basic question but since this is the first time I've encountered this I want to make sure.

I've been getting rid of all my LTO1 tapes.

I made them all read only when I updated my tape drives. Then let the reclaimation process clear the data and return them to status of scratch.

Then weekly I would run a report to list all scratch LTO1 tapes in my library and I would checkout those tapes.

The only LTO1 tapes left are for a storage pool thats files do not expire.

So I started with one tape this morning doing a move data.

While this successfully moved the data off the tape volume it still show as a member of the same storage pool.

Do I just need to issue the command:

upd libvol <library_name> 001914 status=scratch

Here is the volume in question:

tsm: TIVOLI1>q libvol * 001914

Library Name: 3584LIB
Volume Name: 001914
Status: Private
Owner:
Last Use: Data
Home Element: 1,059
Device Type: LTO


tsm: TIVOLI1>q vol 001914 f=d

Volume Name: 001914
Storage Pool Name: THISTAPOOL
Device Class Name: LTO
Estimated Capacity: 0.0 M
Scaled Capacity Applied:
Pct Util: 0.0
Volume Status: Pending
Access: Read-Only
Pct. Reclaimable Space: 0.0
Scratch Volume?: Yes
In Error State?: No
Number of Writable Sides: 1
Number of Times Mounted: 66
Write Pass Number: 1
Approx. Date Last Written: 05/07/06 04:13:36
Approx. Date Last Read: 08/19/08 02:04:14
Date Became Pending: 08/19/08 03:34:20
Number of Write Errors: 0
Number of Read Errors: 0
Volume Location:
Volume is MVS Lanfree Capable : No
Last Update by (administrator): TSMADMIN
Last Update Date/Time: 02/28/07 16:17:17
Begin Reclaim Period:
End Reclaim Period:
Drive Encryption Key Manager:


As always any help is appreciated!
John
 
try to move data from the tape, and you're most likely to get a "there is no data on tape" response... otherwise check the result of "q content 001914"
 
I have confirmed that there is no data with both the move data:

tsm: TIVOLI1>move data 001914
ANR2232W This command will move all of the data stored on volume 001914 to other volumes within the same storage pool; the data will
be inaccessible to users until the operation completes.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR2209W Volume 001914 contains no data.
ANS8001I Return code 11.


And the q content command:

tsm: TIVOLI1>q content 001914
ANR2034E QUERY CONTENT: No match found using this criteria.
ANS8001I Return code 11.


But my question still stands do I just issue the upd libvol command to get it back to a scratch status?

Thanks,
John
 
The storage pool is set reusedelay = 1 day

I think I'll just leave that as is and wait till tomorrow and check again.

Thanks,
John
 
I don't want it to be readw. My new tape drives can't write to a LTO1 tape they can only read it.

Thanks,
-John
 
I don't think upd libv will work on these, you will have to do "delete volume".
 
I have a question about this as well, instead of querying the volume to find out what the stats of the tape is, I would like to know what is on it. So how do I query the contents of a tape through the database with the tape being unavailable?
 
Back
Top