[This is preliminary documentation and subject to change.]
Unless you are developing an application that is intended to manage device maintenance, your application does not have to address drive cleaning. RSM is designed to manage device maintenance.
In the RSM model of device maintenance, each library unit can contain one cleaner cartridge. Administrators can use the RSM MMC snap-in to clean a drive, reserve or release a cleaner slot, and insert or eject a cleaner cartridge.
RSM maintains a usage count for each cleaner cartridge. When a cleaner reaches its maximum usage count, RSM generates an operator request. If the administrator ejects a cleaner cartridge before it has reached its maximum usage count, RSM releases the usage count information.
If you are developing an application that manages device maintenance, you can use the following RSM functions to implement drive cleaning functionality.