Showing results for 
Search instead for 
Did you mean: 

SAP Backup problem

Occasional Contributor

SAP Backup problem

When I am trying to initilize tape through. I am getting following error

BR0477I Oracle pfile /oracle/RD1/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/RD1/DEV/102_64/dbs/spfileDEV.ora
BR0205I Backup volume initialization
BR0058I BRBACKUP action ID: bdzbarpw
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: 2008-10-17 19.06.49
BR0226I Rewinding tape volume in device /dev/rmt/0m ...
BR0278E Command output of 'LANG=C mt -f /dev/rmt/0m rew':
/dev/rmt/0m: No such device or address
BR0280I BRBACKUP time stamp: 2008-10-17 19.06.49
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: 2008-10-17 19.06.49
BR0054I BRBACKUP terminated with errors



Re: SAP Backup problem

I would say one of:

i) You have no tape in the drive /dev/rmt/0m
ii) You have no drive /dev/rmt/0m
iii) You have the kernel parameter st_san_safe set to 1 and this prevents you from opening "rewind on close" device files like /dev/rmt/0m.



I am an HPE Employee
Accept or Kudo
Honored Contributor

Re: SAP Backup problem

As said, no tape in drive.
Or an other device name related to tapedrive must be used.

"ioscan" with suitable parameters should give you the tapedevice filename.
Ensure that tar can backup and restore from the drive first.

If your effective devicename differs, you need to setup the correct values in file

Btw.: This looks a bit like a scrambled setup compared to the standard.
ORACLE_HOME for DEV should be
Second: you should not use SCRATCH as the actual volume name for a real backup.