Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the clean
command to clean a tape drive.
See Also:
"Library Commands" for related commandsPrerequisites
You must have the right to manage devices and change device state to use the clean
command.
Syntax
clean::=
clean [ --drive/-D drivename ] [ --force/-f ] [ --use/-u element-spec ]
Semantics
Specifies the name of the drive that you want to clean. If you do not specify a tape drive name, then the drive variable must be set.
Forces Oracle Secure Backup to clean the drive. If there is a tape loaded in the drive, then this option unloads the tape, loads the cleaning tape, cleans the drive, and then reloads the tape that was originally in the drive.
Specifies the number of a storage element containing a cleaning tape. If omitted, Oracle Secure Backup chooses a cleaning tape based on the setting of the --cleanemptiest
option that you specified on the mkdev command. Refer to "se-spec" for a description of the se-spec placeholder.
Example
Example 2-28 informs Oracle Secure Backup that you are inserting an unused cleaning tape into element 4 of library lib1
. The example uses the cleaning tape in element 4 to clean drive tape1.