CLEAN DRIVE (Clean a drive)
Use this command when you want Tivoli® Storage Manager to immediately load a cleaner cartridge into a drive regardless of the cleaning frequency.
There are special considerations if you plan to use this command with a SCSI library that provides automatic drive cleaning through its device hardware.
Restriction: You cannot run the CLEAN
DRIVE command for a drive whose only path source is a NAS
file server.
Privilege class
To issue this command, you must have system privilege or unrestricted storage privilege.
Parameters
- library_name (Required)
- Specifies the name of the library to which the drive is assigned.
- drive_name (Required)
- Specifies the name of the drive.
Example: Clean a specific tape drive
You have already defined a library named AUTOLIB by using the DEFINE LIBRARY command, and you have already checked a cleaner cartridge into the library using the CHECKIN LIBVOL command. Inform the server that TAPEDRIVE3 in this library requires cleaning.clean drive autolib tapedrive3
Related commands
Command | Description |
---|---|
CHECKIN LIBVOLUME | Checks a storage volume into an automated library. |
CHECKOUT LIBVOLUME | Checks a storage volume out of an automated library. |
DEFINE DRIVE | Assigns a drive to a library. |
DEFINE LIBRARY | Defines an automated or manual library. |
DELETE DRIVE | Deletes a drive from a library. |
QUERY DRIVE | Displays information about drives. |
UPDATE DRIVE | Changes the attributes of a drive. |