on 07-19-2010 8:13 AM
hi Experts,
here iam facing a problem and i tried for that so much and i didn't get salvation ,please try to solve my problem if any body knows ..its requesting
that i want to take backup of my Dev system and i connect my tape drive to my system and i scheduled backup by DB13
but that back up was canceled and below are shown error report
19.07.2010 13:10:08 Job started
19.07.2010 13:10:08 Step 001 started (program RSDBAJOB, variant &0000000000070, user ID SAL_BASIS)
19.07.2010 13:10:08 Execute logical command BRBACKUP On host saldev
19.07.2010 13:10:08 Parameters:-u / -jid TAPIN20100719130920 -i force -c force -n 1 -v SCRATCH
19.07.2010 13:10:08 BR0051I BRBACKUP 7.00 (36)
19.07.2010 13:10:08 BR0055I Start of database backup: bedrzjlo.tib 2010-07-19 13.10.08
19.07.2010 13:10:08 BR0484I BRBACKUP log file: /oracle/DEV/sapbackup/bedrzjlo.tib
19.07.2010 13:10:08 BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
19.07.2010 13:10:08 BR0205I Backup volume initialization
19.07.2010 13:10:08 BR0058I BRBACKUP action ID: bedrzjlo
19.07.2010 13:10:08 BR0059I BRBACKUP function ID: tib
19.07.2010 13:10:08 BR0102I Following backup device will be used: /dev/rmt0.1
19.07.2010 13:10:08 BR0131I All volumes get the name SCRATCH
19.07.2010 13:10:08 BR0129I Force option set - no label checking during initialization
19.07.2010 13:10:08 BR0134I Unattended mode with 'force' active - no operator confirmation allowed
19.07.2010 13:10:08 BR0207I Volume in device: /dev/rmt0.1 will be initialized with name: SCRATCH
19.07.2010 13:10:08 BR0280I BRBACKUP time stamp: 2010-07-19 13.10.08
19.07.2010 13:10:08 BR0226I Rewinding tape volume in device /dev/rmt0...
19.07.2010 13:10:08 BR0278E Command output of 'LANG=C tctl -f /dev/rmt0 rewind':
19.07.2010 13:10:08 /dev/rmt0: No such device or address
19.07.2010 13:10:08 BR0280I BRBACKUP time stamp: 2010-07-19 13.10.08
19.07.2010 13:10:08 BR0279E Return code from 'LANG=C tctl -f /dev/rmt0 rewind': 2
19.07.2010 13:10:08 BR0213E Winding tape volume in device /dev/rmt0.1failed
19.07.2010 13:10:08 BR0219E Initialization of volume SCRATCH in device /dev/rmt0.1 failed
19.07.2010 13:10:08 BR0206I End of backup volume initialization
19.07.2010 13:10:08 BR0280I BRBACKUP time stamp: 2010-07-19 13.10.08
19.07.2010 13:10:08 BR0054I BRBACKUP terminated with errors
19.07.2010 13:10:08 External program terminated with exit code 3
19.07.2010 13:10:08 BRBACKUP returned error status E
19.07.2010 13:10:08 Job finished
thanks in advance
Rewinding tape volume in device /dev/rmt0...
No such device or address
Theres something wrong with the tape config... if its working fin at OS then you need to check the init<sid>.sap and check that the profile tape_address is pointing to the correct device
Regards
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the correct device address at OS level...
in HPUX ( #ioscan -fnC tape)
in AIX (# lsdev -Cc tape)
Once you find correct device and its status available (in AIX), Configure the same address in ini<SID>.sap profile parameter tape_address and tape_address_rew as suggested by Juan...
Regards.
Rajesh Narkhede
hi rajesh
thanks for your reply
and i already checked before as juan suggested but their in os level when i tried # lsdev -Cc tape
-->it shows rmt0 defined 07-08-01-6,0 other scsi tape drive.
and in init<sid>.sap file
tape_size_arch = 100G
level of parallel execution
default: 0 - set to number of backup devices
exec_parallel = 0
address of backup device without rewind
[<dev_address> | (<dev_address_list>)]
no default
operating system dependent, examples:
HP-UX: /dev/rmt/0mn
TRU64: /dev/nrmt0h
AIX: /dev/rmt0.1
Solaris: /dev/rmt/0mn
Windows: /dev/nmt0
Linux: /dev/nst0
#tape_address = /dev/rmt0
tape_address = /dev/rmt0.1
address of backup device without rewind used by brarchive
default: value of the tape_address parameter
operating system dependent
tape_address_arch = /dev/rmt0.1
address of backup device with rewind
[<dev_address> | (<dev_address_list>)]
no default
operating system dependent, examples:
HP-UX: /dev/rmt/0m
TRU64: /dev/rmt0h
AIX: /dev/rmt0
Solaris: /dev/rmt/0m
Windows: /dev/mt0
Linux: /dev/st0
#tape_address_rew = /dev/rmt0.1 - Ritesh
tape_address_rew = /dev/rmt0
address of backup device with rewind used by brarchive
default: value of the tape_address_rew parameter
operating system dependent
tape_address_rew_arch = /dev/rmt0
address of backup device with control for mount/dismount command
[<dev_address> | (<dev_address_list>)]
default: value of the tape_address_rew parameter
operating system dependent
tape_address_ctl = /dev/...
address of backup device with control for mount/dismount command
used by brarchive
default: value of the tape_address_rew_arch parameter
operating system dependent
tape_address_ctl_arch = /dev/...
volumes for brarchive
[<volume_name> | (<volume_name_list>) | SCRATCH]
means init<sid>.sap file contains that os level address only but error shows not detected.. why this error occured
please reply
thanks
Hi,
In AIX, "cfgmgr" command use to automatically configure newly added devices.
try to run this command without arguments..
cfgmgr*
or
smit cfgmgr*
Then check the status of the device (tape), if it still in "defined" state, just reboot the system.
See the link below for more details about this command.
[http://www.chm.tu-dresden.de/edv/manuals/aix/cmds/aixcmds1/cfgmgr.htm|http://www.chm.tu-dresden.de/edv/manuals/aix/cmds/aixcmds1/cfgmgr.htm]
Regards.
Rajesh Narkhede
hi juan,
tnks for your reply we don't have any second device and here we used only one tape drive
previously i checked for status it shows
rmt0 defined XXXXxxxxxx...after i executed command
cfgmgr
then it shows
rmt0 defined XXXXXXXX
rmt1 available XXXXXXX....how can i change the status of rmt0 as available instead of defined
some one suggest me that u remove that rmt0 and after you try again cfgmgr command then it will displayed with available status ,so can i remove that or if any other solution is their please suggest me
Hi,
Please refer the below links or use rmt1 instead of rmt0
http://it.toolbox.com/wiki/index.php/AIX_Tape_Configuration
http://www.symantec.com/connect/forums/how-configure-tape-drives-aix-server-media-server
Regards,
Sharath
hi rajesh,
finally please tel me one thing in
init.<sid>.sap ........tape_address=/dev/rmt1.1
tape_address_rew=/dev/rmt1............these two are required to change
can i change these two when application server is in running status or we required to down the application server then after i change these values please tel me
thanks
Log in as the root user and use the chdev command to change
the block size on the tape device from the command line:
chdev -1 rmt# -a block_size=0
You can also change and VIEW the block size by selecting the
SMIT Devices-> Tape Drive->Change/Show Characteristics of a Tape
Drive menu options. Select the appropriate drive and
change the block size.
To check the current blocksize of the tape device, enter:
tctl -f /dev/rmt0 status
OR
chdev -l rmt0 -a block_size=512
mt -f /dev/rmt0 rewind
mt -f /dev/rmt0 status
rmt0 Available 10-60-00-5,0 5.0 GB 8mm Tape Drive
attribute value description user_settable
mode yes Use DEVICE BUFFERS during writes True
block_size 512 BLOCK size (0=variable length) True
extfm yes Use EXTENDED file marks True
density_set_1 140 DENSITY setting #1 True
density_set_2 20 DENSITY setting #2 True
compress yes Use data COMPRESSION True
ret_error no RETURN error on tape change or reset True
Try it. I hope problem will be sorted out. I have faced same problem in db2 environment.
rgds
DK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First check if the tape and tape drive are working fine by taking any small file backup at OS level. After that before starting the backup initialize the tape first and after that start the backup. Please refer the below link where it explains how to schedule backup.
https://cw.sdn.sap.com/cw/docs/DOC-10466
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.