Operating System - HP-UX
1834604 Members
4280 Online
110069 Solutions
New Discussion

Make_tape_recovery failure

 
SOLVED
Go to solution
mohnkern
Advisor

Make_tape_recovery failure

I have an HP-UX 10.20 box that I am attempting to run a make_tape_recovery on.

We do this monthly, and last months ran fine.

However two months ago, we were encountering problems, they assumed it was the main board, the technician came out, ended up not replacing anything (the part he had was bad) and he reassembled everything, and it worked just fine.

The command we're using:

make_tape_recovery -v inc_entire=vg00

The error:

ERROR: Failed to open tape device /dev/rmt/0mn:I/O error (errno = 5).
ERROR: Check tape device failed.


results of an mt

$mt -t /dev/rmt/0mn status
/dev/rmt/0mn: I/O error

ioscan is attached.

I've tried swapping tapes to no effect.

Help is greatly appreciated.





10 REPLIES 10
David Child_1
Honored Contributor
Solution

Re: Make_tape_recovery failure

This could be a problem with the tape drive. Can you use 'tar' to verify that you can write to it?

e.g. cd /tmp; tar cvf /dev/rmt/0mn ./*

David
F Verschuren
Esteemed Contributor

Re: Make_tape_recovery failure

sounds like a broken tape unit.

what is the output of ioscan -fnC tape?
are there lights blinking?
Fabian Briseño
Esteemed Contributor

Re: Make_tape_recovery failure

Hello.

Sound like a tape problem, also check for patches, you should be able to find patches for 10.20.

ftp://ftp.itrc.hp.com/archived_patches/


also, this is what you wrote.
make_tape_recovery -v inc_entire=vg00

it should be
make_tape_recovery -v -x inc_entire=vg00

Knowledge is power.
mohnkern
Advisor

Re: Make_tape_recovery failure

Answers to two previous questions:

$cd /tmp
$tar cvf /dev/rmt/0mn ./*
tar: cannot open /dev/rmt/0mn
$


[water_root]$ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
tape 0 10/0/15/0.3.0 stape NO_HW DEVICE ARCHIVE Python 04106-XXX
/dev/rmt/0m /dev/rmt/c2t3d0BEST
/dev/rmt/0mb /dev/rmt/c2t3d0BESTb
/dev/rmt/0mn /dev/rmt/c2t3d0BESTn
/dev/rmt/0mnb /dev/rmt/c2t3d0BESTnb
Fabian Briseño
Esteemed Contributor

Re: Make_tape_recovery failure

Hello.

Is this an external drive ?
Knowledge is power.
F Verschuren
Esteemed Contributor

Re: Make_tape_recovery failure

NO_HW meens you can not asses it so 4 poseble reasons
1 tape divice broken
2 scsi cable broken if it is a external tape unit
3 scsi cart broken
4 problems on the i/o shasi (main board)
5 tape unit turned of (but then you can not change the tapes.

So unless you have a spare tape unit it is time to call a hp engenier
mohnkern
Advisor

Re: Make_tape_recovery failure

Yes, external drive.
Fabian Briseño
Esteemed Contributor

Re: Make_tape_recovery failure

Hello.
see F Verschuren post he gives some good directions as to what might be wrong.

also If I remember correctly this external tapes drives had an SCSI terminator, check that out maybe its failing or not there.
Knowledge is power.
mohnkern
Advisor

Re: Make_tape_recovery failure

Checked the terminator, it was in place. The cable looked good. Will probably try a different tape drive (We've got a DDS1 around somewhere) and then call HP.
Jeeshan
Honored Contributor

Re: Make_tape_recovery failure

Hi

please check the following steps if you followed to get the failure
1.If the drive is hot pluggable, unplug it from vay then plug it.
2. check the scsi cable if its tghtly attached or not.
3. check the terminator to follow the 2nd step.
4.then check the tape from ioscan
ioscan -fnC tape
if it still show the NO-HW.
5.if you have another drive from another bay or same bay unplug from that bay and put it in your problems bay.
if then you found the NO-HW is not showing then u must have tape drive failure
then contact with HP for replacement.
a warrior never quits