Skip Navigation Links | |
Exit Print View | |
Sun Storage Archive Manager 5.3 Configuration and Administration Guide Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
2. Configuring Storage Devices for Archiving
3. Performing Additional SAM-QFS Configuration
4. Creating Parameters Files for Network-Attached Automated Libraries
5. Checking the Drive Order in Libraries
7. Managing Automated Libraries and Manually Loaded Drives
Vendor-Specific Library Operational Procedures
How to Start Removable Media Operations
How to Stop Removable Media Operations
How to Turn On an Automated Library
How to Turn Off an Automated Library
How to Load a Cartridge Manually
How to Unload a Cartridge Manually
Labeling and Unlabeling Cartridges
How to Label or Relabel a Tape
How to Use a Cleaning Cartridge With a Barcode
How to Use a Cleaning Cartridge Without a Barcode
How to Reset the Number of Cleaning Cycles
How to Limit the Number of Cleaning Cycles
How to Clean a Tape Drive Automatically
How to Clean a Tape Drive Manually
How to Remove a Stuck Cartridge From a Drive
Catalog Operations, Importing Cartridges, and Exporting Cartridges
Tracking Exported Media - The Historian
About Importing and Exporting From an Automated Library
How to Import a Cartridge From a Library With a Mailbox
How to Export a Cartridge From a Library With a Mailbox
How to Import a Cartridge From a Library Without a Mailbox
How to Export a Cartridge From a Library Without a Mailbox
How to Enable Load Notification
Using Drives With Encryption Capability
Manually Loaded Drive Operations
How to Load a Cartridge Into a Manually Loaded Device
8. Managing Vendor-Specific Libraries
11. Archive Directives (archiver.cmd)
12. Archive Set Directives (archiver.cmd)
If you have stand-alone tape or optical devices or if your automated library has no barcode reader, you must label cartridges as described in this section. To label cartridges, use the tplabel command for tapes or use the odlabel command for optical discs. These commands create a cartridge label that the SAM-QFS software can read.
If your library uses barcodes, labels = barcodes is set by default. The result is that the first six characters are used for the volume serial number (VSN).
If your library uses barcodes and you want the last six characters to become the VSN for the cartridge, edit the /etc/opt/SUNWsamfs/defaults.conf file and include the following line:
labels = barcodes_low
When the software loads a barcoded cartridge for a write operation, it writes a label on the cartridge before the write begins. The cartridge must be write enabled, be unlabeled, and have a readable barcode.
Caution - Labeling and relabeling a cartridge makes the data currently on the cartridge inaccessible to any software. Relabel a cartridge only if you are certain that you do not need the data that is stored on the cartridge. |
# tplabel -new -vsn vsn eq:slot
# tplabel -old vsn -vsn vsn eq:slot
|
After the command to label or relabel a tape is issued, the tape is loaded and positioned, and the tape label is written.
You can also perform this task by using SAM-QFS Manager.
Example 7-1 Label a Tape
# tplabel -vsn TAPE01 -new 50:0
# odlabel -new -vsn vsn eq:slot:partition
# odlabel -old vsn -vsn vsn eq:slot:partition
|
After the command to label or relabel an optical disc is issued, the optical disc is loaded and positioned, and the optical disc label is written.
You can also perform this task by using SAM-QFS Manager.
Example 7-2 Label an Optical Disc
# odlabel -vsn OPTIC01 -new 30:1:1
Occasionally, the library catalog needs to be updated with the reported space remaining on a tape or optical disc. The auditslot command loads the cartridge that contains the volume, reads the label, and updates the library catalog entry for the slot.
# auditslot [-e] eq:slot[:partition]
|
For more information, see auditslot(1M) in Sun QFS and Sun Storage Archive Manager Reference Manual.
You can also perform this task by using the samu utility's :audit command or by using SAM-QFS Manager.
A full audit loads each cartridge into a drive, reads the label, and updates the library catalog. Audit a library in the following situations:
After moving cartridges in the automated library without using SAM-QFS commands
If you are in doubt about the status of the library catalog (for example, after a power outage)
If you have added, removed, or moved cartridges in an automated library that has no mailbox
# samcmd audit eq
eq specifies the equipment number of the automated library as defined in the mcf file.
You can also perform this task by using the samu utility's :audit command or by using SAM-QFS Manager.