Username:

Password:

Remember me

 
Table of content    <<  Previous    |    Next  >>



Labeling tape cartridges

Almost each tape library should know about tape cartridges that it has. In order to let library know about its tape cartridges you need to perform two steps:

  • Teach your library about tape cartridges
  • Build amanda's tape database and put amanda's labels on all tapes

Teaching tape library.

When you get your tape cartridges there's no any label on it that could help tape library to identify each tape cartridge. In order to help your library to identify each tape you should get special labels and put them on each cartridge. Each label has unique code that is used by bar code reader installed into most libraries for fast searching. Once you place labels on cartridges, place 6 tapes into “mail box” column of your library, put your library into “offline” mode and using control panel move these tapes from mail column to operational column. It may vary for each type of tape library so you'd better refer to documentation of your system.

Bulding amanda's tape database.

Once we place all tapes into tape library and library knows about them, it's time to let amanda's to put its own label on each tape. It should be performed by the following command:

amlabel DailySet1 DailySet1-NR slot SlotID

where NR is number of tape, you can use any number, and SlotID – number of slot of your tape library. For example, if you have 60 tape cartridges loaded into your library, you could use this simple perl script to label all 60 tapes:

#!/usr/bin/perl

use strict;

foreach my $i(1..60)
{
     system("amlabel -f DailySet1 DailySet1-$i slot $i");
}



Table of content    <<  Previous    |    Next  >>
Rambler's Top100