My Oracle Support Banner

RMAN Delete Obsolete Wants to Delete Live Datafile After File is Copied via RMAN and Renamed via SqlPlus (Doc ID 460365.1)

Last updated on FEBRUARY 03, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 14-Jul-2015***


A database has been copied from filesystem to ASM storage, using the RMAN COPY command.

The copy was done via RMAN but the renaming of the database files was done via SQLPlus using
'alter database rename file 'X' to 'Y').
Now the following messages are being recorded in the alert.log:

Fri Sep 7 13:28:16 2007
datafilecopy header validation failure for file
datafilecopy header validation failure for file
datafilecopy header validation failure for file


- RMAN LIST COPY command lists all the new ASM files as datafilecopies
- RMAN REPORT OBSOLETE command lists the new ASM files as 'obsolete'
- Incremental Merge Backup scripts believe the new ASM files to be new datafile copies

This problem can occur with or without the use of an rman catalog and affects relocation of any database file to ANY new location where the renaming is done via SQLPlus instead of using the RMAN SWITCH command.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.