Tapes Returning to Scratch on a Virtual Tape Library

Tiger22

ADSM.ORG Senior Member
Joined
Jan 28, 2008
Messages
166
Reaction score
11
Points
0
Location
London, UK
I have a question about how TSM interacts with Virtual Tape Libraries when it returns VTL tapes to scratch.

Let's say I have a VTL that has been configured with 500 100GB tapes all of which have been checked into a VTL library within TSM. Let's say each night I perform a database backup to the VTL and a scratch tape from the VTL library is taken for this backup. At this point then the VTL knows about the data written to it and TSM knows that this VTL tape volume has a backup written to it.

After a few days, and after further and more recent database backups to additional VTL tapes have been performed, the older backup volume is returned by TSM to scratch. To my knowledge however the VTL is not informed of this and so considers the data on the tape that has been returned to scratch as still being 'in use'. By 'in use' I mean that the VTL is still using some of its disk space to store the data on this tape even though TSM has assigned its status back to scratch (after all the VTL has not been told that tape is no longer being used for valid data and will only know that when the tape is next written to by TSM).

Now the next time that TSM writes to this tape that it now considers as being scratch the VTL will free up the previous data it thought was being used. However this may be a long time in coming as TSM takes tapes from scratch in sequence. Potentially then there could be many dozen, if not hundreds, of VTL tapes that once had database backups on them that are supposedly now scratch but where precious disk storage is still being allocated by the VTL for them.

Does this sound right to everyone or is there some way of letting the VTL know from within TSM that it can release any disk storage it was once using for a particular VTL tape when it has been returned to scratch?

Of course this issue does not just apply to database backups but also to any process where TSM is moving (or expiring) previously written data from one tape and returning that tape to scratch on a VTL.
 
  • Like
Reactions: BBB
At the moment there is no way for this to be done automatically.

You can manually "release" the space in the vtl by doing anything that starts writing the tape from the start again like a "label libv overwrite=y".
 
recent update

I was informed by TSM support that "You may submit a DCR (design change request) to your marketing/sales rep to address this behavior."
So it looks like TSM developement or Protectier engineering isn't planning to fix this obvious design flaw.
Wish I was consulted by my mgmt prior to their deciding to lease this VTL.

I would have opted for more tape drives/frames for my 3584.:down:
 
Hi molerio,

Not sure if you are aware of this option - 'RELABELSCRatch' in the library definition. It was implemented in TSM for exactly this reason, and while it's not ideal it's certainly better than doing it manually or having the VTL run out of space.
 
Back
Top