Tape drive problems

Posted on 2005-04-29
Last Modified: 2010-04-20
I'm using a TAPE streamer at the moment but don't have any idea how to use this device

i used:
mt -f /dev/st0 erase #to delete all the files on it!

How do i put files on the tape device? i know you can use TAR and CPIO, but how ?
And i also couldn't find how to read what is on the disk and how to withdraw it.

ps: do i need to create a partition on a empty tape ?
thnx in advance
Question by:Mr-sark
    LVL 1

    Expert Comment


    Give flexbackup a try. Its simple to use and effective:


    LVL 16

    Accepted Solution

    to write to the tape:

    tar -cvf /dev/st0 <path to write to tape>

    to list the tape contents:

    tar -tvf /dev/st0

    to restore from the tape:

    tar -xvf /dev/st0 <path to restore>

    no, you don't create partitions on your tape drive - just write to it.

    to rewind it:
    mt rewind

    to eject it:
    mt offline

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now