Quote:
Originally Posted by szboardstretcher
Here is a test I JUST ran successfully on my tape array:
Code:
# Load a tape and rewind
mtx -f /dev/changer status
mtx -f /dev/changer load 0 1
mt -f /dev/st0 rewind
# Tar and compress a text file to the tape
tar -czvf /dev/st0 /root/testing1.txt
# Look at the contents of the tape
tar tvf /dev/st0
# Restore the file from the tape
mkdir /tmp/restore && cd /tmp/restore
tar -xzvf /dev/st0 root/testing1.txt
What I am concerned about is that you cannot list the contents of the tape. Once we have that part nailed down, restoration is simple. If listing has worked, please provide the list contents.
|
yeah, it's looking like I can't list the contents of the tape. Just now I;
1. rewound the tape
2. created a test file (/root/test.txt)
3. tar and compress file to tape, which gave the output:
Code:
tar: Removing leading `/' from member names
/root/test.txt
4. tried to look at the contents of the tape as you suggested, which gave no output
Thanks again for all your replies, it's very much appreciated!