Operating System - HP-UX
1753408 Members
7017 Online
108793 Solutions
New Discussion юеВ

error message when issue make_tape_recovery

 
SOLVED
Go to solution
hpuxhelp
Regular Advisor

error message when issue make_tape_recovery

Is there anything that I need to do prior running
make_tape_recovery
ERROR: Failed to open tape device /dev/rmt/0mn:I/O error (errno = 5).
ERROR: Check tape device failed.
10 REPLIES 10
Pete Randall
Outstanding Contributor
Solution

Re: error message when issue make_tape_recovery

Steven,

1) Do you have a tape device at that address - check with ioscan -kfnCtape?

2) Are you using a new tape?

3) Has the drive been cleaned recently?

Pete

Pete
Sridhar Bhaskarla
Honored Contributor

Re: error message when issue make_tape_recovery

Pete covered all grounds.

Try to keep another tape and see if it works.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
hpuxhelp
Regular Advisor

Re: error message when issue make_tape_recovery

ape 0 10/16/4.5.0 tape2 CLAIMED DEVICE QUANTUM DLT7000
/dev/diag/rmt/c6t5d0 /dev/rmt/c6t5d0BEST
/dev/rmt/0m /dev/rmt/c6t5d0BESTb
/dev/rmt/0mb /dev/rmt/c6t5d0BESTn
/dev/rmt/0mn /dev/rmt/c6t5d0BESTnb
/dev/rmt/0mnb


ioscan showed that tape is there.
This is a brandnew tape ....do i have to initialize it
Ian Dennison_1
Honored Contributor

Re: error message when issue make_tape_recovery

mt -f /dev/rmt/0m rew

Will return a return code ($?) of Not Zero if there is no tape in the drive or the drive is not ready.

Best done before all tape backup commands within a script.

Share and Enjoy! Ian
Building a dumber user
Sridhar Bhaskarla
Honored Contributor

Re: error message when issue make_tape_recovery

Hi Steven,

That's your next best bet. Mediainit and see if it works.

mediainit /dev/rmt/0m

If it fails, clean the drive and try again.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
hpuxhelp
Regular Advisor

Re: error message when issue make_tape_recovery

mt -f /dev/rmt/0m rew
/dev/rmt/0m: I/O error
# mediainit /dev/rmt/0m
mediainit: can't open file /dev/rmt/0m - I/O error


I got I/O error when I tried to issue the above command
Pete Randall
Outstanding Contributor

Re: error message when issue make_tape_recovery

Steven,

It might be a hardware problem with the drive. Do you have a support contract?

Pete

Pete
hpuxhelp
Regular Advisor

Re: error message when issue make_tape_recovery

I do...but I want to exhausted all the options before I called them...with your help...

How do I check on the hardware level on what it is supposed to be?
Patrick Wallek
Honored Contributor

Re: error message when issue make_tape_recovery

Have you checked the basics on the tape drive? Is it powered up? Are the SCSI cables plugged in? Is it properly terminated?

Have you tried a different tape?

If all else fails, place your hardware call.