cancel
Showing results for 
Search instead for 
Did you mean: 

error in rewinding the tabe

oracle Backup
Occasional Advisor

error in rewinding the tabe

hi
We have installed mysapERP 2004 on HP unix 11i . we are able to take normal os backup. but when we try to take a backup through SAP we are facing the problem. The backup device is LTO ultrium 3 with 800 GB capacity. I have attached the log which i have got while taking backup through sap.

Error is as follows
Job started
Step 001 started (program RSDBAJOB, variant &0000000000000, user ID ADMIN)
Execute logical command BRBACKUP On host ibpsap
Parameters: -u / -i force -c force -n 1 -v SCRATCH
BR0051I BRBACKUP 6.40 (34)
BR0055I Start of database backup: bdrqwnvp.tib 2006-01-05 10.49.17
BR0477I Oracle pfile /oracle/IBP/920_64/dbs/initIBP.ora created from spfile /oracle/IBP/920_64/dbs/spfileIBP.ora
BR0205I Backup volume initialization
BR0058I BRBACKUP action ID: bdrqwnvp
BR0059I BRBACKUP function ID: tib
BR0102I Following backup device will be used: /dev/rmt/0mn
BR0131I All volumes get the name SCRATCH
BR0129I Force option set - no label checking during initialization
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0207I Volume in device: /dev/rmt/0mn will be initialized with name: SCRATCH
BR0280I BRBACKUP time stamp: 2006-01-05 10.49.17
BR0226I Rewinding tape volume in device /dev/rmt/0m ...
BR0278E Command output of 'LANG=C mt -f /dev/rmt/0m rew':
/dev/rmt/0m: Invalid argument
BR0280I BRBACKUP time stamp: 2006-01-05 10.49.17
BR0279E Return code from 'LANG=C mt -f /dev/rmt/0m rew': 1
BR0213E Winding tape volume in device /dev/rmt/0mn failed
BR0219E Initialization of volume SCRATCH in device /dev/rmt/0mn failed
BR0206I End of backup volume initialization
BR0280I BRBACKUP time stamp: 2006-01-05 10.49.17
BR0054I BRBACKUP terminated with errors
External program terminated with exit code 3
BRBACKUP returned error status E
Job finished



Please can anybody solve this issue.
Regards
Prasanna.B.S



12 REPLIES
Torsten.
Acclaimed Contributor

Re: error in rewinding the tabe

Your log says:

BR0278E Command output of 'LANG=C mt -f /dev/rmt/0m rew':
/dev/rmt/0m: Invalid argument


So perhaps this isn't the correct device. Check your device with

ioscan -fnCtape

Maybe the device is something like 1m, not 0m, if you have multiple drives or you did connect the same device with different SCSI IDs.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
oracle Backup
Occasional Advisor

Re: error in rewinding the tabe

I have executed the command
ioscan -fnCtape
root @ ibpsrv1 : / >ioscan -fnCtape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/6/1/0.3.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/0m /dev/rmt/1mn
/dev/rmt/0mb /dev/rmt/1mnb
/dev/rmt/0mn /dev/rmt/c6t3d0BEST
/dev/rmt/0mnb /dev/rmt/c6t3d0BESTb
/dev/rmt/1m /dev/rmt/c6t3d0BESTn
/dev/rmt/1mb /dev/rmt/c6t3d0BESTnb

which is device i can use
Please let me know
Regards
Prasanna.B.S

Torsten.
Acclaimed Contributor

Re: error in rewinding the tabe

Try to remove and recreate the device files.

rmsf -H 0/6/1/0.3.0
insf -H 0/6/1/0.3.0

or use SAM to re-create the device file.
(peripheral device -> tape -> actions -> recreate)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
john korterman
Honored Contributor

Re: error in rewinding the tabe

Hi,

have you tried executing

# LANG=C mt -f /dev/rmt/0m rew

directly on the command line? Does it return the same error?

regards,
John K.
it would be nice if you always got a second chance
oracle Backup
Occasional Advisor

Re: error in rewinding the tabe

hi
I have tried the following command
LANG=C mt -f /dev/rmt/0m rew

it says
/dev/rmt/0m:invalid argument

Regards
Prasanna.B.S
john korterman
Honored Contributor

Re: error in rewinding the tabe

Hi again,

there seems to be something seriously wrong with the device file: you mention that you could take normal os backup. Did you use the same device for that? If not, try using the device used for os backup.
Have you tried Torsten's suggestion?

regards,
John K.
it would be nice if you always got a second chance
oracle Backup
Occasional Advisor

Re: error in rewinding the tabe

hi
I have taken os level backup using
tar cvf /dev/rmt/0mn /software/newkernel
completed successfully
but when I tried to read it
using tar tvf /dev/rmt/0mn
it is giving following error

root @ ibpsrv1 : / >tar tvf /dev/rmt/0mn
Tar: tape read error

please let me know what is the issue

Regards
Prasanna.B.S
John C. Shoemaker
Occasional Advisor

Re: error in rewinding the tabe

The other suggestions are solid, but if the reasonable approach doesn't work, then it might be time to consider the wild cards:

In the past, with other combinations of drives and backup products, I've had these problems:

Once, a coworker defined one of four tape drives wrong in the backup product which gave intermitant service on that particular drive. Actually, I was surprised it worked at all.

Another time, "somebody" cabled the tape storage unit wrong.

Another time, a third party engineer loaded the wrong mico-code or firmware into an HP branded tape unit causing it to freak out a bit.

Another time, a third party backup product was unable to understand the order in which the drives were cabled thinking they could only be arranged "vertically" and not "horizontally." So, we manipulated the file accordingly. My HP engineer ran into a similar problem at an auto plant where he was working at about the same time and decided to move the actual cables to the order the software expected.
Function in disaster; finish in style.
oracle Backup
Occasional Advisor

Re: error in rewinding the tabe

hi

I have changed the device for rewind from /dev/rmt/0mn to /dev/rmt/0m .
Now I am getting an different error
Please let me know how can I solve this issie
REgards
Prasanna.B.S
Torsten.
Acclaimed Contributor

Re: error in rewinding the tabe

Like I suggested earlier, please delete the device files and re-create them. I'm pretty sure this will solve your problem.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OldSchool
Honored Contributor

Re: error in rewinding the tabe

The ioscan indicates that the tape is device 1m or 1mn (non-rewind). What happens if you use that devices w/ the application's backup software?
oracle Backup
Occasional Advisor

Re: error in rewinding the tabe

hi
We have sorted out the problem. Contacted HP person he has given the solution

# cd /dev/rmt
# mv 0m test
# ln -s omn om

This solved our issue.

I am able to take backup from sap application.
Thanks for all your suggestion

Regards
Prasanna.B.S