Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2012, 03:42 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
Question Cannot trace file writing


I tried to write some tar files to magnetic tape and i am using "tar command". When i give "tar -cvf /dev/st0 /home/*.tar" it just show the name of the file and nothing and i tried to check the contents of magnetic tape using "tar -tzf /dev/st0" it gave the following error
"gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now"

please help me...
Old 07-11-2012, 12:09 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Drop the -z when trying to get the table of contents off the tape, it is looking for gziped contents. Tar will only show the filename when it writes it to tape. It may also write out a byte count when its done, but it's been a long time since I used a tape with tar.

If the -tf shows that the file is on the tape, try to extract it to a new directory with -xvf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sir, While installing ns2.34 on fedora 16 got the error : trace/ 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 04:35 AM
problem with trace file tootz Linux - Software 0 03-24-2011 01:34 AM
[SOLVED] trace writes to file BenCollver Linux - Server 4 12-05-2010 12:30 PM
detect file deletion on an operating system and trace the file history or activity? lovsis Linux - Security 2 10-19-2010 09:52 AM
How to trace and disable the HTTP TRACE method in Apache 1.3.33 with FreeBSD? SomnathG Linux - Security 1 11-11-2008 10:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration