To clean a drive in a tape library using DPM, you specify which tape to use for cleaning, and then start the cleaning job. If the bar code on a tape starts with "CLN" (for example, bar code CLN0000812), DPM identifies the tape as a cleaning tape after a fast inventory.
However, if the cleaning tape does not have a bar code or the bar code does not start with "CLN", you must mark the tape as a cleaning tape and then run a detailed inventory. If you do not mark the tape as a cleaning tape before you run a detailed inventory, a cleaning job will start when DPM mounts this tape during the detailed inventory.
Follow the guidelines from the manufacturer of your tape device for cleaning frequency.
To mark a tape as a cleaning tape
-
In DPM Administrator Console, click Management in the navigation bar.
-
Click the Libraries tab.
-
In the display pane, select the tape to be used for cleaning, and then in the Actions pane, click Mark as cleaning tape.
-
Click Management on the navigation bar.
-
On the Libraries tab, select a library.
-
In the Actions pane, click Inventory.
-
In the Inventory dialog box, select Detailed inventory, and then click Start.
To mark a tape as a cleaning tape using DPM Management Shell
-
Use the following syntax to mark a tape as a cleaning tape:
Set-Tape [-Tape] <Media[]> -Cleaner [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]
For more information, type "Get-Help Set-Tape -detailed" in DPM Management Shell.
For technical information, type "Get-Help Set-Tape -full" in DPM Management Shell.