• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

How to tell TSM what tapes I'm removing

DMobley232

ADSM.ORG Member
Joined
Oct 20, 2016
Messages
76
Reaction score
3
Points
0
Hello.
We have a TSM on Linux that connected to our spectra tape library. The library is full and I'm trying to figure everything out to eject/replace tapes.
I think I have about 85% figured out, however I'm told that one step i'm missing is I probably need to tell TSM that tapes that we are going to be checking out. How do I do that. In our environment, the way it was setup is that we have to actually eject from the Tape GUI due to the fact we don't have enough slots, however I guess I need to tell TSM before I physically eject them?
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
Bad idea to remove primary tapes from the library. It will be cheaper in the long run to add a frame to the library than for your boss to pay you to become part of the tape library by having to add/remove tapes from a shelf to the library constantly. If you have a client restore, you will likely have to checkout tapes in order to checkin the required tape. Running reclamation will be near impossible. If you don't run reclamation you waste space which means you will need to checkout even more tapes.

Anyway, to remove tapes from TSM, use the CHECKOUT LIBVOLUME command. HELP CHECKOUT LIBVOLUME for syntax. If you put remove=bulk, they will be removed from the library for you, you won't need to use the library GUI.
 

DMobley232

ADSM.ORG Member
Joined
Oct 20, 2016
Messages
76
Reaction score
3
Points
0
Thank you for the info. I will pass that along. At this time our Library if completely full, and all the tapes need to be removed and new ones put back in so that backups can continue.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
I don't envy you. Before you do that, do you know if Expiration and Reclamation run successfully daily? Are your retention policies longer than the business requirements? Those are all things that could make you use more tapes than needed.
 

DMobley232

ADSM.ORG Member
Joined
Oct 20, 2016
Messages
76
Reaction score
3
Points
0
I will have to do some research as I don't know those answers. This is a different setup as this is being used by our seismic department, and they manually trigger backups of their data to this system, there are no automated processes that I'm aware of that do any nightly, daily, monthly type backups, but I will do some research.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
The automated processes like expiration and reclamation would be on the server, regardless how client backups are done. You can query the summary table to when they last ran:
select activity,max(start_time) from summary where activity='EXPIRATION' or activity='RECLAMATION' and successful='YES' group by activity
 

DMobley232

ADSM.ORG Member
Joined
Oct 20, 2016
Messages
76
Reaction score
3
Points
0
Should I run some query first to see what the expiration and reclamation settings are set to? Maybe it was setup this way for a reason?
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
Should I run some query first to see what the expiration and reclamation settings are set to? Maybe it was setup this way for a reason?
The only valid reason to not run expiration and reclamation is in an environment where archiving data forever. Like medical or legal records. There are no settings for expiration, you set it to run, or not. For reclamation, you can set the threshold at the storage pool level. It must be set at 100% if it never runs. You can chose the threshold you want.

If you run this query, you can see how many volumes you can reclaim:
select stgpool_name,volume_name,pct_reclaim from volumes where pct_reclaim>50 order by stgpool_name,pct_reclaim

For every 2 volume on that list, you get a scratch tape because reclamation will combine two half full tape onto a new tape, giving you back the two original as scratch.
 

DMobley232

ADSM.ORG Member
Joined
Oct 20, 2016
Messages
76
Reaction score
3
Points
0
The only valid reason to not run expiration and reclamation is in an environment where archiving data forever. Like medical or legal records. There are no settings for expiration, you set it to run, or not. For reclamation, you can set the threshold at the storage pool level. It must be set at 100% if it never runs. You can chose the threshold you want.

If you run this query, you can see how many volumes you can reclaim:
select stgpool_name,volume_name,pct_reclaim from volumes where pct_reclaim>50 order by stgpool_name,pct_reclaim

For every 2 volume on that list, you get a scratch tape because reclamation will combine two half full tape onto a new tape, giving you back the two original as scratch.
Thanks for the info. I think we fall into that environment. This is Seismic Data that the seismic tech told me that we archive data forever, and never delete.
I will try your query and see what happens.
Thanks.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,739
Reaction score
619
Points
0
Location
Canada
Website
www.ibm.com
If that's the case, then it makes sense. You will need to keep adding tapes as needed, which means removing old tapes. In the event you need to do a restore, it will fail if the data is on a tape that is checked out. You will have to check it in for the restore to work. Other than that, no real issues.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

DigitalOcean $100 Credit

Support ADSM.ORG and get DigitalOcean FREE credit. DigitalOcean currently offer a $100, 60-day Free Credit for new accounts. Sign-up here:

DigitalOcean Referral Badge

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 20 18.7%
  • Keep using TSM for Spectrum Protect.

    Votes: 65 60.7%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.1%
  • Other (please comement)

    Votes: 9 8.4%

Forum statistics

Threads
31,885
Messages
135,936
Members
21,783
Latest member
london
Top