tpclean | Appendix A. NetBackup Commands | Appendix A. NetBackup Commands | Veritas NetBackup™ Commands Reference Guide (2024)

Name

tpclean — manage the cleaning of the tape drive

SYNOPSIS

tpclean -L | -C drive_name [-priority number] | -M drive_name | -F drive_name cleaning_frequency

On UNIX systems, the directory path to this command is /usr/openv/volmgr/bin/

On Windows systems, the directory path to this command is <install_path>\Volmgr\bin\

DESCRIPTION

tpclean enables you to monitor Media Manager tape drive usage and optionally configure tape drives to be cleaned automatically. (This function does not apply to drives in ACS or TLH robots, or QIC drives.)

Media Manager tracks the total amount of time that volumes have been mounted in the drives. You can use tpclean to specify a cleaning frequency (in hours) for a drive.

The drive is cleaned if the following conditions are true:

  • The mount time exceeds the cleaning frequency.

  • A TapeAlert "CLEAN NOW" or "CLEAN PERIODIC" flag has been raised.

  • The drive is in a robot.

  • The Media Manager volume configuration shows a cleaning tape in the robot.

The Comment field in the tpclean -L output contains the message, NEEDS CLEANING, if the following are true:

  • The mount time exceeds the cleaning frequency.

  • The drive is a standalone drive or does not have a defined cleaning tape.

Manually clean the drive and reset the mount time by using the -M option.

For the -C, -M, and -F options to operate, the following must occur: ltid must be running on UNIX systems, or the NetBackup Device Manager service must be running on Windows systems.

For more about TapeAlert and other drive-cleaning topics, see the NetBackup Administrator's Guide, Volume II.

In a NetBackup Enterprise Server, a frequency-based cleaning is not supported for shared drives.

You must have administrator privileges to run this command.

OPTIONS

-C drive_name

Initiates the cleaning of a drive in a robot. The drive must be defined in a robot and a defined cleaning tape in the Media Manager volume configuration. The mount time is reset to zero. The drive name is the name that was assigned to the drive when it was added to the configuration.

-L

Prints the cleaning statistics. (On UNIX systems, it prints to stdout.)

-priority number

Specifies a new priority for the job at which tpclean gets a media-drive pair of resources. The new priority overrides the default job priority.

-M drive_name

Indicates that the drive was manually cleaned. The mount time is reset to zero. The drive name is the name that was assigned to the drive when it was added to the device configuration.

-F drive_name cleaning_frequency

Sets the cleaning frequency for the specified drive to cleaning_frequency hours. The drive name is the name that was assigned to the drive when it was added. The value of cleaning_frequency must be between zero (0) hours and 10,000 hours.

NOTES

tpconfig -d, tpconfig -l, and vmoprcmd may truncate long drive names. Use tpconfig -dl to obtain the full drive name.

tpclean truncates drive names to 22 characters.

EXAMPLES

Example 1 - Display cleaning statistics. An asterisk next to the drive type indicates that the device is defined as robotic.

# tpclean -LDrive Name Type Mount Time Frequency Last Cleaned Comment********** **** ********** ********** ************ *******rob_A_drv1 8mm* 11.4 30 14:33 05/29/924mm_drv5 4mm 5.6 10 13:01 06/02/92dlt_drv6 dlt 3.0 0 N/A

Example 2 - Set the cleaning frequency for the drive named dlt_drv6 to 25 hours. The drive is flagged as having a need to be cleaned after 25 hours of mount time has occurred.

# tpclean -F dlt_drv6 25

Example 3 - Reset the mount time for the drive named rob_A_drv1 to zero. You normally use this command after you manually clean the drive.

# tpclean -M rob_A_drv1

Example 4 - Initiate the cleaning of drive rob_A_drv1. This example assumes that the drive is a robotic drive with a cleaning tape defined. The mount time is reset to zero.

You can use the -C option to force the cleaning of a drive before you reach cleaning_frequency. Normally, robotic drives are cleaned automatically when their mount time exceeds the cleaning frequency.

# tpclean -C rob_A_drv1

Note:

To use a cleaning tape, the Cleanings Remaining for that tape must be greater than zero. (This value appears in the volume list of the Media node in the NetBackup Administration Console or from the vmquery command.) This cleaning count refers to how many more times the cleaning tape can be used. You can change this count by using the Media node or the vmchange command.

SEE ALSO

See ltid.

See tpconfig.

tpclean | Appendix A. NetBackup Commands | Appendix A. NetBackup Commands | Veritas NetBackup™ Commands Reference Guide (2024)
Top Articles
Who Accepts Bitcoin as Payment? 10 Best Online Stores & Companies That Accept Cryptocurrency
Bitcoin Price | BTC Price Index, Live Chart and USD Converter - Binance
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 5461

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.