环境:
OS:Red Hat Linux As 5
DB:11.2.0.1
机器重启后发现asm磁盘不能自动加载,理想当然的使用sysdba登录asm实例,登录后执行mount操作,提示无权限,后来发现需要使用sysasm登录后才行,过程如下:
1.sysdba登录提示无权限mount.
[grid@node1 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 4 22:14:25 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> alter diskgroup DATA01 mount;
alter diskgroup DATA01 mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
2.需要使用sysasm登录
[grid@node1 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 4 22:15:23 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect / as sysasm
Connected.
SQL> alter diskgroup DATA01 mount;
Diskgroup altered.
SQL> alter diskgroup fra mount;
Diskgroup altered.
asm磁盘不能能自动加载,可以使用如下方式修改下,asm_diskgroups指定需要加载的磁盘.
SQL> alter system set asm_diskgroups = data01, fra scope=both;
-- The End --
--转自