1837776 Members
3508 Online
110119 Solutions
New Discussion

tar : tape error (5)

 
SOLVED
Go to solution
VIRENDER SINGH_1
Occasional Contributor

tar : tape error (5)

Hi,

oracle 10g 10.2.0.1 with rac
OS :HP-UX 11i

I am working as oracle dba.
when i am taking backup's on tape(HP DDS-4)some of files are copying and after sometime i am getting the TAR: TAPE ERROR(5).

I am using this command-

/usr/bin/tar cvf /dev/rmt/0m ora*
/usr/bin/tar rvf /dev/rmt/0m ora*

what the problem is and how to get rid of it ?

Please help.
Thank.
4 REPLIES 4
Mridul Shrivastava
Honored Contributor
Solution

Re: tar : tape error (5)

There are many threads about this error in the forum:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=885370

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=850018

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=850247


Try cleaning the drive it will resolve the issue.

Regards,

Mridul
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor
Tim Nelson
Honored Contributor

Re: tar : tape error (5)

95% of the time it is a bad tape, dirty drive, or bad drive.

Clean drive, replace with new tape, test.

I do not recall ever seeing and error in the format like "TAR: TAPE ERROR(5)" but you never know. Typically you get a simple "io error".



Mridul Shrivastava
Honored Contributor

Re: tar : tape error (5)

you have assigned points to 0 of 10 responses to my questions.

So please take sometime to assig points if it resolves ur problem so the person spending there time in answering gets some credit.
Time has a wonderful way of weeding out the trivial