how to eject scratch tapes in the TSM Lib

kaelo

Active Newcomer
Joined
Aug 5, 2009
Messages
75
Reaction score
1
Points
0
Hi Guys,

I'm a bit new to TSM. I would like to know on how can I eject scratch tapes out of the library using tsm commands. There's no option on "move drm" command for this or am I missing something?

Or I should eject them using the tape library gui? I need to re-label those tapes that's why i need to ejct them.

Appreciate any help.

- kaelo
 
kaelo,

Just use the 'checkout' command. It doesn't matter what state the tape is in (scratch, private,dbbackup etc), 'checkout' will work the same:

checkout libvol <library_name> <volume_name> checklabel=no remove=<yes/no/bulk>

Don't use the library GUI, as that will not report back to TSM and cause inconsistencies with what TSM thinks it has available.
 
you're right CJ, i thought I can only use "move drm" command which is not valid to eject scratch tapes but it's too late now. I've ejected all 30 scratch tapes.

The question now is how will i fixe my "run qinv" output because the scratch tapes number is still there which in reality I've ejected those tapes.

tsm: TSMPRD>run qinv

LIBRARY_NAME STATUS VOLUMES
------------------ ---------------- -----------
3310ATL Cleaner 2
3310ATL Private 46
3310ATL Scratch 30

Could you please help me on this. Thanks in advance

- kaelo
 
Hi,

please try to do the checkout command again with parameters

checkl=no
remove=no

this way you will tell tsm to remove the tape without need to identify it.
 
Hi,

you can run
"audit libr XYZ checklabel=barcode"
When tape is not found during audit, it is deleted from library inventory.

Harry
 
hi adamsnir and Harry,

That do the trick. Thanks for your help


- kaelo
 
Back
Top