Bar code rules settings on UNIX/Linux

Article:HOWTO32893  |  Created: 2010-10-28  |  Updated: 2011-03-10  |  Article URL
Article Type
How To



Bar code rules settings on UNIX/Linux

See Table: Bar code rule settings describes the settings you can configure for bar code rules. NetBackup uses these rules to assign bar codes to new media.

Table: Bar code rule settings

Bar code rule setting


Barcode tag

A unique string of bar code characters that identifies the type of media.

For example, use DLT as the bar code tag for a bar code rule if the following is true:

  • You use DLT on the bar codes to identify DLT tapes

  • DLT is not used on any other bar codes in the robot

Similarly, if you use CLND for DLT cleaning media, use CLND as the bar code tag for the rule for DLT cleaning media.

The bar code tag can have from 1 to 16 characters but cannot contain spaces.

The following are the special bar code rules that can match special characters in the bar code tags:

  • NONE

    Matches when rules are used and the volume has an unreadable bar code or the robot does not support bar codes.


    For volumes with bar codes, this tag matches when none of the other bar code tags match. However, the following must be compatible: the media type in the DEFAULT rule and the media type on the Media Settings tab.

You cannot change the bar code tag of a bar code rule. Instead, first delete the old rule, then add a rule with a new bar code tag.

Use the Media Settings tab to set up the criteria for a robot update.

See Configuring media settings on UNIX/Linux


A description of the bar code rule. Enter from 1 to 25 characters.

Maximum mounts

The maximum number of mounts (or cleanings) that are allowed for the volume.

For data volumes, a value of zero means the volume can be mounted an unlimited number of times.

For cleaning tapes, zero means that the cleaning tape is not used. Symantec recommends that you use bar codes for the cleaning media that cannot be confused with bar codes for data media. Doing so can avoid a value of 0 for cleaning tapes.

Media type option

The media type to assign to the media.

The media type that is specified on the Media Settings tab always overrides the media type of the bar code rule. If you specify a value other than DEFAULT on the Media Settings tab, the bar code rule media type must be the same as the media or be DEFAULT. If not, the bar code rule does not match the media (except for cleaning media).

See Media type when using bar code rules on UNIX/Linux


When a media type is selected, the maximum mounts value may revert to the default value for the specified media type. For example, it may revert to 0 for unlimited when you select a non-cleaning media type.

See NetBackup media types on UNIX/Linux.

Volume pool

The volume pool for the new media. The actions depend on whether you use bar code rules to assign media attributes.

Select from the following:


    If DEFAULT is selected, NetBackup performs the following actions:

    • If you use bar code rules, the bar code rules determine the volume pool to which new volumes are assigned.

    • If you do not use bar code rules, NetBackup assigns data tapes to the NetBackup pool but does not assign cleaning tapes to a volume pool.

  • A specific volume pool

    This volume pool setting always overrides any bar code rules.

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices