?
Solved

Tar to/from Aiwa Travan 20 SCSI Tape drive

Posted on 2000-05-09
7
Medium Priority
?
310 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, left to enroll

752 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