Oracle Database Appliance (ODA) (MOSC)

MOSC Banner

Rename oracle database on Oracle Database Appliance

edited Jul 21, 2018 5:00AM in Oracle Database Appliance (ODA) (MOSC) 5 commentsAnswered

Instead of going thru the process of using nid to rename the database and then moving the datafiles, logfiles and tempfiles to create a snapshot database and then drop the database you snapshotted?

I started going down the path of using nid.  I was at the part where I was moving datafiles around and it failed at the OS level.

Issuing the:

mv /u02/app/oracle/oradata/datastore/.ACFS/snaps/old-name/OLD-NAME/datafile /u02/app/oracle/oradata/datastore/.ACFS/snaps/new-name/NEW-NAME/datafile

failed with

mv:  cannot move xxxx-xxxx_sddf.dbf to a subdirectory of itself ....

I figured this being acfs that I might need to use acfsutil to accomplish this but the process didn't seem right.  I am assuming the snapshot db would be simpler given there is enough space.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center