ASM :Copy of datafiles
Hi All,
We have requirement to change the Database name of the Database which is in ASM.
The question : Can we copy the datafiles with in the diskgroup as we are changing the databse name , the directory structure will change
Can y ou post the procedure of changing the database name which is using ASM.
Thanks
sandeep
udayjampani wrote:
Please provide the copy asmcmd to copy the datafiles ?
Please confirm wether this procedures works or not?Works fine - as it does what it is designed to do. Copy a file. The issue is HOW the tool is used. Copying an open datafile of an instance for example, will likely not provide the intended results.
As for moving a database - yes, using the asm cp command, you can move/copy the entire database from ASM to another disk/cooked file system. It does work.
Similar Messages
-
No backup or copy of datafile 4 found to restore Error ??
Hi,
I have a 2 Virtual machine with Oracle 10g on OEL.
Let's say machine 1 is called : OEL-SOURCE MACHINE
Let's say machine 1 is called : DR-TARGET MACHINE
When i am trying to restore rman backup on 2 machine 'DR', it comes with the message "RMAN-06023: no backup or copy of datafile 4 found to restore"
Here are the steps that i followed on Machine 1 i.e. OEL-SOURCE MACHINE :
RMAN>
Oracle instance started
database mounted
database opened
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/va00/oracle/product/10.2.0/db_1/dbs/snapcf_mytest.f'; # default
RMAN> backup database plus archivelog;
Starting backup at 26-OCT-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=14 recid=12 stamp=733426429
input archive log thread=1 sequence=15 recid=13 stamp=733426789
input archive log thread=1 sequence=16 recid=14 stamp=733426795
input archive log thread=1 sequence=17 recid=15 stamp=733426801
input archive log thread=1 sequence=18 recid=16 stamp=733426801
input archive log thread=1 sequence=19 recid=17 stamp=733426855
input archive log thread=1 sequence=20 recid=18 stamp=733426856
input archive log thread=1 sequence=21 recid=19 stamp=733426861
input archive log thread=1 sequence=22 recid=20 stamp=733426862
input archive log thread=1 sequence=23 recid=21 stamp=733436688
input archive log thread=1 sequence=24 recid=22 stamp=733437082
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp tag=TAG20101026T203122 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 26-OCT-10
Starting backup at 26-OCT-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
input datafile fno=00005 name=/va02/oracle/oradata/mytest/company_tab_01.dbf
input datafile fno=00006 name=/va03/oracle/oradata/mytest/company_idx_01.dbf
input datafile fno=00003 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
input datafile fno=00002 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
input datafile fno=00004 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp tag=TAG20101026T203125 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
Finished backup at 26-OCT-10
Starting backup at 26-OCT-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=25 recid=23 stamp=733437151
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp tag=TAG20101026T203231 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 26-OCT-10
Starting Control File and SPFILE Autobackup at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 26-OCT-10This completed the RMAN
Now i listed the backup with RMAN
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
9 1.99M DISK 00:00:02 26-OCT-10
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203122
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
List of Archived Logs in backup set 9
Thrd Seq Low SCN Low Time Next SCN Next Time
1 14 545557 26-OCT-10 545610 26-OCT-10
1 15 545610 26-OCT-10 546080 26-OCT-10
1 16 546080 26-OCT-10 546083 26-OCT-10
1 17 546083 26-OCT-10 546086 26-OCT-10
1 18 546086 26-OCT-10 546088 26-OCT-10
1 19 546088 26-OCT-10 546114 26-OCT-10
1 20 546114 26-OCT-10 546116 26-OCT-10
1 21 546116 26-OCT-10 546119 26-OCT-10
1 22 546119 26-OCT-10 546121 26-OCT-10
1 23 546121 26-OCT-10 567862 26-OCT-10
1 24 567862 26-OCT-10 568231 26-OCT-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
10 Full 515.82M DISK 00:01:04 26-OCT-10
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203125
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
List of Datafiles in backup set 10
File LV Type Ckp SCN Ckp Time Name
1 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
2 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
3 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
4 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
5 Full 568235 26-OCT-10 /va02/oracle/oradata/mytest/company_tab_01.dbf
6 Full 568235 26-OCT-10 /va03/oracle/oradata/mytest/company_idx_01.dbf
BS Key Size Device Type Elapsed Time Completion Time
11 17.50K DISK 00:00:01 26-OCT-10
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203231
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
List of Archived Logs in backup set 11
Thrd Seq Low SCN Low Time Next SCN Next Time
1 25 568231 26-OCT-10 568267 26-OCT-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 6.80M DISK 00:00:00 26-OCT-10
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203234
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
Control File Included: Ckp SCN: 568273 Ckp time: 26-OCT-10
SPFILE Included: Modification time: 26-OCT-10
RMAN> Then i reported obsolete, and as we can see my datafile is not listed here which is good.
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Archive Log 12 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
Archive Log 13 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
Archive Log 14 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
Archive Log 15 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
Archive Log 16 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
Archive Log 17 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
Archive Log 18 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
Archive Log 19 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
Archive Log 20 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
Archive Log 21 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
Archive Log 22 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
Backup Set 9 26-OCT-10
Backup Piece 9 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkpI transferred complete RMAN folder to 2nd machine & switched to second Machine i..e DR-TARGET MACHINE
[oracle@localhost ~]$ export ORACLE_SID=mytest
[oracle@localhost ~]$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 26 20:48:49 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> set dbid=2432458060;
executing command: SET DBID
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/va00/oracle/product/10.2.0/db_1/dbs/initmytest.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1218268 bytes
Variable Size 54528292 bytes
Database Buffers 100663296 bytes
Redo Buffers 2973696 bytes
RMAN> restore spfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
Starting restore at 26-OCT-10
using channel ORA_DISK_1
channel ORA_DISK_1: autobackup found: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 26-OCT-10
RMAN> shutdown immediate
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> restore controlfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
Starting restore at 26-OCT-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
output filename=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh1d2o5_.ctl
output filename=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh1d31n_.ctl
Finished restore at 26-OCT-10
RMAN> shutdown immediate
Oracle instance shut down
RMAN> startup force mount;
Oracle instance started
database mounted
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> catalog start with '/tmp/rman_backups_third_set/';
searching for all files that match the pattern /tmp/rman_backups_third_set/
List of Files Unknown to the Database
=====================================
File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
List of Files Which Where Not Cataloged
=======================================
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
RMAN-07529: Reason: catalog is not supported for this file type
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
RMAN-07529: Reason: catalog is not supported for this file type
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
RMAN-07529: Reason: catalog is not supported for this file type
Here comes the issue ...when i try to restore the db
RMAN> restore database;
Starting restore at 26-OCT-10
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/26/2010 20:53:13
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restoreSO MY QUESTION OR DOUBT IS WHY AT THE END IT FAILS THAT THERE IS NO BACKUP FOR DATAFILE 1,2,3,4 ??? AS WE CAN SEE ABOVE IT IS PRESENT IN MY BACKUPSET ??
ANY IDEA /HINTS/TIPS ?
I searched on google and somebody mentioned to a similar case that it could be a problem with 'CONFIGURE CONTROLFILE AUTOBACKUP OFF' where as in my case i have set it to 'CONFIGURE CONTROLFILE AUTOBACKUP ON'
Somehow looks like that the control file is not having latest backup info ... :-( I already took a fresh backup 2 times and landed up in same issue.. not sure where i am doing a mistake.
Regards
LearnerNo replies ... :-(
Meanwhile i also looked in the trace file folder to see if there are any clues. here goes the content of alert_log.file
Tue Oct 26 23:28:59 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:28:59 2010
Stopping background process CJQ0
Tue Oct 26 23:28:59 2010
Stopping background process MMNL
Tue Oct 26 23:28:59 2010
Stopping background process MMON
Tue Oct 26 23:28:59 2010
Shutting down instance (immediate)
License high water mark = 5
Tue Oct 26 23:29:00 2010
Stopping Job queue slave processes
Tue Oct 26 23:29:00 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:29:05 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:29:16 2010
alter database close
Tue Oct 26 23:29:16 2010
ORA-1109 signalled during: alter database close...
Tue Oct 26 23:29:16 2010
alter database dismount
Completed: alter database dismount
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:29:36 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh49dgy_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh49dkr_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4483
PSP0 started with pid=3, OS id=4485
MMAN started with pid=4, OS id=4487
DBW0 started with pid=5, OS id=4489
LGWR started with pid=6, OS id=4491
CKPT started with pid=7, OS id=4493
SMON started with pid=8, OS id=4495
RECO started with pid=9, OS id=4497
CJQ0 started with pid=10, OS id=4499
MMON started with pid=11, OS id=4501
Tue Oct 26 23:29:38 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=4503
Tue Oct 26 23:29:38 2010
starting up 1 shared server(s) ...
Tue Oct 26 23:29:39 2010
alter database mount
Tue Oct 26 23:29:43 2010
Setting recovery target incarnation to 3
Tue Oct 26 23:29:43 2010
Successful mount of redo thread 1, with mount id 2432571107
Tue Oct 26 23:29:43 2010
Database mounted in Exclusive Mode
Completed: alter database mount
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:32:16 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:32:16 2010
Stopping background process MMNL
Tue Oct 26 23:32:16 2010
Stopping background process CJQ0
Tue Oct 26 23:32:17 2010
Stopping background process MMON
Tue Oct 26 23:32:17 2010
Shutting down instance (immediate)
License high water mark = 5
Tue Oct 26 23:32:17 2010
Stopping Job queue slave processes
Tue Oct 26 23:32:17 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:32:23 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:33 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:38 2010
Process OS id : 4514 alive after kill
Errors in file
Tue Oct 26 23:32:39 2010
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:40 2010
alter database close
Tue Oct 26 23:32:40 2010
ORA-1109 signalled during: alter database close...
Tue Oct 26 23:32:40 2010
alter database dismount
Completed: alter database dismount
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:36:35 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4622
PSP0 started with pid=3, OS id=4624
MMAN started with pid=4, OS id=4626
DBW0 started with pid=5, OS id=4628
LGWR started with pid=6, OS id=4630
CKPT started with pid=7, OS id=4632
SMON started with pid=8, OS id=4634
RECO started with pid=9, OS id=4636
CJQ0 started with pid=10, OS id=4638
MMON started with pid=11, OS id=4640
MMNL started with pid=12, OS id=4642
Tue Oct 26 23:36:36 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Oct 26 23:36:47 2010
Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl
Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
Tue Oct 26 23:36:58 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:36:58 2010
Stopping background process CJQ0
Tue Oct 26 23:36:58 2010
Stopping background process MMNL
Tue Oct 26 23:36:58 2010
Stopping background process MMON
Tue Oct 26 23:36:58 2010
Shutting down instance (immediate)
License high water mark = 3
Tue Oct 26 23:36:58 2010
Stopping Job queue slave processes
Tue Oct 26 23:36:58 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:37:00 2010
alter database close
ORA-1507 signalled during: alter database close...
Tue Oct 26 23:37:00 2010
alter database dismount
ORA-1507 signalled during: alter database dismount...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:37:10 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dhc2ymb_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dhc2yp5_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4654
PSP0 started with pid=3, OS id=4656
MMAN started with pid=4, OS id=4658
DBW0 started with pid=5, OS id=4660
LGWR started with pid=6, OS id=4662
CKPT started with pid=7, OS id=4664
SMON started with pid=8, OS id=4666
RECO started with pid=9, OS id=4668
CJQ0 started with pid=10, OS id=4670
MMON started with pid=11, OS id=4672
Tue Oct 26 23:37:11 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=4674
Tue Oct 26 23:37:11 2010
starting up 1 shared server(s) ...
Tue Oct 26 23:37:11 2010
alter database mount
Tue Oct 26 23:37:15 2010
Setting recovery target incarnation to 2
Tue Oct 26 23:37:15 2010
Successful mount of redo thread 1, with mount id 2432596903
Tue Oct 26 23:37:15 2010
Database mounted in Exclusive Mode
Completed: alter database mount
New incarnation branch detected in Backup, filename /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/some_o1_mf_s_733420244_6dghs7pn_.bkp
Inspection of file changed rdi from 2 to 3
Setting recovery target incarnation to 3
Tue Oct 26 23:37:23 2010
Setting recovery target incarnation to 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:31 2010
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log is not supported
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log is not supported
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log is not supported
Expanded controlfile section 11 from 28 to 144 records
Requested to grow by 116 records; added 5 blocks of records
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3Not sure why does it says that it was unable to obtain file status .. is it because the dbf files could not be restored that's why ??
Also here goes the content of DBW trace file
[oracle@localhost bdump]$ cat mytest_dbw0_4660.trc
/va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /va00/oracle/product/10.2.0/db_1
System name: Linux
Node name: localhost.localdomain
Release: 2.6.18-194.el5
Version: #1 SMP Mon Mar 29 20:06:41 EDT 2010
Machine: i686
Instance name: mytest
Redo thread mounted by this instance: 1
Oracle process number: 5
Unix process pid: 4660, image: [email protected] (DBW0)
*** 2010-10-26 23:37:23.741
*** SERVICE NAME:() 2010-10-26 23:37:23.740
*** SESSION ID:(167.1) 2010-10-26 23:37:23.740
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
*** 2010-10-26 23:37:46.274
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3 -
RMAN-06023: no backup or copy of datafile 5 found to restore ??
Hi,
Am on
Apps 12.0.4
DB 10gR2
Am trying to recover a datafile: got below error ?
Hex dump of (file 5, block 11701) in trace file /u01/app/oracle/admin/ora10g/udump/ora10g_ora_6482.trc
Corrupt block relative dba: 0x01402db5 (file 5, block 11701)
Bad check value found during backing up datafile
Data in bad block:
type: 0 format: 2 rdba: 0x01402db5
last change scn: 0×0000.00000000 seq: 0×1 flg: 0×05
spare1: 0×0 spare2: 0×0 spare3: 0×0
consistency value in tail: 0×00000001
check value in block header: 0x8bf5
computed block checksum: 0×2
Reread of blocknum=11701, file=/u01/app/oracle/oradata/ora10g/example01.dbf. found same corrupt data
RMAN> blockrecover datafile 5 block 11701;
Starting blockrecover at 23-AUG-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=139 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
RMAN-06026: some targets not found – aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
i dont have a backup of this datafile
Thanks
Edited by: NewAppsDBA on Oct 24, 2011 6:23 AMRMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
RMAN-06026: some targets not found – aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restoreSearch MOS for those errors and go through the docs.
Thanks,
Hussein -
RMAN-06023: no backup or copy of datafile 3 found to restore
Hello,
i have searched the whole forum, but i didnt get anything.
i have rman backupset (x64), and i am trying to restore it to another machine, (same characteristic) but i got the error below.
help please.... :(
RMAN> run
2> {
3> ALLOCATE CHANNEL C1 DEVICE TYPE DISK;
4> RESTORE DATABASE;
5> }
using target database control file instead of recovery catalog
allocated channel: C1
channel C1: SID=170 device type=DISK
Starting restore at 03-MAY-10
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/03/2010 11:16:00
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN>Hello,
i am using 10 g and my backup set, is that enough?
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
79 Full 12.85G DISK 00:26:51 12-JUN-09
BP Key: 79 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
1209042215
Piece Name: F:\RMAN_BACKUP\2NKHDHB1_1_1
List of Datafiles in backup set 79
File LV Type Ckp SCN Ckp Time Name
1 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
2 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
F
3 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
4 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
5 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
F
7 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
NSIONS_01.DBF
8 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
S_01_REORG0_REORG0.DBF
9 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
XES_01.DBF
10 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_01_REORG0.DBF
11 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
NSIONS_01.DBF
12 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
S_01_REORG0_REORG0.DBF
13 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
XES_01.DBF
15 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
ING_01_REORG0.DBF
16 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_02_REORG0.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
80 Full 7.17M DISK 00:00:04 12-JUN-09
BP Key: 80 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
1209042215
Piece Name: F:\RMAN_BACKUP\2OKHDITH_1_1
SPFILE Included: Modification time: 12-JUN-09
Control File Included: Ckp SCN: 4254271191 Ckp time: 12-JUN-09
BS Key Type LV Size Device Type Elapsed Time Completion Time
81 Full 13.29G DISK 00:33:30 22-APR-10
BP Key: 81 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_04
2210052403
Piece Name: F:\RMAN_BACKUP\2PLBPCV8_1_1
List of Datafiles in backup set 81
File LV Type Ckp SCN Ckp Time Name
1 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
2 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
F
3 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
4 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
5 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
F
7 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
NSIONS_01.DBF
8 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
S_01_REORG0_REORG0.DBF
9 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
XES_01.DBF
10 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_01_REORG0.DBF
11 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
NSIONS_01.DBF
12 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
S_01_REORG0_REORG0.DBF
13 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
XES_01.DBF
15 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
ING_01_REORG0.DBF
16 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_02_REORG0.DBF
RMAN> -
Problem about RMAN-06023: no backup or copy of datafile 5 found to restore
here is the error info when i duplicate database use rman
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/19/2011 09:33:39
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
and following my operate steps
==================
auxiliary instance configure
1, create password file
$ orapwd file=/opt/app/oracle/product/10.2.0/db_1/dbs/orapwslavedb password=Myss123456 entries=30
2,edit tnsname.ora on auxilary so i can connect primary db and auxiliary
$ vi tnsname.ora (tnsping test pass)
PRIDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.40.214)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pridb)
3,create pfile for auxiliary instance
$ vi initslavedb.ora
*.DB_BLOCK_SIZE=8192
*.DB_NAME=slavedb
*.CONTROL_FILES='/opt/app/oracle/oradata/slavedb/control01.ctl','/opt/app/oracl
e/oradata/slavedb/control02.ctl','/opt/app/oracle/oradata/slavedb/control03.ctl'
*.DB_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
*.LOG_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
4,start auxiliary instance nomount and create spfile,then shutdown it,and startup to nomount status again
5,backup target database
RMAN> backup database;
6, create directory on slavedb,and transforer target backupset and archlog to salvedb
$ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/backupset/2011_08_19
$ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/archivelog/2011_08_19
7,run duplicate commandline on auxiliary
[oracle@localhost admin]$ rman target sys/Myss123456@pridb auxiliary /
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 19 10:46:05 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRIDB (DBID=969477968, not open)
connected to auxiliary database: SLAVEDB (not mounted)
RMAN> duplicate target database to 'slavedb'
2> nofilenamecheck;
Starting Duplicate Db at 19-AUG-2011 10:46:15
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=35 devtype=DISK
contents of Memory Script:
set until scn 490864;
set newname for datafile 1 to
"/opt/app/oracle/oradata/slavedb/system01.dbf";
set newname for datafile 2 to
"/opt/app/oracle/oradata/slavedb/undotbs01.dbf";
set newname for datafile 3 to
"/opt/app/oracle/oradata/slavedb/sysaux01.dbf";
set newname for datafile 4 to
"/opt/app/oracle/oradata/slavedb/users01.dbf";
set newname for datafile 5 to
"/opt/app/oracle/oradata/slavedb/example01.dbf";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 19-AUG-2011 10:46:16
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/19/2011 10:46:16
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
anyone can help?use format command with backup.
eg:-
backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T';
if it is archivelog mode then
backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T' plus archivelog format '/u01/db/backup/%d_%I_%s_%T';
then copy the backup to the auxiliary instance server.
then try again the duplicate command. -
RMAN-06023: no backup or copy of datafile
Hi,
on 10g R2 on AIX, I want to recover my DB at the time of 26 of march. The backup files are available but I receive :
RMAN> Run {
2> SET UNTIL TIME "to_date('26-03-2011 00:00:00','DD-MM-YYYY HH24:MI:SS')";
3> allocate channel t1 type disk;
4> restore database;
5> recover database;
6> sql "alter database open";
7> }
8>
executing command: SET until clause
allocated channel: t1
channel t1: sid=155 devtype=DISK
Starting restore at 01-APR-11
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/01/2011 11:13:42
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 216 found to restore
RMAN-06023: no backup or copy of datafile 215 found to restore
RMAN-06023: no backup or copy of datafile 214 found to restoreWhy RMAN can't find them ?
How to verify ?
Thank for help.Hi,
Can you please make sure the restore mechanism you are following is correct or not?
Mechanics of Restore Operations
RMAN automates the procedure for restoring files. You do not need to go into the operating system, locate the backup that you want to use, and manually copy files into the appropriate directories. When you issue a RESTORE command, RMAN directs a server session to restore the correct backups to either:
* The default location, overwriting the files with the same name currently there
* A new location, which you can specify with the SET NEWNAME command
To restore a datafile, either mount the database or keep it open and take the datafile to be restored offline. When RMAN performs a restore, it creates the restored files as datafile image copies and records them in the repository.
refer the link for more information
http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmconc2.htm
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
RMAN-06023: no backup or copy of datafile n found to restore
Hi,
on 11g R2 , Win 2008, I try to duplicate by RMAN NOCATALOG.
In init.ora of auxiliary I have :
init.ora
db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data')
log_file_name_convert=('m:\base\OLDDB\log', 'm:\base\NEWDB\log') 1- when duplicating RMAN displays :
set newname for datafile 109 to
"M:\BASES\OLDDB\DATA\EOIUAPP.DBF";; but for me reverse is expected since M:\BASES\OLDDB\DATA\EOIUAPP.DBF is the ancient/old name.
2-RMAN displays :
channel ORA_AUX_DISK_1: restoring datafile 00041 to M:\BASES\OLDDB\DATA\EOIUAPP.DBF But again the datafile should be restored to 'm:\base\NEWDB\data'.
And also:
channel ORA_AUX_DISK_1: reading from backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
ORA-19504: failed to create file "M:\BASES\OLDDB\DATA\PSIMAGE.DBF";
ORA-27040: file create error, unable to create file
OSD-04002: can not open file
O/S-Error: (OS 3) file path not found. Finally :
RMAN-06023: no backup or copy of datafile n found to restore For all files.
Thanks for help.Hello
setfilename has "BASES" but logfile convert has "base"
M:\BASESand
db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data') Best Regards
mseberg
Edited by: mseberg on Sep 20, 2012 7:41 AM -
RMAN-06023: no backup or copy of datafile 12 found to restore
Hi
I'm getting the above error when trying to create a duplicate database on the same server.
Steps
1) Create backup.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
backup as copy
incremental level 0
spfile
database
include current controlfile;
2) Restore / Duplicate
Have database orcl2 which is on the same server as ORCL1. Performing a no catalog recovery.
I get the following error.
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 16:02:24
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
All the datafiles are not found. Not sure how this is possible as I just did the backup.
Command for Duplication :
DUPLICATE TARGET DATABASE TO ORCL2
DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
SPFILE
PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
Additional Information
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
13 Full 16.77M DISK 00:00:01 14-MAR-11
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110314T155530
Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACKUP\2011_03_14\O1_
MF_S_745775730_6QWWOM7G_.BKP
SPFILE Included: Modification time: 14-MAR-11
SPFILE db_unique_name: ORCL1
Control File Included: Ckp SCN: 731378 Ckp time: 14-MAR-11
RMAN>
Any help would be appreciated.
Thanks.ORADBA , thank you for your help.
Did as you suggested but still getting the same error
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=537 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:12:47
RMAN-06136: ORACLE error from auxiliary database: ORA-01565: error in identifyin
g file 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\Administrator>rman target sys/mariorun@orcl1 nocatalog
Recovery Manager: Release 11.1.0.7.0 - Production on Mon Mar 14 18:13:20 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORCL1 (DBID=1129792691)
using target database control file instead of recovery catalog
RMAN> connect auxiliary sys/mariorun@orcl2
connected to auxiliary database: ORCL2 (not mounted)
RMAN>
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=97 device type=DISK
contents of Memory Script:
set until scn 666967;
restore clone spfile to 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA';
sql clone "alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFIL
EORCL2.ORA''";
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
using channel ORA_AUX_DISK_1
WARNING: A restore time was estimated based on the supplied UNTIL SCN
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring SPFILE
output file name=C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA
channel ORA_AUX_DISK_1: reading from backup piece D:\ORACLE\FAST_RECOVERY_AREA\O
RCL1\AUTOBACKUP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP
channel ORA_AUX_DISK_1: piece handle=D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACK
UP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP tag=TAG20110314T155530
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 14-MAR-11
sql statement: alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFI
LEORCL2.ORA''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL2'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set audit_file_dest =
''c:\oracle\ora11g\admin\orcl2\adump'' comment=
'''' scope=spfile";
sql clone "alter system set control_files =
''c:\oracle\ora11g\oradata\orcl2\control01.ctl'', ''c:\oracle\ora11g\oradata\or
cl2\control02.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control03.ctl'' comment=
'''' scope=spfile";
sql clone "alter system set LOG_FILE_NAME_CONVERT =
''\orcl1'', ''\orcl2'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount ;
executing Memory Script
sql statement: alter system set db_name = ''ORCL2'' comment= ''duplicate'' sco
pe=spfile
sql statement: alter system set audit_file_dest = ''c:\oracle\ora11g\admin\orc
l2\adump'' comment= '''' scope=spfile
sql statement: alter system set control_files = ''c:\oracle\ora11g\oradata\orc
l2\control01.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control02.ctl'', ''c:\oracl
e\ora11g\oradata\orcl2\control03.ctl'' comment= '''' scope=spfile
sql statement: alter system set LOG_FILE_NAME_CONVERT = ''\orcl1'', ''\orcl2''
comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 267825152 bytes
Fixed Size 1346712 bytes
Variable Size 100664168 bytes
Database Buffers 163577856 bytes
Redo Buffers 2236416 bytes
contents of Memory Script:
set until scn 666967;
set newname for datafile 1 to
"D:\ORACLE\ORADATA\ORCL2\SYSTEM01.DBF";
set newname for datafile 2 to
"D:\ORACLE\ORADATA\ORCL2\SYSAUX01.DBF";
set newname for datafile 3 to
"D:\ORACLE\ORADATA\ORCL2\UNDOTBS01.DBF";
set newname for datafile 4 to
"D:\ORACLE\ORADATA\ORCL2\IM_DATA_01.DAT";
set newname for datafile 5 to
"D:\ORACLE\ORADATA\ORCL2\IM_IDX_01.DAT";
set newname for datafile 6 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_01.DAT";
set newname for datafile 7 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_02.DAT";
set newname for datafile 8 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_01.DAT";
set newname for datafile 9 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_02.DAT";
set newname for datafile 10 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_LOG_01.DAT";
set newname for datafile 11 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_NOLOG_01.DAT";
set newname for datafile 12 to
"D:\ORACLE\ORADATA\ORCL2\USERS01.DBF";
restore
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:13:59
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
Any suggestions are appreciated. -
RMAN -06100: no channel to restore a backup or copy of datafile 51
Oracle 10.2.0.4
I am attempting to duplicate a database from a full backup that was written to tape. I connect to a catalog, the target, and an auxilliary database. I allocate channels for disk and allocate auxiliary channels. For testing purposes I am trying to restore one data file from tape to disk but get RMAN-06100.
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 23 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/xxxxx/oracle/tivoli/ndk8oasu181.opt)';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/xxxx/oracle/product/1020/db_1/dbs/snapcf_prd002l.f'; # default
RMAN> run
2> { allocate channel d01 type disk;
3> allocate channel d02 type disk;
4> allocate channel d03 type disk;
5> allocate channel d04 type disk;
6> allocate channel d05 type disk;
7> allocate auxiliary channel stby01 type disk;
8> allocate auxiliary channel stby02 type disk;
9> set newname for datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf' to '/xxxxxx/d26/oradata/prd002lp/patdata01.dbf';
10> restore datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf';
11> release channel ch01;
12> release channel ch02;
13> }
starting full resync of recovery catalog
full resync complete
allocated channel: d01
channel d01: sid=1859 devtype=DISK
allocated channel: d02
channel d02: sid=1825 devtype=DISK
allocated channel: d03
channel d03: sid=2252 devtype=DISK
allocated channel: d04
channel d04: sid=1978 devtype=DISK
allocated channel: d05
channel d05: sid=1906 devtype=DISK
allocated channel: stby01
channel stby01: sid=1406 devtype=DISK
allocated channel: stby02
channel stby02: sid=1462 devtype=DISK
executing command: SET NEWNAME
Starting restore at 12-MAY-11
released channel: d01
released channel: d02
released channel: d03
released channel: d04
released channel: d05
released channel: stby01
released channel: stby02
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/12/2011 08:00:46
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 51Here is some additional information:
6100, 1, "no channel to restore a backup or copy of datafile %d"
// *Cause: A datafile, tablespace, or database restore could not proceed
// because the backup of the indicated file exists on a device type
// that was not allocated for restore.
// *Action: None - this is an informational message. See message 6026 for
// further details.
what do i need to do to correct this: backup of the indicated file exists on a device type that was not allocated for restore -
RMAN and ASM, copy controlfile
How to copy a controlfile from one diskgroup to another diskgroup?
I answered here:
ASM, copy controlfile
Joel Pèrez
http://otn.oracle.com/experts -
Rebuild ASM Disk - Copying multiple datafiles from one disk to another
Hi,
I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
DB1 -> ASM_DISK1
DB2 -> ASM_DISK2
DB3 -> ASM_DISK3
DB4 -> ASM_DISK4
I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
Basically my task is as follows:
1. Shutdown database.
2. Copy all data from ASM_DISK1 to ASM_DISK2.
3. Drop ASM_DISK1.
4. Re-create ASM_DISK1.
5. Copy all data back to ASM_DISK1.
6. Start database.
Database size is 700GB.
I am using the below script to copy the files.
Copy Script
================
asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
for FILENAME in `cat asm_list.txt`
do
asmcmd >> asm_LOG.log <<EOF
cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
EOF
done
================
I will then rename each file in the database like so:
alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
My questions are as follows.
Is this approach a valid solution?
Will renaming the files during copy corrupt the files?
When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
Rgs,
Robrgilligan_tnf wrote:
Hi,
I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
DB1 -> ASM_DISK1
DB2 -> ASM_DISK2
DB3 -> ASM_DISK3
DB4 -> ASM_DISK4
I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
And how do you propose to update the controlfile to point to the new location?
unless your datafiles are offline and/or the database is down, you will corrupt them and have an unusable database when you finish.
how were you doing this with RMAN? Depending on the size of your database(700G), it very well could take some time. I have restored databases at a rate of >300G/hr from scratch. You will need to shutdown at some point to relocate the controlfiles and system and redo logfiles.
Just curious, what is the problem with diskgroup ASM_DISK1 that you want to rebuild it?
Basically my task is as follows:
1. Shutdown database.
2. Copy all data from ASM_DISK1 to ASM_DISK2.
3. Drop ASM_DISK1.
4. Re-create ASM_DISK1.
5. Copy all data back to ASM_DISK1.
6. Start database.
Database size is 700GB.
I am using the below script to copy the files.
Copy Script
================
asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
for FILENAME in `cat asm_list.txt`
do
asmcmd >> asm_LOG.log <<EOF
cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
EOF
done
================
I will then rename each file in the database like so:
alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
My questions are as follows.
Is this approach a valid solution?
Will renaming the files during copy corrupt the files?
When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
Rgs,
Rob -
ASM on SAN datafile size best practice for performance?
Is their a 'Best Practice' for datafile size for performance?
In our current production, we have 25GB datafiles for all of our tablespaces in ASM on 10GR1, but was wondering what the difference would be if I used say 50GB datafiles? Is 25GB a kind of mid point so the data can be striped across multiple datafiles for better performance?We will be using Redhat Linux AS 4 update u on 64-bit AMD Opterons. The complete database will be on ASM...not the binarys though. All of our datafiles we have currently in our production system are all 25GB files. We will be using RMAN-->Veritas Tape backup and RMAN-->disk backup. I just didn't know if anybody out there was using smallfile tablespaces using 50GB datafiles or not. I can see that one of our tablespaces will prob be close to 4TB.
-
Best practice: let asm name your datafiles?
Hello,
Wanted to get opinions on what dbas prefer: let asm handle naming or explicitly name your datafiles?
+DATA/orcl/datafile/products.133.84672930
or
+DATA/orcl/datafile/products01.dbf
Reasons? Ease of maintenance, backup/recover, etc?
ThanksHello,
Please refer this http://docs.oracle.com/cd/B13789_01/server.101/b10739/omf.htm
Your questions are answered in the above document. I have most of my databases on OMF and I leave it to Oracle on assigning the names.
ninteck
Newbie
Handle: ninteck
Status Level: Newbie (5)
Registered: Sep 12, 2005
Total Posts: 25
Total Questions: 5 (4 unresolved)
Name ninteck If you feel that your questions have been answered, then please consider closing your questions by providing appropriate points and marking them as answered. Please keep the forum clean ! -
RMAN-06023: no backup or copy of datafile 54 found to restore
Hi
Edited by: shakilshaikh on May 20, 2011 1:29 AMyep they are avaiable...do you think this has to do with resetlogs(as i have used that like 4 times in last 2 days)....doing some testing....as the incarnations changes everytime we reset the logs
RMAN> list incarnation of database;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 NGENPOC 2765214148 ORPHAN 3178766417 01-DEC-09
2 2 NGENPOC 2765214148 ORPHAN 8413828170590 03-DEC-09
3 3 NGENPOC 2765214148 ORPHAN 8413828170590 04-DEC-09
4 4 NGENPOC 2765214148 CURRENT 8413828170591 07-DEC-09 -
XTTS - problem in copying datafile into ASM
I'm testing the migration of database from AIX to Linux using cross platform transportable tablespaces.
DB version: source: 10.2.0.4
Destination: 10.2.0.5
OS version: source: AIX6.1 - AIX-Based Systems (64-bit)
Destination: RedHat Linux - Linux x86 64-bit
I run the below commands before copying the datafile at destination.
EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK('TBLSP1,TBLSP2', TRUE);
SELECT * FROM TRANSPORT_SET_VIOLATIONS;
no rows selected
alter system archive log current;
alter tablespace TBLSP1 read only;
alter tablespace TBLSP2 read only;
expdp DUMPFILE=xtts_exp.dmp DIRECTORY=DUMP_DIR logfile=xtts_exp.log TRANSPORT_TABLESPACES=TBLSP1,TBLSP2
CONVERT TABLESPACE TBLSP1,TBLSP2
TO PLATFORM 'Linux x86 64-bit'
FORMAT '/dataimport/%U';/dataimport is a shared file system mounted on Linux server and am able to see the datafile over there. But, am receiving the error below when trying to copy the datafile on the linux server. Could someone let me know if I miss something / how to resolve this error.
$rman target /
RMAN> copy datafile '/dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_05m8miia' to '+DATA';
Starting backup at 05-APR-11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/05/2011 10:19:44
RMAN-20201: datafile not found in the recovery catalog
RMAN-06010: error while looking up datafile: /dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_05m8miiaI don't think it's related to patchset mismatch. Yes. I moved the dump file and datafile copies to local file system also and got the same error.
Here are the steps once again. The tablespaces are still read only on source side. How can it affect datafile copy on destination side?.
EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK('TBLSP1,TBLSP2', TRUE);
SELECT * FROM TRANSPORT_SET_VIOLATIONS;
no rows selected
alter system archive log current;
alter tablespace TBLSP1 read only;
alter tablespace TBLSP2 read only;
expdp DUMPFILE=xtts_exp.dmp DIRECTORY=DUMP_DIR logfile=xtts_exp.log TRANSPORT_TABLESPACES=TBLSP1,TBLSP2
CONVERT TABLESPACE TBLSP1,TBLSP2
TO PLATFORM 'Linux x86 64-bit'
FORMAT '/dataimport/%U';
impdp DUMPFILE=xtts_exp.dmp DIRECTORY=DUMP_DIR logfile=xtts_imp.log TRANSPORT_DATAFILES='/dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir','/az/dataimport/export/data_D-DBMGRT_I-3320277811_TS-TBLSP2_FNO-39_0dm90sa0'
Job "SYS"."SYS_IMPORT_TRANSPORTABLE_01" successfully completed
$rman target /
RMAN> copy datafile '/dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir' to '+DATA';
Starting backup at 05-APR-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=4361 instance=dbmgrt1 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/05/2011 12:42:47
RMAN-20201: datafile not found in the recovery catalog
RMAN-06010: error while looking up datafile: /dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir
SQL> select file_name from dba_data_files where tablespace_name='TBLSP1';
/dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir
$ls -l /dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir
-rw-r----- 1 oracle oinstall 32914808832 Apr 5 12:31 /dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_0bm90rir
Maybe you are looking for
-
Attached document in a sale order
Somebody can say to me if I can attached an external document to a sale order in Va01 or Va02 ? Thank you very much
-
Exporting a report with barcode label fails
Post Author: Jega CA Forum: Exporting When i try to export a report which has a barcode label in it, the export fails "Font is not allowed to be embedded in the report"
-
J2sdk-1_4_2_04-windows-i586-p.exe didn't install JRE correctly.
I realize that j2sdk-1_4_2_04-windows-i586-p.exe didnt install JRE probably. Server folder which is used for Java HotSpot Server VM was not found in C:\Program Files\Java\j2re1.4.2_04\bin. Hence, i need to manually copy the folder D:\j2sdk1.4.2_04\jr
-
I can't seem to get "testConnsOnReserve" to work for my Oracle pool in WL 5.10. I've tried sp6 (what we're using in production) and sp10 (which seems to be very CPU intensive) as well as a patch posted to this group (cr047274_51.jar, which I think pr
-
Retrieving folder of images - cache file?
Looks like I have trashed a couple of folders of images stored on the desktop, not iPhoto. However, i found two cache files with the suffix .dpImageCache They both have a different file size to one another so it looks like they have got the images th