Solved

External Tape Drive error

Posted on 2007-03-27
6
434 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Accepted Solution

by:
tiggrdave earned 350 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 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

10 Experts available now in Live!

Get 1:1 Help Now