Solved

Adding new scratch tapes to TSM library

Posted on 2011-03-23
13
7,408 Views
Last Modified: 2013-11-15
Hi All,

I have inserted a new tape in library with label 007162 and I want to add it to scratch pool. I have searched on google and got following commands, but none of the commands are working, giving following output :

label libv L3494B search=bulk checkin=scratch labelsource=barcode
ANR8494E LABEL LIBVOLUME: An option specified is not valid for 349X libraries

checkin libvolume L3494B search=yes status=scratch checklabel=barcode
ANR8403E CHECKIN LIBVOLUME: Operation not allowed for 349X libraries

Now the problem is the tape has been moved to some slot in library, how can I add that tape to scratch pool, I have other 9 tapes which I have not loaded in the library yet, as I need to confirm first the commands are working. kindly provide me with the commands so that I can add the new tapes as scratch in library. TSM version is 5.5 running on AIX 5.3. Its bit urgent.

Thanks
virgo
0
Comment
Question by:virgo0880
  • 7
  • 6
13 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 35201203
Hi,

1) SEARCH=BULK and LABELSOURCE are not allowed for 3494 libraries

LABEL LIBVOLUME L3494B SEARCH=YES CHECKIN=SCRATCH

2) CHECKLABEL=BARCODE is not allowed for 3494 libraries and you must specify a device type, most probably 3592 ("Jaguar") in your case.

CHECKIN LIBVOLUME L3494B SEARCH=YES STATUS=SCRATCH CHECKLABEL=YES DEVTYPE=3592

Both commands will work.

 (1) is for unlabeled tapes, but will work for labeled tapes as well. Add OVERWRITE=NO to preserve existing labels.

Note: All newly inserted cartridges will be checked in at once using the above commands.

Should you want to checkin only selected tapes use 007162 (i.e. the volume name) instead of SEARCH=YES in either of the above commands.

wmp
0
 

Author Comment

by:virgo0880
ID: 35201867
I have done this and it is showing me the volume as scratch in library. Now, when I tried to put remaining 8 volumes and executed the command, I am seeing that it is kicking out the tapes back to the IO port, what may be the issue...is it that I need to clean the label of the tapes.

Thanks
Virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35201918
Issue Q ACTLOG in dsmadmc to find the error messages.

Could it be that the carts only have an external paper label but no volume label on the magnetic medium itself? In this case use LABEL ..., not CHECKIN ..., and use OVERWRITE=YES.

But first, what's in Q ACTLOG?

wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35201923
... or maybe there is no free drive of the indicated device type?
0
 

Author Comment

by:virgo0880
ID: 35201986
No, the drives are free and also I cleaned two tapes and re-inserted the same, but it did the same thing. In the activity log it is showing errors :

03/23/11 14:31:50     ANR8807W Could not write label 006142 on the volume in    
                       drive TDRV2 (/dev/rmt12) of library L3494B because volume
                       is already labeled 006142. (SESSION: 10073, PROCESS: 353)


What can be done in this case.

Thanks
virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35202002
Use
CHECKIN
instead of
LABEL
or specify
OVERWRITE=YES
0
Google Storage: Standard vs. Nearline vs. Coldline

Google Cloud Storage has a number of classes to choose from. Although there are a lot in common, they vary in price and usage terms. This post explains Google Cloud Storage classes and helps to understand which  one to choose.

 

Author Comment

by:virgo0880
ID: 35202466
Yes, that worked. Now all of  my tapes are check in as scratch tapes. Just a question, my TSM is eating a lot of scratch tape, what can be done in this case and how can I find out out how the scratch utilization has increased and who is using that ?

Thanks
virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35202631
Do you use COLLOCATE=NODE or even COLLOCATE=FILESPACE in your tape stgpool definitions?

Check with

SELECT STGPOOL_NAME, COLLOCATE, NUMSCRATCHUSED from STGPOOLS order by NUMSCRATCHUSED desc

COLLOCATE eats up many tapes, because each node's data or even each filespace's data are placed on distinct volumes.

Check for the stgpools with the most used scratch tapes which node would use them up:

Q NODEDATA * STGPOOL=stgpool_name

Last, check if there are volumes with very poor utilization.

SELECT  VOLUME_NAME, STGPOOL_NAME, PCT_UTILIZED from VOLUMES where PCT_UTILIZED<2 order by PCT_UTILIZED

If there are lots this could be a hint that you're running too many backup jobs against the same stgpool in parallel.

If all the above seems normal you just have many data to backup.

wmp



0
 

Author Comment

by:virgo0880
ID: 35207933
I have taken the output of the commands given by you, can you have a look at it and provide me some recommendations on that so that I can improve something on this. The output is attached in a file.

Thanks
virgo tsm-output.txt
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35208713
You have several of very poorly utilized tapes, particularly in TBACK11 which is due to COLLOCATE=NODE defined for that pool.
Do you need collocation? If not, change to COLLOCATE=NO (UPD STGP ...).

Most of your tapes are in CBACK5/6 and TBACK6, however, and I don't see lots of nearly empty tapes there.
You could repeat the utilization query with PCT_UTILIZED<5 or so, to get more output.

And please take care not to run all your backup jobs against a given storage pool at once. Define more schedules, to spread the jobs over a longer period of time, or choose a higher " Schedule Randomization Percentage".

wmp


0
 

Author Comment

by:virgo0880
ID: 35208988
Ok, what is the use of collocation and how it works. Is it advisable and advantageous. Also, if my tapes are less utilized they will be definitely used in next backup schedules ..right ?

Schedule randomization % is set to 10 currently, is there any recommended value for that.

Thanks
virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35210306
COLLOCATE specifies that the server should attempt to keep data belonging to a
single client node, group of client nodes, or client file space stored on as few volumes as possible.

In case of node recovery the number of mounts will be minimized this way.

It is advantageous only if your recovery window is very narrow and if you can afford the additional tape consumption.

Yes, your tapes will be uitilized next backup.

The needed amount of "filling" volumes in a stgpool is based on the number of tape volumes requested in parallel in a given time period and the number of available tape drives in that same period, whichever is lower.

Randomization is expressed in percent of the configured schedule duration, which is 1 hr. by default.
So with randomization 10% the start times of the backup jobs triggered by a given schedule will get scattered across a time window of 6 minutes by default.

If there are some schedules triggering many jobs I'd recommend increasing their duration to at least 5 hours (or more, depending on the number of jobs).
If all your schedules would trigger many jobs I'd recommend leaving the duration untouched and increasing randomization to at least 50% instead (or more, see above).
0
 

Author Comment

by:virgo0880
ID: 35264439
Will check the same.

Thanks
virgo
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now