Site icon IT Tutorial

ORA-01276: Cannot add file string. File has an Oracle Managed Files file name

I got ” ORA-01276: Cannot add file string. File has an Oracle Managed Files file name. ”  error in Oracle database.

 

ORA-01276: Cannot add file string. File has an Oracle Managed Files file name

 

Details of error are as follows.

ORA-01276: Cannot add file string. File has an Oracle Managed Files file name.

Cause: An attempt was made to add to the database a datafile, log file, control file, snapshot
 control file, backup control file, datafile copy, control file copy or backuppiece with 
an Oracle Managed Files file name.

Action: Retry the operation with a new file name.

Not able to move the data file from one mount point to other mount point and following error occured.

SQL> alter database move datafile '<DIR_OLD>/o1_mf_itm_test_a2bxc7dg.dbf' to '<DIR_NEW>/o1_mf_itm_test_a2bxc7dg.dbf';
alter database move datafile '<DIR_OLD>/o1_mf_itm_test_a2bxc7dg.dbf' to '<DIR_NEW>/o1_mf_itm_test_a2bxc7dg.dbf'
*
ERROR at line 1:
ORA-01276: Cannot add file
<DIR_NEW>/o1_mf_itm_test_a2bxc7dg.dbf File has an Oracle Managed Files file name.


 

 

Cannot add file string. File has an Oracle Managed Files file name.

This ORA-01276 error is related to the attempt was made to add to the database a datafile, log file, control file, snapshot control file, backup control file, datafile copy, control file copy or backuppiece with an Oracle Managed Files file name.

 

To solve this error, Retry the operation with a new file name or Set db_create_file_dest before moving the datafile and do not specify the datafile name as follows.

 

SQL> alter session set db_create_file_dest='<DIR_NEW>';
SQL> alter database move datafile 9;

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

Exit mobile version