Tuesday, March 3, 2015

Renaming ASM Disk Groups




Oracle RDBMS-11.2.0.3
Task: rename the ASM disk created by oracleasm utility
Status: ASM is installed, Disks are mounted and no database created that uses that disk
1. Login to Grid user, and connect to asmcmd console.
ASMCMD> umount DATA -f
ASMCMD> umount FRA -f
2. exit from asmcmd console and run command renamedg with grid user:
$ renamedg dgname=DATA newdgname=DATA_DG1 verbose=true
$ renamedg dgname=FRA newdgname=FRA_DG1 verbose=true
3. login to asmcmd and mount new DG
ASMCMD> mount DATA_DG1
ASMCMD> mount FRA_DG1
ASMCMD> lsdg <– run this to confirm the changes
Oracle Doc Reference:

No comments:

Post a Comment