Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. tpunmount
Veritas NetBackup™ Commands Reference Guide

Name

tpunmount — remove a tape volume from a drive and a tape file from the directory

SYNOPSIS

tpunmount [-f] filename [-force]

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

tpunmount removes a tape file from the directory and physically removes the tape volume from the drive (if the media was mounted).

On UNIX systems, when tpunmount is executed for drives, a call is made to execute the drive_unmount_notify script. This script allows user special-handling to occur. Control is then returned to tpunmount to resume processing. The script resides in the /usr/openv/volmgr/bin/goodies directory. To use this script, activate it and copy it into the /usr/openv/volmgr/bin directory. The script is called from the tpreq command for only the drives that are in robots. The script is not valid for standalone drives or NDMP drives.

Standalone drives are not unloaded when the DO_NOT_EJECT_STANDALONE option is specified (and the -force option is not specified). This option is now stored in EMM.

The tape file and the device must be closed before you can use tpunmount.

You must have administrator privileges to run this command.

OPTIONS

-f filename

Specifies the file that is associated with the media. You must specify a file name. The specification of -f before filename is optional.

-force

Ejects the volume from a standalone drive, even if DO_NOT_EJECT_STANDALONE is specified in the EMM database.

EXAMPLE

The following command unmounts the tape volume that is associated with file tape1 and removes the file from the current directory:

# tpunmount tape1

SEE ALSO

See tpreq.

Feedback

Was this page helpful?
Previous

tpreq

Next

verifytrace

Feedback

Was this page helpful?