Friends!
I have an Oracle Database 18c with Data Guard configuration:
DGMGRL> show configuration;
Configuration - CDB_DG
Protection Mode: MaxPerformance
Members:
cdb1p - Primary database
cdb2p - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS (status updated 55 seconds ago)
SQL> select banner from v$version;
BANNER
---------------------------------------------------------------------------
Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
SQL> SELECT PROPERTY_NAME, PROPERTY_VALUE FROM DATABASE_PROPERTIES WHERE PROPERTY_NAME = 'LOCAL_UNDO_ENABLED';
PROPERTY_NAME PROPERTY_V
------------------------- ----------
LOCAL_UNDO_ENABLED TRUE
It's a CDB with one PDB. My OS is RedHat 7.
When I try to create Snapshot DB from my PDB I have these errors:
SQL> alter pluggable database snapshot PDBSNAP;
alter pluggable database snapshot PDBSNAP
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-65169: error encountered while attempting to copy file +ASM_CDB_DATA/CDB1P/7533D1D42D885BD1E053465A130A97EE/DATAFILE/undotbs1.271.986139369
ORA-17517: Database cloning using storage snapshot failed on file 8:+ASM_CDB_DATA/CDB1P/7533D1D42D885BD1E053465A130A97EE/DATAFILE/undotbs1.271.986139369
I read about parameter CLONEDB (= TRUE) and about permissions for asmadmin:x:1308:grid,oracle
in /etc/group file..
Unfortunately, it doesn't help me.. Friends, maybe somebody has resolved this problem?
Maybe, it's all about snapshot clone restrictions, but I'm not sure:
Supported platforms
– Sun ZFS Storage Appliance (ZFSSA)
– Oracle ASM Cluster File System (ACFS)
– NetApp ™
ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-65169: error encountered while attempting to copy file +DATA/ORCL_IAD1T9/87BD77B686294076E0530200000A3FB4/DATAFILE/undotbs1.282.1006941 741 ORA-17517: Database cloning using storage snapshot failed on file 8:+DATA/ORCL_IAD1T9/87BD77B686294076E0530200000A3FB4/DATAFILE/undotbs1.282.10069 41741
for the above issue i got the solution.
i solution which helped my is pdb snapshot clone can be created only if the pdb on ACFS or DNFS and other storage. but i should not be on ASM storage. it will work only if ACFS is there on top of ASM storage.
once you create the ACFS change the db_create_file_dest to new ACFS mount point then file alter pluggable database snapshot command of taking the snapshot.
for more info please follow the below public urls
https://docs.oracle.com/en/database/oracle/oracle-database/18/multi/cloning-a-pdb.html#GUID-E4EAE488-5371-4B8A-A839-2ADFA7507705
https://www.cyberciti.biz/faq/creating-soft-link-or-symbolic-link/
Thanks.