mtd

Table of Contents

Description

The "mtd" utility is used to:

  • Create a CHARON tape image from a physical tape
  • Write a tape image to a physical tape.

Usage is the following:

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

Parameters:

MTD - CHARON Magnetic Tape Dump & Restore utility, Version 2.7 (Build 20403)
Copyright (C) 2009-2020 STROMASYS SA. All rights reserved.


Usage: mtd [options] <tape-drive-name> <file-name> - dump tape content to file
       mtd -//- <file-name> <tape-drive-name> - restore dump to tape
       mtd -//- <file-name> <file-name> - convert formats


Usage for diagnostic purposes:
       mtd -//- <tape-drive-name> - examine tape content
       mtd -//- <file-name> - examine tape dump and check integrity


        <tape-drive-name> - tape drive
              <file-name> - name of tape container file (.mtd or .vtape)


Options:   -l <file-name> - log file name (.log)
           -n - do not rewind tape
           -r <number> - number of attempts to retry failing tape reads
           -i - ignore failing tape reads (implies -r 0)
           -p - disable progress reporting
           -v - enable verbose trace of data transfer (implies -p)
           -s - write tape image in SMA format
           -g - gather statistics and print upon completion
           -a - do not print logo

Example:

$ mtd -l tape1.txt -r 10 /dev/st5 /charon/tapes/tape1.vtape

Tape container to physical tape transfer

Use the following syntax to write the content of a tape container to a physical tape:

$ mtd <tape container name> <tape device name>

Example:

$ mtd /charon/tapes/tape1.vtape /dev/st5

Tape container formats transfer

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

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

Example:

$ mtd /charon/tapes/sma_tape.vtape /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 /charon/tapes/axp_tape.vtape /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.