GENERAL ERROR: The message "No cleaning tape is defined in the device's robot or 0 cleanings remaining (315)" occurs when attempting to clean a tape drive via the command line or Administration Console.
No cleaning tape is defined in the device's robot or 0 cleanings remaining (315).
The message "No cleaning tape is defined in the device's robot or 0 cleanings remaining (315)" (Figure 1) occurs when attempting to clean a tape drive via the command line or Administration Console.
Figure 1. A Cleaning Tape is not properly defined.
This message can occur for one of the following reasons:
Master Log Files: N/A
Media Server Log Files: N/A
Client Log Files: N/A
I. The number of cleanings are used up
If cleaning was functional previously with the media in question, the number of cleanings may simply be used up on the media. Verify this by doing the following:
Observe if the amount of cleanings remaining are at "0." If so, configure a new cleaning media, or increase the cleanings remaining on the existing media by doing the following:
Note: If the Number of cleanings remaining section is greyed out, the media is not configured properly. Proceed to the next section of this document.
II. The Cleaning Tape isn't defined as a cleaning tape
Firstly, cleaning tapes must be defined as a special media type. For example, a DLT cleaning tape cannot be configured simply as "DLT" (DLT cartridge tape). It must be DLT_CLN (DLT cleaning cartridge). Be careful, as it is easy to specify "cartridge tape" when "cleaning tape" is what must be selected to configure the media.
III. The density doesn't match the drive type
Additionally, it is important to note the exact drive type configured in NetBackup and ensure the cleaning media matches it. To confirm this, do the following:
Pay special attention to whether or not a number follows the density type. For example, if the Drive Type is DLT2 (DLT cartridge tape) and the cleaning media is DLT_CLN (DLT cleaning tape), the above error message will occur. If the Drive Type is DLT2, the cleaning media must be DLT2_CLN (DLT cartridge tape 2).
Below is a list of common drive types and the required cleaning tape type (Figure 3).
Figure 3. A list of common drive types and their correct cleaning tape type.
Next, check the media type for the cleaning media being used by doing the following:
If the Media Type is incorrect, it is an easier process to delete and re-add cleaning media, rather than change to them. To delete these media, simply highlight them in the Administration Console and click Delete. Since no data resides on the media and they are not assigned, NetBackup will allow the deletion.
To ensure that cleaning media are re-added correctly, perform the following procedure:
Adding new cleaning media with Robots that support Barcodes: