RMAN 恢复至ASM DISKGROUP 报错 ORA 19870 19504 15045 17502 15081

问题简单描述:
AIX 6, ORACLE 11.2
1.替换原来存储,也就是说用新存储B 把原来的A 存储替换掉, 数据库原来是跑到A 存储上的。
2.我把数据库shutdown 然后 startup mount 后做一致备份到本地磁盘/oracle/rman_bak1201/
3.删除原来的ASM DISKGROUP ,然后删除磁盘(踢掉旧存储)
4.新存储映射磁盘到主机,然后重新建立ASM DISKGROUP DATA 成功 (原来的DISKGROUP 名字也是 DATA, 所以新diskgroup_name 与旧 diskgroup_name 相同 。曾尝试建立数据库test 成功,查看diskgroup 状态为mounted 也正常)
存储替换完毕
5.把先前的备份尝试恢复到新建的 ASM DISKGROUP DATA
6.用startup nomount pfile='/oracle/rman_bak1201/abc.ora' 启动,尝试恢复时报错 (pfile 是我从原库 create pfile='xxxx' from spfile 备份的)
RMAN> restore controlfile from '/oracle/rman_bak1201/c_0jnrov15_1_1';
Starting restore at 01-DEC-12
using channel ORA_DISK_1     
channel ORA_DISK_1: restoring control file
RMAN-00571: ========================================================
RMAN-00569: ==========ERROR MESSAGE STACK FOLLOWS===================
RMAN-00571: ========================================================
RMAN-03002: failure of restore command at 12/01/2012 17:50:54
ORA-19870: error while restoring backup piece /oracle/rman_bak1201/c_0jnrov15_1_1
ORA-19504: failed to create file "+DATA"
ORA-15045: ASM file name '+DATA' is not in reference form
ORA-17502: ksfdcre:5 Failed to create file +DATA
ORA-15081: failed to submit an I/O operation to a disk
网上搜了下说是rhdisk权限问题, 但我新的diskgroup 用DBCA 建库都正常,所以不解,请支招谢谢。

问题解决,诊断思路是tail -f alert*.log,然后从新尝试restore controlfile 发现有关于/dev/rhdisk* permission deny ,故问题就是rhdisk* 权限的问题,修改权限后重启+ASM 实例后顺利恢复。
后来我把rhdisk* 权限改成了 666 oracle dba 重启就好了(在此说明当初实施的人规划的grid和oracle用户同时属于oinstall 和dba组,两个用户其实是相同的权限,看样子比较混乱,我也没心思从头整理了简单666 解决)
但现在还有个疑问就是:
1. 为什么我设置跟人家原来的授权 crw-rw---- grid dba rhidk2 却不能恢复? 但是通过dbca 用oracle 用户建立新库一点问题都没有。

Similar Messages

  • Unable to Create ASM Diskgroup ORA-15020 and ORA-15018

    Hello Team,
    Unable to create ASM diskgroup with following error:
    SQL> create diskgroup data_asm1 external redundancy disk '/dev/sdf*';
    create diskgroup data_asm1 external redundancy disk '/dev/sdf*'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15020: discovered duplicate ASM disk "DATA_ASM1_0000"
    ASM Diskstring
    SQL> show parameter asm_diskstring
    NAME                                 TYPE        VALUE
    asm_diskstring                       string      /dev/oracleasm/disks/DISK*, /dev/sd*
    Please let me know how to i solve this issue
    Regards,

    Hi Tobi,
    I checked the status of the res GRID.dg ... it was offline on second node. Logged on second node and checked the status of it viz:v$asm_diskgroup, it was dismount. I mounted it and then try to add the newly added diskgroup(+GRID) with OCR and viola it worked....
    ========================================================
    ora.GRID.dg
                   ONLINE  ONLINE       rac3                                       
                   OFFLINE OFFLINE      rac4                                       
    SQL> select group_number,name,state,type from v$asm_diskgroup;
    GROUP_NUMBER NAME                           STATE       TYPE
               1 DATA                           MOUNTED     EXTERN
               0 GRID                           DISMOUNTED
    SQL> alter diskgroup grid mount;
    Diskgroup altered.
    SQL>  select group_number,name,state,type from v$asm_diskgroup;
    GROUP_NUMBER NAME                           STATE       TYPE
               1 DATA                           MOUNTED     EXTERN
               2 GRID                           MOUNTED     EXTERN
    ==============================================
    ora.GRID.dg
                   ONLINE  ONLINE       rac3                                       
                   ONLINE  ONLINE       rac4                                       
    ===============================================
    [root@rac3 bin]# ./ocrcheck
    Status of Oracle Cluster Registry is as follows :
             Version                  :          3
             Total space (kbytes)     :     262120
             Used space (kbytes)      :       2804
             Available space (kbytes) :     259316
             ID                       :   48011651
             Device/File Name         :      +DATA
                                        Device/File integrity check succeeded
             Device/File Name         :      +grid
                                        Device/File integrity check succeeded
                                        Device/File not configured
                                        Device/File not configured
                                        Device/File not configured
             Cluster registry integrity check succeeded
             Logical corruption check succeeded
    ==========================================================================================
    ASMCMD> lsdg
    State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
    MOUNTED  EXTERN  N         512   4096  1048576     20472    16263                0           16263              0             N  DATA/
    MOUNTED  EXTERN  N         512   4096  1048576      5114     4751                0            4751              0             N  GRID/
    ======================================================================================================
    Thank you very much, appreciated..
    Thank you Aritra .
    Guys you rock.
    Regards,

  • ORA-19870: error while restoring backup piece -- file exists in ASM

    [oracle@rs1pre92dvdbsa01 ~]$ rman target sys/c9nv9sd9t9f11e@mdm11 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 29 10:41:38 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: MDM (DBID=1485385044)
    connected to auxiliary database: MDM (not mounted)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 29-OCT-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=13 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 29-OCT-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-19505: failed to identify file "+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607"
    ORA-17503: ksfdopn:2 Failed to open file +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-15012: ASM file '+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607' does not exist
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/29/2010 10:42:00
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN>
    ASMCMD [+mdmdg2] > cd mdm1
    ASMCMD [+mdmdg2/mdm1] > ls
    CONTROLFILE/
    FLASHBACK/
    ONLINELOG/
    arch/
    autobackup/
    ASMCMD [+mdmdg2/mdm1] > cd autobackup
    ASMCMD [+mdmdg2/mdm1/autobackup] > ls
    2010_10_29/
    ASMCMD [+mdmdg2/mdm1/autobackup] > cd 2010_10_29
    ASMCMD [+mdmdg2/mdm1/autobackup/2010_10_29] > ls
    s_733654605.283.733654607
    As seen in asmcmd "s_733654605.283.733654607" file exists in +mdmdg2/mdm1/autobackup/2010_10_29 then why it is complaning that it can't find the file.
    and also How to open/view file in asmcmd

    [oracle@rs1pre91dvdbaa01 utl]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 29 13:11:44 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service
    I have rebooted both the RAC servers and I can't start database?
    I was under the impression that Database should be automatically started as part of Clusterware
    Please help urgent.

  • RMAN ORA-19870: error reading backup piece 'location'

    Hi All ,
    I have run a restore from a RMAN backup and i got this error :
    ORA-19870: error reading backup piece XX_df_23_11_2011_XXX_1_1.rman
    ORA-19599: block number 616206 is corrupt in backup piece XX_df_23_11_2011_XXX_1_1.rmanThough the RMAN backup is still going on , it has not errored out, How can i find what all gets missing from the Source database , as in what all is present in the missing block ?
    What is the use of MAXCORRUPT parameter ? can that be used here ? can this be prevented if i use maxcorrupt =1 and then run the restore ?
    Also , Is there any way in which i can verify that all the backups are perfect before i drop my earlier database and run the restore. I think its the validate command but I am not sure, hence seek expert suggestion.
    Please suggest
    Thanks
    Kk
    Edited by: Kk on Dec 1, 2011 3:04 AM

    RMAN backup Fails with ORA-19599,ORA-19600 and ORA-19601 [ID 779386.1]

  • RMAN backup goes to filesystem and not to ASM diskgroup

    Hi,
    DB: 11.2.0.1
    OS: Linux
    Parameter configured in database:
    SQL> show parameter db_recovery_file_dest
    NAME TYPE VALUE
    db_recovery_file_dest string +BACKUP
    db_recovery_file_dest_size big integer 10184M
    If i execute the command " RMAN> backup database; " , then the backup ( backup pieces) is going to +BACKUP destination and this is as expected.
    But, if i execute the same command using script, then the backup pieces are going to filesystem(default location $ORACLE_HOME/dbs ).
    Could you suggest me(if i understood wrongly), why the backup pieces are going to the location of filesystem , and not to the ASM diskgroup ?.
    I want to take the backup to ASM diskgroup, because of less space at filesystem.
    The script i used is this:
    [oracle@rac1 rmanscripts]$ more online.sh
    export ORACLE_SID=test;
    export NLS_DATE_FORMAT='dd/mm/yy hh24:mi:ss';
    umask 022
    date
    rman target / cmdfile online.rcv msglog online.log
    [oracle@rac1 rmanscripts]$ more online.rcv
    run {
    backup
    full
    tag b_db_full_test
    filesperset 2
    format 'df_%d_%t_%s_%p'
    database include current controlfile;
    Thanks in advance,
    Regards,

    Hi mseberg,
    Thanks for your reply and the thing is that the controlfile autobackup is going to ASM diskgroup ( +BACKUP).
    Even after changing the suggested config, no luck to me.
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TEST are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 15 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+BACKUP';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
    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 COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_test.f'; # default
    Backup piece destination info from log is here:
    channel ORA_DISK_2: finished piece 1 at 16/02/13 22:41:22
    piece handle=/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/df_TEST_807575973_155_1 tag=B_DB_FULL_TEST comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:01:49
    Finished backup at 16/02/13 22:41:22
    Starting Control File and SPFILE Autobackup at 16/02/13 22:41:22
    piece handle=+BACKUP/test/autobackup/2013_02_16/s_807576082.342.807576083 comment=NONE
    Finished Control File and SPFILE Autobackup at 16/02/13 22:41:25
    I cannot understand why this is,
    Regards,

  • ORA-19870 ORA-19502 ORA-27072 RMAN

    ORA-19870: error reading backup piece......
    ORA-19502 write error on file blah/blah/blah/datafile, blockno 5361 (blocksize=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 9: Bad file descriptor
    Additional information: 4
    Additional information: 5361
    Additional information: 69632
    ....it started out fine, did about 9 datafiles and then the rest of them started failing with the above string.
    Any ideas on what the scoop is?
    thanks!

    Linux-x86_64 Error: 9: Bad file descriptor
    Additional information: 4OS error; not Oracle.
    post results from following as in below
    df -h
    bcm@bcm-laptop:~$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             108G   17G   86G  17% /
    udev                  497M  256K  497M   1% /dev
    none                  497M  856K  496M   1% /dev/shm
    none                  497M   80K  497M   1% /var/run
    none                  497M     0  497M   0% /var/lock
    none                  497M     0  497M   0% /lib/init/rw

  • Disaster Recovery with different ASM diskgroups

    Hi@all,
    actually I'm trying to test a Disaster Recovery Scenario. At a Oracle Linux 6 server with installed Grid Infra 12c and Ora Database 11.2.0.4 (there is also a 12.1.0.2 database instance) I'm trying to do a disaster recovery. But I'm getting wild by restoring and recovering the database. The problem here is, that the ASM diskgroup name has changed. As you read out I also switched the physical server, but I think that shouldn't be any problem.
    At the old server I've two ASM diskgroups "+DATA" and "+FRA_1", at the new they're called "+DATA_SRVNAME" and "+FRA_SRVNAME". I've already changed the startup parameter in spfile, but now after restoring the controlfile RMAN has the directions to the old diksgroup:
    RMAN> report schema;
    using target database control file instead of recovery catalog
    RMAN-06139: WARNING: control file is not current for REPORT SCHEMA
    Report of database schema for database with db_unique_name SID
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    0        SYSTEM               ***     +DATA/SID/datafile/system.438.816606399
    So I've tried three ways. First was to rename the datafile name:
    ALTER DATABASE RENAME FILE '+DATA/SID/datafile/system.438.816606399' TO '+DATA_SRVNAME/SID/datafile/system.438.816606399';
    Second was to set the newname in RMAN:
    set newname for datafile 16 to '+DATA_SRVNAME/SID/datafile/mms_basic_tab.455.816617697/';
    And second was to recreate the controlfile with
    CREATE CONTROLFILE REUSE DATABASE "SID" RESETLOGS ARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 254
        MAXINSTANCES 1
        MAXLOGHISTORY 1815
    LOGFILE
      GROUP 1 ('+DATA__SRVNAME', '+FRA_SRVNAME')  SIZE 1024M,
    DATAFILE
      '+DATASRVNAME/SID/datafile/system.438.816606399',
    CHARACTER SET AL32UTF8;
    But all three methods gave me the error, that the datafile at the new location isn't available (example):
    ORA-15012: ASM file '+DATA_QUM169/cogn11/datafile/system.438.816606399' does not exist
    So now my question to you: How am I able to tell the controlfile or database to use the other ASM diskgroup?
    I know, easiest way would be to create a diskgroup +DATA and do the restore / recover, but at the new server I've no more storage to assign to a new diskgroup and because of there are running other instances I would'nt change the ASM diskgroups.
    Did you have anny solution?
    Thanks a lot and Regards,
    Dave

    Please  try this
    RMAN> run 
    set newname for datafile 1 to '+DATA_SRVNAME'; 
    restore datafile 1;
      switch datafile 1;
      recover datafile 1;
    Did you created +DATA_SRVNAME  diskgroup?
    and

  • ASM issue ORA-00020: maximum number of processes (%s) exceeded (DBD ERROR)

    Hi All,
    i am running 10.2.0.3 with ASM (10.2.0.3) on SunOS (solaris 5.9)
    +ASM1> ps -ef | grep pmon
    oraunity  6174     1   0   Jan 01 ?         298:37 ora_pmon_UNITYQ1
    oraunity  6480     1   0   Dec 31 ?          84:21 asm_pmon_+ASM1
    oraunity  6085     1   0   Mar 09 ?         127:05 ora_pmon_UNIINFQ1
    oraunity 11442     1   0   Jan 01 ?         253:54 ora_pmon_UNIDWHQ1One of rdbms instanace UNIINFQ1 got some failuer due to archival error 'ORA-00257:Archiver error:connect internal only:until freed.'
    To drill down that, i tried to log in to +ASM1 instance to see space utilization under ARCH destination
    SQL> show parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      UNIINFQ1
    log_archive_dest                     string      +UNITY_DG1/UNIINFQ1/archi tried following to log in to +ASM1
    UNITYQ1> export ORACLE_SID=+ASM1
    +ASM1> echo $ORACLE_SID
    +ASM1
    +ASM1> export ORACLE_HOME=/unity-rc001-q/ora01/app/oracle/product/10.2.0/asm10g
    +ASM1> echo $ORACLE_HOME
    /unity-rc001-q/ora01/app/oracle/product/10.2.0/asm10g
    +ASM1> sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Jun 10 00:44:35 2009
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Connected.
    SQL> select * from v$instance;
    select * from v$instance
    ERROR at line 1:
    ORA-01012: not logged onthen i did following
    +ASM1> asmcmd
    ORA-00020: maximum number of processes (%s) exceeded (DBD ERROR: OCISessionBegin)
    [oraunity] mhs-clust5-qa:/unity-rc001-q/ora01/app/oracle/admin/UNIINFQ1/bdump:i have also noticed high number of BEQUETH connections to +ASM1 instance
    +ASM1> ps -ef | grep +ASM1
    oraunity  6486     1   0   Dec 31 ?         193:20 asm_lmon_+ASM1
    oraunity  6533     1   0   Dec 31 ?          11:49 asm_ckpt_+ASM1
    oraunity  6482     1   0   Dec 31 ?         108:29 asm_diag_+ASM1
    oraunity  6527     1   0   Dec 31 ?           9:28 asm_mman_+ASM1
    oraunity  6210     1   0   Mar 09 ?           8:03 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  6484     1   0   Dec 31 ?           7:40 asm_psp0_+ASM1
    oraunity  6488     1   0   Dec 31 ?         221:17 asm_lmd0_+ASM1
    oraunity  6480     1   0   Dec 31 ?          84:21 asm_pmon_+ASM1
    oraunity  6529     1   0   Dec 31 ?           8:42 asm_dbw0_+ASM1
    oraunity  6535     1   0   Dec 31 ?           6:45 asm_smon_+ASM1
    oraunity  6523     1   0   Dec 31 ?         241:24 asm_lms0_+ASM1
    oraunity  6531     1   0   Dec 31 ?           9:22 asm_lgwr_+ASM1
    oraunity  6537     1   0   Dec 31 ?           9:03 asm_rbal_+ASM1
    oraunity  6539     1   0   Dec 31 ?          14:36 asm_gmon_+ASM1
    oraunity  6575     1   0   Dec 31 ?          45:59 asm_lck0_+ASM1
    oraunity  6328     1   0   Jan 01 ?          15:08 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  7866     1   0 16:09:10 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  6941     1   0 16:24:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 11553     1   0   Jan 01 ?          42:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  5010     1   0 16:23:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  1171     1   0 16:21:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 26147     1   0 16:18:49 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 17948     1   0 16:14:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 16097     1   0 16:13:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 19867     1   0 16:15:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 14221     1   0 16:12:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 25640  4784   0 02:36:15 pts/4       0:00 grep +ASM1
    oraunity  8513     1   0 16:09:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 23732     1   0 16:17:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  7864     1   0 16:09:09 ?           0:19 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  3109     1   0 16:22:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 27439     1   0 16:19:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 10400     1   0 16:10:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity  5588     1   0 16:23:49 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 16667     1   0 16:13:48 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 21832     1   0 16:16:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 12308     1   0 16:11:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 29330     1   0 16:20:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oraunity 25581     1   0 16:18:30 ?           0:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))Can anyone help me to solve this issue without shutting down +ASM1. (this instance is used by rest 3 databases as well..so down time is not feasible)
    Regards,
    Bhavik Desai

    You should check alert log file on database like Alex told you.
    And please post Error ;)
    But If You can access +ASM, Or ...by the way... if you stop database ... try to check ASM diskgroup.
    $ export ORACLE_SID=+ASM1
    $ sqlplus / as sysdba
    SQL> set lines 130
    SQL> set pages 10000
    SQL> select NAME, TOTAL_MB, FREE_MB from v$asm_diskgroup;
    If your DISKGROUPs for archivelog on DB full... backup or delete them
    (please start database mount mode)
    $ export ORACLE_SID=DB1
    $ sqlplus / as sysdba
    SQL> startup mount;
    SQL> show parameter log_archive_dest
    backup archivelog
    $ rman target /
    RMAN> backup ARCHIVELOG ALL DELETE INPUT format 'ARCH_%d_%U' ;
    or delete
    $ rman target /
    RMAN> delete ARCHIVELOG ALL ;
    After that ...
    $ sqlplus / as sysdba
    SQL> alter database open
    This justs my suggestion, if your database has the problem with ASM diskgroup full ... because archvielog...
    By the way... please post your result from ASM query and alert log file
    Good Luck

  • ORA-19870: error reading backup piece

    Hi ,
    The RMAN Image backup failes with the error
    channel ORA_DISK_1: reading from backup piece /backups/RMAN/mkkl1143_1_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/27/2009 16:33:53
    ORA-19870: error reading backup piece /backups/RMAN/mjkl1143_1_1
    ORA-19625: error identifying file /backups/RMAN/data_DR-PROD_I-987881832_TS-APPS_TS_TX_IDX_FNO-526_dgkhaqgn
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    I have catalog the backpeince and resync the database and triggered the backup again,but still the same issue
    Can anyone throw some light
    Regards,
    Hussain

    I believe that RMAN literally cannot either 1) find the file or 2) access the file due to permissions on the backup file piece or the RMAN directory above it.
    Cheers!
    Jay Caviness
    http://www.grumpy-dba.com

  • ORA-19870: error while restoring backup piece

    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 30-06-2011 10:39:45
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=488 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 30-06-2011 10:39:45
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    ORA-19505: failed to identify file "/dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece /dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp
    ORA-19505: failed to identify file "/dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755169400_70rd79x9_.bkp
    user interrupt received
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    File permission on the primary
    [oracle@bnl11237dat01 MDM1]$ ls -l /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    -rw-rw-rw- 1 oracle oinstall 22216704 Jun 30 10:33 /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    We are getting the above error when creating the standby on different host to primary. Please can I know how to resolove this error.

    Please copy the backup pieces and archivelogs from the target database to the standby database..Do remember that the location on the standby database node must be same as of the target database node..
    For example : if the bkp pieces of target db node is on '/ora_backup/target_name/bkp' then the same locaiton must be created on standby
    if the archivelogs of target db node is on '/ora_backup/target_name/arch' then the same location must be created on standby
    Hope its clear.

  • ASM diskgroups

    Dear all,
    We have a Database server using ASM diskgroup to store the data files and a separate ASM diskgroup as Flash recovery area.
    The database server is currently damaged and we would like to reuse the ASM disk group with a completely new server installation (i.e. to make a clone of the current database using the existing ASM diskgroups.)
    Is is possible to do so ?
    thanks in advance

    Yes, if you have a rman backup of you database then you can recreate a ASM and production database on new machine and then you can restore and recover it.
    I would like to see any document specifying "how to redirect/connect one asm disk from one asm instance to another instance." As specified above by someone, I would appreciate if wither he can show us some documentation or detail explanation.
    thanks
    ~Keyur

  • Is there a way to rename an ASM DiskGroup from the Disks in 11g ?

    Hello,
    I've been looking for that and I didn't find anything except that it may not have been possible with 10g.
    I'd like to rename a diskgroup to reuse it in the same ASM instance from a netapp snapclone. Of course I would prefer to do it without any ASM instance accessing it but afterall, if there is a way... (even not supported; it's to enable a set of testing database all together) !
    Thank you for your help.
    Gregory

    Hi Gregory,
    since all information about ASM Disk, Diskgroup, etc. are stored directly on the disks there is no way to rename the diskgroup at the moment (hopefully in the future, like a way to change diskgroup redundance).
    Only option you have is to create a new diskgroup and copy the datafiles over with either RMAN or DBMS_FILE_TRANSFER. Then rename the file to point to new location. (alter datafile).
    But since you want to duplicate it into a different ASM Diskgroup, that will not help you. The option left is to change the Disk Header information directly. Unfortunately I do not have any information about the disk header itself...
    Hopefully someone can give you a hint what all to change there if you would DD this to a file change it and store it back...
    Regards
    Sebastian

  • DBFS ASM diskgroup

    Re: our new X3 machines (in the data centers, yet to be installed).
    I know that some of this was sort of covered in the earlier thread about DBFS. However, I do have slightly different questions...
    I understand that the DBFS ASM diskgroup is mandatory and, because of the nature of how its size is calculated, the ACS consultants configure it at its minimum size. However, is it possible to (preferably at configuration time) increase the ASM diskgroup? Or is it meant to have a set size, no matter what?
    Oracle have told me that I could put Flashback Logs into the DBFS ASM diskgroup (as long as I don’t configure DBFS to use it, obviously). I’m sure I read that Flashback Logs HAVE to be put into the db_recovery_file_dest (Fast Recovery Area or RECO diskgroup). Has anyone used DBFS (the ASM diskgroup) for such storage? I know it's not IDEAL given the fact it won't be spread across all storage cells, but I'm trying to figure out a way of separating the Flashback Logs from the Archive Logs because we monitor the Archive Log location for space usage (we get an alert if it gets too full and automatically kick off an archivelog backup/purge at a certain level of usage).
    Mark

    The first two Spinning Drives on each cell contain a 29 GB sized partition with the OS. The other 10 contain instead a 29 GB sized GridDisk from which the DBFS_DG diskgroup is built. In other words: The DBFS_DG diskgroup is also spread across all the cells but only on 10 drives (not 12 as DATA and RECO) on each cell.
    This way, the GridDisks that make up DATA and RECO can have the same size on all spinning drives. And the DBFS_DG diskgroup will consume about 300GB on each cell for that reason, which can't be changed reasonably, I suppose.
    You could set DB_RECOVERY_FILE_DEST='+DBFS_DG'  and turn on Flashback Database, so that Flashback Logs are being generated there, while you set LOG_ARCHIVE_DEST_1 to the RECO diskgroup, so that Archivelogs get stored there. And with RMAN backups, you specify FORMAT '+RECO' to get the backups not into the Recovery Area (DBFS_DG in that example).
    Kind regards
    Uwe Hesse

  • How to restore to a particula ASM diskgroup

    I have backed up the database to the local non-ASM disk. I need to restore the backup to a particular ASM diskgroup using RMAN. Oracle is 10.2.0.3. What should I do?

    Are you creating a new database, or is there something wrong with the old database and you need to restore ?
    Basically the process is :-
    1. create pfile or restore spfile and startup nomount
    2. restore controlfile then alter database mount
    3. restore database
    4. recover database
    5. open the database
    I strongly recommend that you read the rman documentation at tahiti.oracle.com

  • Question: 10gR2 database can not see the 11gR2 ASM diskgroup?

    Hi there,
    env:
    uname -rm
    2.6.18-92.1.22.el5xen x86_64
    Single server(non-RAC)
    note: we don't want to upgrade 10gr2 database into 11gR2 yet. But we created the 11gR2 ASM, then a 11gr2 database on ASM, and plan to migrate datafile in 10gR2 database to 11gR2 ASM
    1. oracle 10gR2 installed first version: 10.2.0.3.0
    2. then install 11gR2 Grid Infrastructure, and created ASM (version 11gr2)
    $ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 19 10:30:56 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> col name form a15
    SQL> col COMPATIBILITY form a15
    SQL> col DATABASE_COMPATIBILITY form a15
    SQL> l
    1* select name , STATE, COMPATIBILITY, DATABASE_COMPATIBILITY from v$asm_diskgroup
    SQL> /
    NAME STATE COMPATIBILITY DATABASE_COMPAT
    ORCL_DATA1 MOUNTED 11.2.0.0.0 10.1.0.0.0
    ORA_DATA MOUNTED 10.1.0.0.0 10.1.0.0.0
    3. in 10gR2 database
    sqlplus /
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 19 12:12:31 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning and Data Mining options
    SQL> select * from v$asm_diskgroup;
    no rows selected
    4. pin the node into css
    # /u01/app/product/11.2.0/grid/bin/crsctl pin css -n mynodename
    CRS-4000: Command Pin failed, or completed with errors.
    Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
    please help
    Thanks
    Scott

    What is the output of
    olsnodes -t -n
    Also, see unix error log and ohasd error log if you find anything in that

Maybe you are looking for

  • Using Time Machine to back up an external hard drive dedicated to Adobe Lightroom 5

    I recently began to use Adobe Lightroom 5 (I continue to use Aperture, as I have for years).    All of the Lightroom image files and catalogs are on one external hard drive, which I use on my iMac, my Macbook Pro, and in the digital labs of a school

  • Creating EJB 3.0 project using Eclipse - Urgent

    Hi, Im new to EJB 3.0 and i need a urgent help please. I have created a EJB Project that uses JPA to Fetch data from Oracle 10g DB. But the problem is how to i get this project connect to DB? where do i need to do the Datasource maping and what would

  • Hdmi with audio for MacBook Pro (13-inch, Mid 2009)

    Hi Have anyone used aa cable to send video and hdmi on this particular model? I'd use a displayport-to-hdmi cable (male-male). but, i've read that this particular model won't send the audio signal over. this is my computer: http://support.apple.com/k

  • The procedure entry point longimp could not be located in dll orauts.dll

    I am using oracle 11g R1,on Windows xp sp2 OS.when i wrote sqlplus in Start->Run this error came: the procedure entry point longimp could not be located in dynamic link library orauts.dll Earlier that was working fine,but now its showing error.How to

  • My initial backup stops

    I have an old seagate 500GB HHD which i cleared and formatted for use as my MBP back up. During my first time machine back up it just stopped at about 4.53GB (out of roughly 175GB) i left it overnight but hadn't moved since then. Today i emptied it a