![background image](http://html2.mh-extra.com/html/quantum/p4000-series/p4000-series_user-manual_3854919144.webp)
Appendix C Automatic Drive Cleaning
Supervising the Drive Cleaning Operation
124
Quantum P4000 and P7000 Libraries User’s Guide
Supervising the Drive Cleaning Operation
3
When a cleaning cartridge is placed into a drive, the drive loads the
cartridge and initiates 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, a check condition is set in the returned status byte and a
subsequent Request Sense returns a Cleaning Cartridge Installed status
(SK=5 ASC=30 ASCQ=03).
Upon completion of the cleaning operation, the drive rewinds and
unloads the cleaning cartridge.
If a drive does not complete the cleaning operation and unload the
cleaning cartridge within five minutes, the library classifies the cartridge
as defective.
The library monitors the drive “HANDLE_OK” flag to determine when
the cleaning cartridge has been unloaded.
Media Movement from the Drive
3
Whether a cleaning operation is successful or unsuccessful, 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 completed due to
unrecoverable errors, the library attempts to return the cleaning cartridge
to its original storage element 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 completing, a
check condition is set in the returned status byte and a subsequent
Request Sense returns the appropriate error code.
Note:
Unsuccessful drive cleaning operations may not rewind and
unload the cartridge, especially if it is a data cartridge
incorrectly labeled as a cleaning cartridge.