How to rename/move a datafile in the same ASM diskgroup
Last updated on OCTOBER 03, 2017
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 to 188.8.131.52 [Release 10.1 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 02-Jan-2013***
***Checked for relevance on 10-Sep-2014***
ASM files can be renamed like any other files in a standard filesystem. For ASM, rename is peformed through some type of statements (ADD ALIAS, RENAME ALIAS, ADD DIRECTORY) to manipulate filenames, alias, and directories.
Renaming datafiles is sometimes needed when database file names still contains old database name after a database on ASM is renamed (for example with nid). Then, it is required to change ASM datafile names accordingly with new database name. RMAN backup copy doesn't work in this case as file still remains in the same diskgroup.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms