how does asm finds file creation path?
We see that in asm we just need to provide the disk group, and asm itself finds the directory and creates a file there.
For example.
SQL> create spfile='+DATA' from pfile='/u01/app/oracle/product/11.2.0/grid/dbs/init+ASM.ora';
File created.
I just gave data and it chose directory +DATA/asm/asmparameterfile inside this DG. Similar happens for datafile creation.
My question:-
how does asm decide the directory path? is there any parameter in OCR/OLR? surely we are not using any db_create_file_dest parameter.
Please suggest.
asm parameter file as as below:-
+ASM.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from in memory value