Hi,
There are a few considerations when customizing your datafile location on your target. The first is the location of your mount base path under which all datafiles are mounted. The second is the location of your data directory.
In order for your file to be placed under /u02/oradata you first need to change your data directory from the default "data" to blank. i.e. files will be placed directly under the mount base path. Next you should customize your file mapping so that your source /u01/oradata is replaced by blank. The result should list your datafile e.g. /system.dbf. Note: this is not the absolute path, but a path under the mount path.
Here's an example.
Source files on VDB.
SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/mnt/provision/qadb/datafile/u01/app/oracle/oradata/orcl/system01.dbf
/mnt/provision/qadb/datafile/u01/app/oracle/oradata/orcl/sysaux01.dbf
/mnt/provision/qadb/datafile/u01/app/oracle/oradata/orcl/undotbs01.dbf
/mnt/provision/qadb/datafile/u01/app/oracle/oradata/orcl/users01.dbf
V2P with file customization
V2P datafiles
SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/u02/app/oradata/system01.dbf
/u02/app/oradata/sysaux01.dbf
/u02/app/oradata/undotbs01.dbf
/u02/app/oradata/users01.dbf
See the
documentation for details.
Regards,
Leighton