TapeTool - UNIX

Updated

You can perform the following functions when you run the TapeTool command on the UNIX platform.

  • Launching TapeTool

  • Reading Data

  • Writing Data

  • Displaying On Media Label

Launching TapeTool

  1. Before you start using TapeTool, stop backups/restores on the MediaAgent.

  2. At [CV_Install_Dir]/Base, type the following command:

    # ./TapeTool
        
    

    The TapeTool screen appears.

  3. Press Enter to initiate the SCSI bus scan.

    A list of detected tape devices appears.

    Example output:

    TapeTool - UNIX (5)

Reading Data

  1. Type the number for the device node that you want to read from, and then press Enter.

  2. Type 1 to read data from the selected tape.

  3. To reposition the tape before starting to read, type the file marker, which is the number for the location on the tape where the file is to be read.

  4. Type the block size to use when accessing the tape, and then press Enter twice to start reading.

  5. Press Enter to continue.

    Note

    All read data is discarded to /dev/null.

    Example output:

    TapeTool - UNIX (6)

Writing Data

Note

Use the Write option with scratch tape media, because it might overwrite any tape media that is currently active with valid data.

  1. Type the number of the device node that you want to write data to, and then press Enter.

  2. Type 2 to write data to the selected tape directory.

  3. Type the file marker to reposition the tape before starting to write.

  4. Type 0 to write the entire data in a single chunk.

  5. Type the chunk size in MB.

  6. Type the number of MB to write, and then press Enter to start writing.

  7. Press Enter to continue.

    Example output:

    TapeTool - UNIX (7)

Displaying On Media Label (OML)

  1. Type 3 to read and display the OML.

  2. Press Enter to continue.

    Example output:

    TapeTool - UNIX (8)