1.
[grid@rac1 ~]$ asmcmd dsget
parameter:/dev/oracle/*
profile:/dev/oracle/*
grid@:+ASM
2.
SQL> show parameter asm
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups string DATA
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
SQL> alter system set asm_diskstring='/dev/oracle/*';
或者
SQL> create pfile='/tmp/pfile' from spfile;
手动修改ASM参数文件中该参数值 *.asm_diskstring='/dev/asm*'
SQL>create spfile from pfile='/tmp/pfile'
------------
附录:
[grid@rac1 ~]$ asmcmd
ASMCMD> spget
+OCR/rac-cluster/asmparameterfile/registry.253.1046185343
这里面记录了ASM实例启动时需要去寻找的参数文件位置
spget 返回ASM SPFILE的位置从GPnP profile
第二种方式查看ASM实例启动时需要去寻找的参数文件位置
查看gpnp profile的记录即可
[grid@rac1 ~]$ gpnptool get
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/69975956/viewspace-2705706/,如需转载,请注明出处,否则将追究法律责任。