LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 11-23-2010, 05:13 PM   #1
TVFilm73
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
tar: /dev/nst0: input/output error


Hi All!

I have a Cache-A LTO-4 tape drive and I'm getting an input/output error when I run the following command: time tar -xvf /dev/nst0 -b 256.

Any ideas on how I can get around this error?

Also, here's the exact error I'm getting:

tar: /dev/nst0: cannot read: Input/Output error

Oh and I'm using GNU Tar v1.2 software.

Any help would be greatly appreciated.

Thanks!
 
Old 11-23-2010, 05:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,266

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Quote:
tar -xvf /dev/nst0 -b 256
If what you posted was the exact command used then you do not specify any files/directories to write to tape.

i.e.
tar -xvf /dev/nst0 -b 256 /home
 
Old 11-23-2010, 06:10 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Quote:
Originally Posted by michaelk View Post
If what you posted was the exact command used then you do not specify any files/directories to write to tape.

i.e.
tar -xvf /dev/nst0 -b 256 /home
Maybe I am misunderstanding here, but isn't the -x option for extracting from the tape?
 
Old 11-23-2010, 06:30 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,266

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Thanks, I was multitasking and misinterpreted the question. My bad the OP is trying to read from tape not write....

How did you create the data on tape? You are using nst0 but is the tape positioned at the correct spot?
 
Old 11-23-2010, 06:55 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...-error-846103/
 
  


Closed Thread


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
Tar Input/Output Error TVFilm73 Linux - Software 1 11-23-2010 05:44 PM
dd: /dev/hdc: input/output error DeepSix713 Linux - Software 3 04-06-2010 06:05 AM
tar on /dev/st0 input/output error Alkisx Slackware 5 04-17-2006 12:18 PM
/dev/hdc : Input/output error tulip4heaven Linux - Software 3 04-27-2005 01:03 PM
tar: /dev/nst0: Cannot open: No such device evallejo Linux - Software 4 09-02-2004 03:00 PM


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

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