Connect to asmcmd as sysasm
[oracle@rac1 ~]$ asmcmd -p -a sysasm
ASMCMD [+DATA/RAC/CONTROLFILE] > ls
Current.260.798722863
Copy controlfile from asm to OS /tmp directory
ASMCMD [+DATA/RAC/CONTROLFILE] > cp Current.260.798722863 /tmp
copying +DATA/RAC/CONTROLFILE/Current.260.798722863 -> /tmp/Current.260.798722863
===================================================================
You can use full path
ASMCMD [] cp +DATA/RAC/CONTROLFILE/Current.260.798722863 /tmp
copying +DATA/RAC/CONTROLFILE/Current.260.798722863 -> /tmp/Current.260.798722863
No comments:
Post a Comment