Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TopUtilPageTOCTopUtilPage
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Table of Contents

Table of Contents
excludeTable of Contents

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

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.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Usage 

The following is an example 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 SMA 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

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Tape container formats transfer

Use the following syntax to write the content of a transfer the CHARON-SMA tape container to a physical tapeformat to the CHARON-AXP/VAX/PDP one:

...>mtd <tape <SMA tape container name> <tape device 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-SMA one:

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

Example:

...mtd "-s C:\Charoncharon\Tapestapes\tape1.vtape" \\.\Tape0

...

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

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc