Blog

ORA-15001: diskgroup does not exist or is not mounted. ORA-15040: diskgroup is incomplete

Hit a bug when run RMAN command “restore controlfile to from “

SYMPTOM

              GI: 12.2.0.1.170814 (26609817)
        RAC HOME: 12.1.0.2.160419 (22291127)

Just starting to build a standby database, and trying to put standby database controlfile into ASM diskgroup by using RMAN , got the following errors:

RMAN> restore controlfile to '+DATA' from '/tmp/standby.ctl';

Starting restore at 2017-09-05 09:44:30
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1694 instance=STYTEST1 device type=DISK

channel ORA_DISK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 09/05/2017 09:44:32
ORA-19870: error while restoring backup piece /tmp/standby.ctl
ORA-19504: failed to create file "+DATA"
ORA-17502: ksfdcre:4 Failed to create file +DATA
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15040: diskgroup is incomplete

CAUSE

This hits the bug “21626377 – 12.2_150812: DBCA FAILS TO CREATE 12102 DB OVER 12.2 GI/ASM”

SOLUTION

1) Apply the latest PSU patch against RAC home( 12.1.0.2). For now , the latest RU for 12.1.0.2 is 12.1.0.2.170814 (26609783).

2) Retry again from RMAN successfully.

RMAN> restore controlfile to '+DATA' from '/tmp/standby.ctl';

Starting restore at 2017-09-05 10:30:39
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=989 instance=STYTEST1 device type=DISK

channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 2017-09-05 10:30:40

3) Review alert.log. The diskgroup “+DATA” was mounted successfully.

Tue Sep 05 10:30:40 2017
NOTE: ASMB mounting group 2 (DATA)
...
..
.
SUCCESS: mounted group 2 (DATA)
...
..
.

How to Clone Oracle RAC Home

Here is an example of how to clone 12.1.0.2 RAC home from one cluster to another cluster.

Source RAC home : /u01/app/oracle/product/12.1.0/dbhome_1

Target RAC home: /u01/app/oracle/product/12.1.0/dbhome_3

Subscribe to get access

Read more of this content when you subscribe today.

How to Find Mappings Between ASM Disks and Physical Disks

Here are the simple steps for mapping between ASM disks and physical disks in Linux.

Subscribe to get access

Read more of this content when you subscribe today.

PRVG-10091 : failed to retrieve the ASM password file location for an ASM instance

It is a good practice to store ASM password file into ASM diskgroup instead of local disk.

PROBLEM

Verifying system upgrade readiness for Grid Infrastructure 12.1.0.2 to 12.2.0.1 with below command, then get “PRVG-10091” warning:

$ /u01/app/12.2.0.1/grid/runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u01/app/12.1.0.2/grid -dest_crshome /u01/app/12.2.0.1/grid -dest_version 12.2.0.1.0 -fixupnoexec -verbose

...
..
.
Verifying Verify that the ASM instance was configured using an existing ASM
parameter file. ...FAILED
PRVG-10091 : failed to retrieve the ASM password file location for an ASM
instance.
...
..
.

Subscribe to get access

Read more of this content when you subscribe today.

How to Disable SELinux or Set SELinux to Permissive Mode

Make sure to disable SELinux or set SELinux to permissive mode for Oracle GI/RAC Linux servers.

It is recommended by Oracle to disable SELinux or set SELinux to permissive mode for Oracle GI/RAC. Otherwise you might get similar below errors:

Disk "ASM_DISK1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory 
failed
Clearing disk header: done

Subscribe to get access

Read more of this content when you subscribe today.