![background image](http://html1.mh-extra.com/html/quantum/acl-4-52/acl-4-52_supplementary-manual_3560300146.webp)
ACL 4/52 Software Interface Guide
Document 6211225-03
Version 3.0
C-10
Supervising the Drive Cleaning Operation
Supervising the Drive Cleaning Operation
When a cleaning cartridge is successfully placed into the drive requiring
cleaning, the drive automatically loads the cartridge and initiate the cleaning
operation. The library is still available to service host initiated commands
during the drive cleaning operation.
If the host attempts to move a cartridge into the drive that is being cleaned, the
command will fail, Check Condition will be set in the returned status byte and
a subsequent Request Sense will return a Cleaning Cartridge Installed status
(SK=5 ASC=30 ASCQ=03).
Upon successful completion of the cleaning operation, the drive automatically
rewinds the cleaning cartridge and unloads the cartridge.
Note
Unsuccessful drive cleaning operations may not rewind and export the
cartridge, especially if it is a regular data cartridge incorrectly labeled as a
cleaning cartridge.
If a drive does not complete the cleaning operation and the cleaning cartridge
is automatically unloaded within five minutes, then the library classifies the
cartridge as defective, marking it as unusable.
The library monitors the drive flag “HANDLE_OK” to determine when the
cleaning cartridge has been unloaded by the drive.
When a cleaning cartridge is unloaded, the cleaning operation is considered
complete. The library only attempts to clean the drive once each time that it is
checked. If a cleaning operation is not successful, the drive will not be
serviced again until the next time that the drive is checked.
Media Movement from the Drive
Whether a cleaning operation is successfully or unsuccessfully completed, the
library increments the cleaning cartridge’s “use count” and attempts to move
the cleaning cartridge back to its home location.
If an export or movement operation cannot be successfully completed due to
unrecoverable errors, the library, wherever possible, attempts to return the
cleaning cartridge to its original storage element so as to clear the transport
element. If an unrecoverable error occurs during the movement of a cleaning
cartridge that prevents a subsequent host initiated command from successfully
completing, the subsequent host initiated command fails, Check Condition is
set in the returned status byte and a subsequent Request Sense returns the
appropriate error.