Solved

Tar to/from Aiwa Travan 20 SCSI Tape drive

Posted on 2000-05-09
7
302 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
  • 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Accepted Solution

by:
tzanger earned 300 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now