Hi,
Sometimes you may need changing Oracle ASM Diskgroup name.
If you don’t know what is the Oracle ASM and ( Automatic Storage Management ) Oracle ASM Diskgroups , then read the following article.
https://ittutorial.org/oracle-automatic-storage-management-2-asm/
The renamedg tool enables you to change the name of any Diskgroup in the Oracle ASM Instance as follows.
[oracle@MSDstandbyexa dbs]$ renamedg dgname=DATA newdgname=DATAC1 asm_diskstring='/dev/oracleasm/disks/DATA*' verbose=true Parsing parameters.. Parameters in effect: Old DG name : DATA New DG name : DATAC1 Phases : Phase 1 Phase 2 Discovery str : /dev/oracleasm/disks/DATA* Clean : TRUE Raw only : TRUE renamedg operation: dgname=DATA newdgname=DATAC1 asm_diskstring=/dev/oracleasm/disks/DATA* verbose=true Executing phase 1 Discovering the group Performing discovery with string:/dev/oracleasm/disks/DATA* Identified disk UFS:/dev/oracleasm/disks/DATAC1 with disk number:0 and timestamp (33035787 -727384064) Identified disk UFS:/dev/oracleasm/disks/DATAC2 with disk number:1 and timestamp (33035787 -759201792) Checking for hearbeat... Re-discovering the group Performing discovery with string:/dev/oracleasm/disks/DATA* Identified disk UFS:/dev/oracleasm/disks/DATAC1 with disk number:0 and timestamp (33035787 -727384064) Identified disk UFS:/dev/oracleasm/disks/DATAC2 with disk number:1 and timestamp (33035787 -759201792) Checking if the diskgroup is mounted or used by CSS Checking disk number:0 Checking disk number:1 Generating configuration file.. Completed phase 1 Executing phase 2 Looking for /dev/oracleasm/disks/DATAC1 Modifying the header Looking for /dev/oracleasm/disks/DATAC2 Modifying the header Completed phase 2 Terminating kgfd context 0x7f77a4a6c0a0
But When you perform this task in the Production database, then you need to change all database files name in the Controlfile before this action, otherwise you cannot access any database files and objects.
Do you want to learn Oracle Database for Beginners, then read the following articles.
https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/