Pages

Tuesday, September 19, 2017

Oracle - Renaming disk group seg faults

If you are attempting to use the "renamedg" command to rename the disk headers in a cloned oracle volume and are getting a segmentation fault, look no further.  The key is to make sure that the user which is running the renamedg command (normally grid or oracle) has ORACLE_HOME set in the environment.

For example, I was doing this command:

[grid@server] /u01/app/grid/12.2/bin/renamedg dgname=OLD_NAME newdgname="CLONED_NAME" asm_diskstring='/dev/oracleasm/disks/DISKNAME'

clscfpinit: Failed clsdinitx [-1] ecode [64]
2017-09-19 13:23:43.533 [4160639488] gipclibInitializeClsd: clscfpinit failed with -1.

Segmentation fault

After setting ORACLE_HOME for grid, the command worked.  There was not much out on the Internets about this, so hopefully it can help someone.