Solved

External Tape Drive error

Posted on 2007-03-27
6
436 Views
Last Modified: 2010-05-18
This is a silly question, however I want to make sure my troubleshooting logic is sound. I have a HP Proliant ML 570 Server with an external HP Dat 40 tape drive. I am receiving the following errors:

[me@linuxbox]~>tar -tvf /dev/st1
tar: /dev/st1: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

I am running RH ES 4.3. I have tried to clean the tape drive, reboot the server to clear the SCSI Bus. The permissions for the drive are correct. I believe the tape drive is just a dud and needs to be replaced. I have also tried to use the mt -f /dev/st1 retension, rewoffl, and other commands to get it to work. Is there something else I am missing or am I correct with my logic?
0
Comment
Question by:jd_mcgill
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:tiggrdave
ID: 18804537
What results do you receive when you run
mt -f /dev/st1 status      

This will tell you if the drive is being recognized and able to report.

0
 

Author Comment

by:jd_mcgill
ID: 18805831
Hello again,

I now have two servers with the same issue. Here is the output of the tape status command for both servers:

[root@linuxbox]/>mt -f /dev/st1 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (4050000):
 WR_PROT DR_OPEN IM_REP_EN



[root@linuxbox2]/>mt -f /dev/st1 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x24 (DDS-2).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN

Please keep in mind, both of these tape drives are reporting the same error I reported earlier today.

Thanks,
0
 

Author Comment

by:jd_mcgill
ID: 18808236
Just to let anyone know.. I have already replaced the external tape drives this morning and my backups are working again. However, I just want to know if I could have done something different than having to replace them. If no one else comments to this question, TiggrDave will get all the points.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 1

Accepted Solution

by:
tiggrdave earned 350 total points
ID: 18809327
Did you replace the tape drives with like units or a new type of unit?  If a new type of tape drive have you performed any type of driver or system update between your last use of the original drives and when you noticed the failures? I realize that you have solved your immediate problem, I just hate not know ing exactly what is wrong in this type of circumstance.

0
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 150 total points
ID: 18812425
Your first mt -f /dev/st1 status showed no tape in the drive. That iswhat DR_OPEN measn (shor for Door Open, from historic times when reel to reel tape decks had doors (and vacuum chambers, and ...). Also file & block number being negative indicates it doesn't know the tape position (if it thought a tape was loaded, which it doesn't). Try again with a tape definitely in,
make sure it's recognised.

Your second mt -f /dev/st1 status shows a tape in the drive. But its density code is only DDS-2 - is that the kind of tape it really was? Mine shows DDS-3 for a DDS-3 tape, DDS (61000 bpi) for an old one, DDS-2 when appropriate (tape scrounged from work).
Oops I see new tape drives fixed it
0
 

Author Comment

by:jd_mcgill
ID: 18821082
Hey Guys,

Sorry for the delay with this reply. I wanted to make sure I get these points out to you and also answer your last questions.

TiggrDave: I didn't do any new system diags or new drivers from the time of the Tape Failures to the time I replaced the drives. The drives were refurbished HP Super Dat 40 drives. They came from our maintenance vendor. I wish they were brand new.  I understand what you mean, but I had to get this resolved as soon as possible.

Duncan Roe: You are absolutely correct the first tape drive status was for a system that didn't have a tape in it, but with one in there the same issue happened. The tapes we use are in fact DDS-2 tapes. Also the tapes are brand new (Right out of the package). I just don't understand how two drives could go bad in less than 12 hours from one another. However, hardware is prone to break.

Here is the point breakdown:
TiggrDave: 350
Duncan Roe:150

Hey, just the fact you guys communicated was enough for me.

Cheers!!
0

Featured Post

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.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

920 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

15 Experts available now in Live!

Get 1:1 Help Now