Partager via


Cleaning Drives in RSM

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

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 place a cleaning cartridge in a library, clean a dirty drive or remove an exhausted cleaning cartridge.

RSM maintains a usage count for each cleaner cartridge. When a cleaner reaches its maximum usage count, RSM generates an operator request. If you are developing an application that manages device maintenance, you can use the following RSM functions to implement drive cleaning functionality.

If your application calls EjectNtmsCleaner, it must first call ReserveNtmsCleanerSlot in order to have a place in the library to put the cleaning cartridge.