tpunmount

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

SYNOPSIS

<volmgr_dir_path>tpunmount [-f] filename [-force]

On Windows systems, <volmgr_dir_path> 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).

Stand-alone 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 stand-alone 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

tpreq