Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

cleaning media

Created: 10 Feb 2005 • Updated: 21 May 2010 | 9 comments

In netbackup enterprise server 5.0 MP2 (modality GUI), when i click on the tape for the scheduling a manaul cleaning (drive cleaning --> clean now), i look this message:

'the following error occured while attempting clean drive compaqsdlt320 on server. No cleaning tape is defined in the device's robot or 0 cleaning remaning (315)'.

I have media DLT2.In the media there is a cleaning media in the: volume pool --> none (LN000S).
I have formatted master server last week. Perhaps i must defined cleaning media?

thank's
Neil

Comments 9 CommentsJump to latest comment

Jeffrey Redington's picture

Yes, before you can set up manual cleaning you must define a cleaning tape to Netbackup. Also, make sure that when you define the tape you specify a number of cleaning left on the tape. If you leave it at 0, NetBackup will believe that they tape has no cleanings left.

Mark M's picture

Ok
But problably I don't know as define define a cleaning tape to Netbackup. Is There a procedure that you can indicate?

thank's
Andrew

Stumpr2's picture

For background information on types of drive cleaning and cleaning tapes, or instructions on adding and specifing a cleaning tape as the media type, see the Media Manager System Administrator's Guide.

This Table of Contents is from the UNIX MM Admin Guide
Drive Cleaning Functions . . . . . . . . .. . . . . . . . . . . .70
MaximumMounts or MaximumCleanings . . . . . . . . 132
Number of Cleanings Remaining . . . . . . . . . . . . . .153
Examples ofUpdating a Volume Configuration . .. .201
Example 5:Add Cleaning Tapes to a Robot . . . . . .209
Drive Cleaning Functions . . . . . . . . . . . . . . . . . . . 234
Drive Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Available Types of Cleaning . . . . . . . . . . . .. . . . . 292
Reactive Cleaning (TapeAlert) . . . . . . . . . . . . . . . 293
Requirements forUsing TapeAlert withMediaManager .. 293
TapeAlert andMediaManager . . . . . . . . . . . . . . . . 293
TapeAlert and Frequency-Based Cleaning . . . .. . 294
Library-Based Cleaning . . . . . . . . . . . . . . . . . . . . 294
Frequency-Based Cleaning . . . . . . . . . . . . . .. . . . 294
Frequency-Based Cleaning Limitations . . . . . . . . 295
Managing Frequency-Based Cleaning . . . . . . . . . 295
Operator-Initiated Cleaning . . . . . . . . . . . . . . . . . . 295
Using a Cleaning Tape . . . . . . . . . . . . . . . . . . . . . 296
Changing the CleaningsAllowed for a Cleaning Tape . . 406

It may look like a lot of reading but actually it is not. It will help you to understand the big picture. It may even answer your questions. But please, If you have specific questions state the page that the question is from. And which Media Manager (UNIX or Windows)

Perhaps?
To add a cleaning tape, perform Adding New Volumes on page 124 and specify acleaning tape as the media type.
Here are some definitions: Use Media type to specify the media type for new media that is being added to a robot.
The list displayed shows the media types that are valid for the robot. The following is an example list for a TLD robotic library:
1/2" cleaning tape
1/2" cleaning tape 2
8MM cleaning tape
8MM cleaning tape 2
8MM cleaning tape 3
DLT cleaning tape
DLT cleaning tape 2
DLT cleaning tape 3
DTF cleaning tapeMessage was edited by:
Bob Stump

VERITAS ain't it the truth?

Mark M's picture

thank's Bob for your explanation.

Andrew

TempoVisitor's picture

Hya

Your cleaning tape seen from your inventory seems strange to me regarding its mediaID : LN000S
It looks like you put a specific barcode on the tape, that should be CLN000.

If your lib uses barcodes longer that 6 characters, you must specify a MEDIA ID GENERATION RULE when doing an inventory.

If not : let's say you use 7 chars barcodes ... NBU is only allowed to use 6 chars for labelling the tapes. And by default, the 6 most right chars. Then a tape with barcode CLN000S would be seen as LN000S.
You could wonder where this 'S' char comes from as you don't see it when you read the barcode with your own eyes .... well look better, with new generations of medias, you'll find additional chars written in small chars, especially for SDLT and LTO drives. This 7th or 8th chars are coded in the barcode, but you ignore them because they are smaller that the 6 firsts. THE LIB DOES NOT IGNORE THESE CHARS !!!

If you use MEDIA ID GENERATION you can specify it in NBU GUI through robotic inventory menus : Lib : 0 / Barcode Length : 7 / rule 1:2:3:4:5:6 (means the 6 first chars are used for labelling the tapes)
Problem is : this rule will be written in the configuration files ON THE CONSOLE where you launched the inventory from. Thus if you launch the inventory from another console next time, this rule will be ignored.

Best would be to edit the vm.conf on the media server to manualy add the rule.
---------------------------
Then I supposed you had a barcode starting with CLN. Am I right ?
You can secify a BARCODE RULE, which is not the same as MEDIA ID GENERATION, but is accessed the same way from the GUI, during inventory, and written in a file RULEDB on the media server.
In this rule, you specify that any tape with a barcode starting with CLN should be considered as a DLT2-CLEANING TAPE (in your config, DLT2 drives -> DLT2-CLN tapes) and specify the initial max cleaning authorized for this tape.
----------------
Consider these rules are only used for NEW recognised tapes ... means if they already exist in your volume catalog, you need to delete them first !


Kerkael

Andrew J.'s picture

I have checked that my media id is CLS000S.
My cassette is in the slot 1 on the library.
I have tryed to add volume in INVENTORY ROBOT --> UPDATE VOLUME CONFIGURATION --> ADVANCED OPTIONS --> BARCODE RULES e the i click NEW.
In barcode tag I tipe 'CLS000S' in MEDIA TYPE I type 'DLT cleaning tape' and the volume pool is automatically 'none'.
When I click on the Activity monitor DRIVE CLEANING --> CLEAN NOW the messagge is ' No cleaning tape i s defined in the defined robot...'
The procedure is correct?

Thank/s a lot

Neil

Jeffrey Redington's picture

After you create the barcode rule did you run an inventory to pick up the cleaning tape? Or did you just create the barcode rule. If you look at the properties of the cleaning tape does it have more than 0 mounts or cleanings? If not, increase the number of cleanings by right clicking on the tape and choosing change and then in the change window you will see where you can change number of mounts/cleanings. You may also need to restart the NetBackup services before inventorying for the new bar code rule to take effect.

Michel Steiner's picture

>> I have tryed to add volume in INVENTORY ROBOT --> UPDATE VOLUME CONFIGURATION --> ADVANCED OPTIONS --> BARCODE RULES e the i click NEW.
In barcode tag I tipe 'CLS000S' in MEDIA TYPE I type 'DLT cleaning tape' and the volume pool is automatically 'none'.


If your label has a S at the end, it is supposed to be a SDLT, not a DLT. So you should use the media type "DLT2 cleaning tape". Also, try to enter a bar code tag "CLS" (instead of "CLS000S", so that all CLSsomethingS tapes are recognized at cleaning media.

Then make an inventory of the robot and that should work (it worked for me!).

TempoVisitor's picture

Hya

Robotic Inventory can only add a tape in your volume Database if it does not already exist.

If you have not deleted the first seen tape : LN000S, then the volDB still knows it as linked to your barcode CLN000S.
The mediaID is 6 chars, but the barcode is 7 chars.

1st : delete the LN000S tape from the gui (NOT ERASE)
2nd if you can not delete it, with message of "can not delete assigned volume" it means NBU already tried to mount this tape as a data tape and it is now frozen
3r : bpmedialist -U
4th : if the tape LN000S is FROZEN : bpmedia -unfreeze -m LN000S
5th : from the gui delete the tape, OR vmdelete -m LN000S
6th : after creating your barcode rule, restart a robotic inventory.

Your barcode rule does not have to be as long as 6 or 7 chars : just name it CLN ... it will recognise ALL your CLNxxx barcodes.

And, please, look at your Media Id Generation Rule : NBU should NOT use the last 'S' char, because you will not see all the first 6 chars.

Problem : if you have been working a long time without this rule, it means all your media are known as yyyyyS instead of Xyyyyy with a barcode XyyyyyS.

Kerk the noob