Wednesday, September 28, 2011

Move ASM spfile to different disk group

To move an asm spfile from one disk group to another, I recommend using the method create spfile from pfile, editing the pfile and then creating pfile from edited spfile.

In my case the spfile was located in DATA01.
ASMCMD> ls DATA01/ASM/ASMPARAMETERFILE/
REGISTRY.253.762024745

create pfile='/tmp/init+ASM.ora' from spfile;

Edit the /tmp/init+ASM.ora and change entry +ASM.asm_diskgroups='DATA01'#Manual
In my case I changed it to +ASM.asm_diskgroups='DATA1'

create spfile '+DATA1' from pfile '/tmp/init+ASM.ora';

Restart asm or in my case I just restarted all crs services.
crs_stop -all
crs_start -all

No comments:

Post a Comment