mtd

Table of Contents

General Description

"mtd" is a command line utility to:

  • Create a CHARON tape image from a physical tape.

  • Write a tape image to a physical tape.
  • Convert tape images formats.
  • Test a tape container integrity.

To start the utility open "cmd.exe" in the Start menu and switch to the CHARON installation folder then the "\Build_XXX\xXX" child folder where the utility is located.

Usage

The following are examples of the usage syntax:

Dump tape content to file:

...> mtd [options] <tape device name> <tape container name>

Restore dump to tape:

...> mtd [options] <tape container name> <tape device name>

Convert formats:

...> mtd [options] <tape container name> <tape container name>

Examine tape dump and check its integrity:

...> mtd [options] <tape container name>

Options:

ParameterDescription
-l <file name>

Creates a log file. The name is "file name".

-r <number>Specifies a number of attempts to read a damaged data block
-i

Ignore bad blocks and continue processing w/o interruption. It implies "-r 0"

-nDo not rewind tape
-pDisable progress reporting
-v

Enable verbose tracing of data transfer (implies "-p")

-sWrite tape image in Charon-AXP/SMA (named SMA further) format
-gGather statistics and print upon completion
-aDo not print logo


Examples:

...> mtd -l tape1.txt -r 10 \\.\Tape0 "C:\Charon\Tapes\tape1.vtape"


...> mtd "C:\Charon\Tapes\tape1.vtape" \\.\Tape0

Tape container formats transfer

Use the following syntax to transfer the CHARON-AXP/SMA tape container format to the CHARON-AXP/VAX/PDP one:

...mtd <SMA tape container name> <AXP/VAX/PDP tape container name>

Example:

...mtd C:\charon\tapes\sma_tape.vtape C:\charon\tapes\axp_tape.vtape

Use the following syntax to transfer the CHARON-AXP/VAX/PDP  tape container format to the CHARON-AXP/SMA one:

...mtd -s <AXP/VAX/PDP tape container name> <SMA tape container name>

Example:

...mtd -s C:\charon\tapes\axp_tape.vtape C:\charon\tapes\sma_tape.vtape




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.