How prevent the tapes in SCRATCH status to be mounted?
search cancel

How prevent the tapes in SCRATCH status to be mounted?

book

Article ID: 15178

calendar_today

Updated On:

Products

CA 1 Flexible Storage

Issue/Introduction

Migrated to new VTS tape ranges and tape copy process is going on to copy from OLD VTS to NEW VTS.

How we can prevent to mount the OLD tapes in scratch status ?  and how prevent to write on these OLD tapes ?

Resolution

 

To keep the volumes from being written on we can:

- use the scratchpool READONLY 
example: 
SCRPOOL=READONLY00001,RANGE=100000-199999 

Specifies the name that you assign to the READ ONLY scratch subpool. The name can have up to 13 characters. The nnnnn parameter is an optional user-defined suffix that can be used to qualify the subpool further. The RANGE= keyword is the only valid options for this keyword. All other keywords are not allowed. 
This statement would go into the TMOSCRxx member of CTAPOPTN. To activate  it you would need to run TMSINIT. After it is activated CA 1 will prevent  any type of write to those tapes. 


OR
- we can change the status of these volumes from SCRATCH TO DELETE using the TMSDELET utility. Always CA1 will prevent any writing to the tape.



The way to prevent the mount would be to either delete the tape from the VTS or when it is scratched, put it back into private status in the TCDB so that it won't mount it for a scratch request.