Cant checkin volumes as Scratch

tsm2015

Newcomer
Joined
Mar 18, 2015
Messages
2
Reaction score
0
Points
0
I hope i am writing in the right section.

I get alot used tapes from our sister company. I am trying to get them into our TSM 7.1 as scratch. I used the following commmand to check in:
LABEL LIBVOL 3576LIB0 SEARCH=BULK LABELSOURCE=BARCODE OVERWRITE=YES CHECKIN=SCRATCH WAITT=0

when i look at actlog, i see the following error.

17.03.2015 17:32:21 ANR8816E LABEL LIBVOLUME: Volume 900028L3 in library
3576LIB0 cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 38071, PROCESS: 290)

then i looked into the libvol, but there is no volume 900028L3 in "q libvol" shown.

3576LIB0 900016L3 Private HAL9000 Data 4.266 LTO
3576LIB0 900017L3 Private HAL9000 Data 4.225 LTO
3576LIB0 900025L3 Private HAL9000 Data 4.130 LTO
3576LIB0 900026L3 Private HAL9000 4.248 LTO
3576LIB0 900027L3 Private HAL9000 Data 4.106 LTO
3576LIB0 900029L3 Private HAL9000 Data 4.259 LTO
3576LIB0 900031L3 Private HAL9000 Data 4.219 LTO
3576LIB0 900033L3 Private HAL9000 4.283 LTO
3576LIB0 900034L3 Private HAL9000 4.251 LTO

then i tried to check details on that volume:

tsm: HAL9000>q vol 900028L3 f=d
Session established with server HAL9000: AIX
Server Version 7, Release 1, Level 1.100
Server date/time: 18.03.2015 14:40:24 Last access: 18.03.2015 14:10:17


Volume Name: 900028L3
Storage Pool Name: ARC
Device Class Name: 3576DVC0
Estimated Capacity: 745,1 G
Scaled Capacity Applied:
Pct Util: 85,7
Volume Status: Filling
Access: Unavailable
Pct. Reclaimable Space: 9,7
Scratch Volume?: Yes
In Error State?: No
Number of Writable Sides: 1
Number of Times Mounted: 5
Write Pass Number: 1
Approx. Date Last Written: 26.11.2007 19:02:09
Approx. Date Last Read: 13.11.2007 17:01:55
Date Became Pending:
Number of Write Errors: 0
Number of Read Errors: 0
Volume Location: LTA-0711271145
Volume is MVS Lanfree Capable : No
Last Update by (administrator): ADMIN
Last Update Date/Time: 07.10.2009 15:27:33
Begin Reclaim Period:
End Reclaim Period:
Drive Encryption Key Manager: None
Logical Block Protected: No


there is a Storage Pool ARC which we are using, and this tape seems to also belong to a pool named "ARC", but thats not our ARC Pool. maybe our sister company used the same name long time ago.

any hints, how i can get that volumes get checked in as "scratch" ?

thanks in advance
 
The tape has to be defined to the ARC storage pool on that server because one TSM Server is not aware of what is defined on other TSM Servers.

The volume has to be empty in order to return it to scratch. Before doing anything, check to see what is on that volume:
query content 900028L3

Then, you have to decide if you want to keep the data that is on it or not.

If you want to keep the data, in order to return the volume to scratch, you have to move that data to another volume:
move data 900028L3

If you don't want to keep the data, you can delete it:
delete volume 900028L3 discarddata=yes

Note that the delete is irreversible, so only do it if you are absolutely sure you want to get rid of this data.
 
If the volume does not exist in "q libvol", it just means that the volume is not checked in. The volume in "q vol" shows it's unavailable, which confirms that.

You should check in the volume as private for now.
 
Back
Top