Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

ORA-01276: Cannot add file Tips

Oracle Tips by Burleson Consulting

October 6, 2012

Question: I am running an Data Pump import with a remap statement and I am getting the ORA-01276 error:

impdp system/oracle full=y directory=ATA_PUMP_IR dumpfile=IRISexp%U.dmp remap_datafile=/'+PDATA/iris/datafile/tbs2.302.699/':
\'D:\NickL\App\oradata\DT_IRIS_EXPORT_2012\DATAFILE\tbs2.302.699'/

Answer:  First, use the oerr command line utility to lookup your error:

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.

In this case, the original file name was an ASM file, and an ASM file cannot be re-mapped to a non-ASM file.  Further, a non-ASM instance cannot automatically create the ASM file. 

The easiest solution is to pre-create the tablespace and the associated ASM file name will be assigned by ASM.  You can then use that ASM file name with your impdp remap statement.

Normally, you need to get the fully-qualified name and resolve the +DATA into a fully-qualified address.  If you are changing Operating Systems you have to put in the correct string:

remap_datafile=full_unix_path/filename:full_dos_path\filename

To see the full file names you can "punch" the tablespace definition with impdp like this:

impdp system/oracle dumpfile=filename.dmp include=tablespace sqlfile=ts_def.sql

This will put the full-file name into the file ts_def.sql.  You can then open this file to see the full ASM file name.

See MOSC Doc 734681.1 (ORA-1276 Experienced During Import Of Tablespaces When Using Oracle Managed Files) for details.


 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright ? 1996 -  2014

All rights reserved by Burleson

Oracle ? is the registered trademark of Oracle Corporation.


 

��
 
 
 
 

 
 
 

 
Oracle performance tuning software 
 
oracle dba poster
Oracle Linux poster