[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Tar to/from Aiwa Travan 20 SCSI Tape drive

Posted on 2000-05-09
7
Medium Priority
?
311 Views
Last Modified: 2013-12-15
The problem has changed.

I terminated both the 2940UW SCSI card and the AIWA Travan 20 (QIC/TR-5) tape drive.  I set the SCSI controller to the lowest transfer rate, 10M/sec, and made it asynchronous.  This was suggested by a respondant.  Here's what I got from the "dmesg"

(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 13/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Downloading sequencer code... 419 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
       <Adaptec AHA-294X Ultra SCSI host adapter>
scsi : 1 host.
  Vendor: AIWA      Model: TD-20001          Rev: 0159
  Type:   Sequential-Access                  ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
(scsi0:0:4:0) Using asynchronous transfers


Now the tape drive keeps blinking orange with a tape and I get this error everytime I try to send a command to the Tape Drive:

/dev/st0: Input/output error

I tried reverting back to the oringinal settings but I keep getting the same error.  If someone has an idea of what is happening, can you share it with me.  Much obliged.



Fustrated Pat








I used Modprobe to install my Adaptec 2940UW and it seems to identify my tape drive too.  When I do a "tar cvf /dev/st0 /bin"  It goes through all the files of the /bin directory, and the tape starts spinning.  Then at the end, I get these error messages:

st0: Error with sense data: Current error st09:00: sense key Medium Error
Additional sense indicates Write error
st0: Error on write file mark
st0: Error with sense data: extra data not valid Current error st09:00: sense key Medium Error
Additional sense indicates Write error
tar: WARNING : Cannot close /dev/st0 (3, -1): Input/Output error

So does anybody know what this means and how I can get my tape drive to wrok properly.


Pat


0
Comment
Question by:patnut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 2

Expert Comment

by:tzanger
ID: 2798529
Try the obvious first: make sure your termination is done properly.  SCSI tapes like to have parity set too (it's usually a jumper option)

after that try mt retention and see if it works.  

You may also wish to try dumping a testfile

dd if=/dev/zero of=myfile bs=1k count=10000  (create a 10 meg file)
tar cvf /dev/st0 myfile

and see if you get the same errors.
0
 

Author Comment

by:patnut
ID: 2798571
Edited text of question.
0
 

Author Comment

by:patnut
ID: 2798593
Adjusted points from 100 to 300
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Accepted Solution

by:
tzanger earned 900 total points
ID: 2798646
Sounds like it is no longer recognizing the tape.  Couple possibilites

- heads dirty (not as uncommon as you think)
- tape wound itself off the spool (happens if the tape drive isn't clean
- bad tape -- have you tried another?
0
 

Author Comment

by:patnut
ID: 2964456
Comment accepted as answer
0
 

Author Comment

by:patnut
ID: 2964457
I actually had a bad tape drive
0
 
LVL 2

Expert Comment

by:tzanger
ID: 2964681
so are your tape problems over now or are you constantly getting I/O errors?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 20 hours left to enroll

656 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