|Oracle® Secure Backup Reference
|PDF · Mobi · ePub|
Use the following steps to pre-label a tape volume.
Before using a volume for the first time, assign a unique identifier to it. The identifier can be between 1 and 31 characters long. Write this identifier on a printed label (the volume tag) on the outside of the tape, or use a pre-printed label.
Place the write-enabled volume in any accessible tape drive.
From any host on which Oracle Secure Backup is installed, do the following:
Log in as
root, or log in to Oracle Secure Backup as a user belonging to a class having the manage devices and change device state right.
obtar -Xlabel command in the following form:
After you have labeled a tape,
obtar retains the association between the volume tag and the volume ID. The tag is the external identifier, whereas the volume ID is the internal one. Whenever
obtar displays the label for that volume, it also displays the volume tag. Similarly, when
obtar prompts you for a volume at restore time, it displays both the volume ID and tag.
obtar -Xlabel [ -Xtag:tag ] [ -Xfamily[:family] ] [ -f device_name ]
You can specify a number of options with
obtar -Xlabel; this section describes those options that you are most likely to use. Refer to "obtar Options" to learn about additional
obtar -Xlabel options.
tag as the volume tag (barcode) to be written to the volume label. This option is not required if Oracle Secure Backup is already aware of the volume's tag or the volume resides in a library equipped with a barcode reader and the volume has a readable barcode attached.
Example 4-32 labels the tape volume in
tape0 with the tag
You can omit the
-Xtag option if the volume has a machine-readable tag (barcode) and resides in a library equipped with a barcode reader.
When you label a volume, you can optionally tell
obtar to limit that volume's use to a specified media family. In this case,
obtar will not allow data destined for media families other than the one you specify to be written to the volume.
To select the media family for the volume, include the option,
family-name on the
obtar command line.
Example 4-33 labels the tape in the tape drive
MMR-2006 and restricts its usage to media family