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 Label or Relabel an Optical Disc
How to Audit a Direct Attached Automated Library
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
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)
The SAM-QFS environment supports the use of cleaning tapes if cleaning tapes are supported by the hardware. If a tape drive requests a cleaning, the system automatically loads a cleaning tape.
If your system uses barcoded labels, cleaning tapes must have a VSN of CLEAN or a VSN starting with the letters CLN in the barcode label. Alternatively, you can use the chmed command to mark a VSN as a cleaning tape and set the count. Multiple cleaning tapes are allowed in a system.
Cleaning practices differ from manufacturer to manufacturer. See Chapter 8, Managing Vendor-Specific Libraries to determine whether specialized procedures are recommended for your equipment.
If the cleaning cartridge is barcoded, you can import it by using the samimport command. This command moves the cartridge from the mailbox to a storage slot and updates the library catalog. In addition, the cleaning media flag is set, and the access count is set to the appropriate number of cleaning cycles, based on the media type. Each time the cartridge is used to clean a drive, the access count is decremented.
# samimport eq
eq specifies the equipment number of the automated library as defined in the mcf file.
You can also perform this task by using samu or SAM-QFS Manager.
If the cartridge is not barcoded, it is not identified as a cleaning cartridge. After you import the cartridge, you must identify it.
# samimport eq
eq specifies the equipment number of the automated library as defined in the mcf file.
# chmed +C eq:slot
eq specifies the equipment number of the automated library and slot specifies the slot in which the cleaning cartridge has been loaded.
In the following example, the automated library is equipment number 50 and the cleaning cartridge is in slot 77:
# chmed +C 50:77
# chmed -count count-number eq:slot
eq specifies the equipment number of the automated library and slot specifies the slot in which the cleaning cartridge has been loaded.
The following example command sets the cleaning count on the cartridge to 20.
# chmed -count 20 50:77
Cleaning cartridges are useful for a limited number of cleaning cycles. The SAM-QFS system ejects the cartridge when the number of remaining cycles equals zero. Each time a cleaning tape is imported, the cleaning cycle is reset to the highest number of cycles for that type of tape. For example, a DLT cleaning tape has 20 cycles and an Exabyte cleaning tape has 10 cycles. You can view the number of remaining cycles with the samu utility's :v display or by using SAM-QFS Manager.
If automatic cleaning is available but all cleaning cartridges in the automated library have a cleaning cycle count of zero, the drive state is set to off and a message is issued in the SAM-QFS log.
# chmed -count count media-type.vsn
|
Certain drive errors can result in the repeated loading of cleaning cartridges until all cleaning cycles are consumed.
# chmed -count count-number eq:slot
eq specifies the equipment number of the automated library, and slot specifies the slot in which the cleaning cartridge has been loaded.
Example 7-3 Example
For example, the following command sets the cleaning cycle count to 20 for the cleaning cartridge in slot 77 of the automated library with the equipment number of 50.
# chmed -count 20 50:77
Beginning with the Sun Storage Archive Manager 4.4 release, the default setting for software-initiated tape drive cleaning is off. You can enable automatic cleaning in one of the following ways:
Use the media changer's auto-cleaning feature, which might require specific placement of cleaning cartridges. See the manufacturer's documentation for directions.
Enable the SAM-QFS auto-cleaning feature:
tapeclean = all autoclean on logsense on
The logsense option prevents a drive from using expired cleaning media. To use only sense data for determining the status of cleaning media, add the following line to the defaults.conf file:
tapeclean = all autoclean on logsense off
Note - When using the auto-cleaning feature that has a library with more than two drives, use at least two cleaning cartridges for each catalog. If not enough cleaning cartridges are available, any drive that requires cleaning is put into a DOWN state.
When automatic cleaning is not available and the system uses barcodes, you can request that a drive be cleaned at any time.
# cleandrive eq
eq specifies the equipment number of the automated library as defined in the mcf file.
This drive is loaded with the cleaning cartridge.
![]() | Caution - Removing the error flag can cause problems. If you are uncertain about what caused the error and whether the flag can be removed safely, do not use this procedure. Contact Oracle Technical Support. |
When a hardware or software error is encountered on a cartridge, the SAM-QFS system sets the media error flag in the VSN catalog. The media error flag is shown in the samu utility's v display and in SAM-QFS Manager.
You can clear the error to reset the flag and you can then attempt to use the cartridge.
# chmed -E media-type.vsn
|
# 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 SAM-QFS Manager.
# samcmd off eq
eq specifies the equipment number of the drive as defined in the mcf file.
You can also perform this step by using samu or SAM-QFS Manager.
# samcmd off eq
eq specifies the equipment number of the library as defined in the mcf file.
You can also perform this step by using samu or SAM-QFS Manager.
Be careful not to damage either the cartridge or the drive.
Issue this command once for the drive and once for the library.
# samcmd on eq
eq specifies the equipment number of the library and then of the drive as defined in the mcf file.
If the automated library performs an audit when it is turned on, you are done.
# chmed +o eq:slot
|
If you keep the cartridge out of its slot and you want to put it back in later, you must import the cartridge into the automated library.