Why ?
If
you are using oracle ASM filesystem you will need to copy files from non ASM ( normal
filesystem) to ASM file system, ASM will be used in RAC GRID and RAC one node
DB. Revert is true as well .
How ?
Below
are commands to copy files from ASM to filesystem and from filesystem to ASM :
1- To copy files from ASM to filesystem use the below:
ASMCMD> cp +DATA/ORCL/FILE /path/to/filesytem/orcl_xyz.dbf_tmp
copying +DATA/ORCL/FILE /path/to/filesytem/orcl_xyz.dbf_tmp
2- To copy file from filesystem to ASM use the below:
ASMCMD> cp /path/to/filesytem/orcl_xyz.dbf_tmp '+DATA/ORCL/FILE'
copying /path/to/filesytem/orcl_xyz.dbf_tmp +DATA/ORCL/FILE
No comments:
Post a Comment