troubleshooting tape

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bob Holtzman
Date:  
Subject: troubleshooting tape
On Fri, 7 Nov 2003, Alan Dayley wrote:

> On Friday 07 November 2003 10:46 pm, Bob Holtzman wrote:
> > I just had a Seagate Tapestor 40Gb Travan drive installed in my
>
> I am not familiar with Travan drives BUT, let's see if my guesses might spur
> your thoughts.
>
> > RH7.3 box. The drive is detected on /dev/ht0 which is correct.
> > When I ran mt -f /dev/ht0 reten it returned an message aboutan I/O
> > error and an unrecoverable error. When I tried to create an archive
>
> I don't know about this error. Do you have more information? Did the tape
> activity light blink so you know it was hit with a command?


The drive appeared to be working. The light was blinking after the
command.

> > ( I should have known better ) I got:
> >
> > [root@localhost root]# tar cvf /dev/ht0 home
> > tar: home: Cannot stat: No such file or directory
> > tar: /dev/ht0: Wrote only 0 of 10240 bytes
> > tar: Error is not recoverable: exiting now
>
> - From your command line prompt, "[root@localhost root]" I assume you were in
> the /root directory. The command line that you issued requested the backup
> of the /root/home directory. Does this directory exist? Did you mean to
> backup the /home directory instead?


Tried it both ways ( home and /home ) from the /root and / directories.
>From the / cirectory I get:


[root@localhost /]# tar cvf home /dev/ht0
tar: home: Cannot open: Is a directory
tar: Error is not recoverable: exiting now
[root@localhost /]# tar cvf /home /dev/ht0
tar: /home: Cannot open: Is a directory
tar: Error is not recoverable: exiting now

which really snows me. I can't understand why tar run as root can't open a
directory. I've never had trouble with this command before. The messages
log shows nothing pertaining to this.

> > /var/log/messages showed:
> >
> > Nov 7 22:12:24 localhost su(pam_unix)[5745]: session opened for user root
> > by holtzm(uid=500)
> > Nov 7 22:13:06 localhost kernel: ide-tape: ht0: I/O error, pc = a, key =
> > 5, asc = 22, ascq = 0
>
> The key, asc and ascq values are response codes. In this case 5,22,0. I
> believe they are actually hexidecimal values, at least they would be in the
> SCSI world. A key value of 5 indicates an illegal request. The asc and ascq
> are extended sense key codes indicating that the illegal request was an
> illegal function. (Seagate has some pretty extensive drive documentation on
> their support site. Go try them. These key code values are at:
> http://www.seagate.com/support/kb/disc/scsi_sense_keys.html and the extended
> key values are at:
> http://www.seagate.com/support/kb/disc/scsi_sense_error12-13.html. Look
> around there some more as there may be lots of information for your
> particular drive. Maybe start here in the "Disc Knowledge Base"
> http://www.seagate.com/support/kb/disc/index.html).


I'll get on these as soon as I have some time. Many thanks for the
pointers.

-- 
Bob Holtzman
"Your email is being read by hundreds of uptight agents
who never saw the humor in Dr. Strangelove."
                                           Mark Russell