Oracle 11g 操作ASM权限问题
在Oracle 11g中,使用sysdba连接ASM。
SQL>conn / as sysdba
SQL> alter diskgroup DATA mount;
alter diskgroup DATA mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
ORA-15260: permission denied on ASM disk group
告知权限被否则。
[root@rac1 ~]# su - grid
>$sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:28:20 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> alter diskgroup webdg add disk '/dev/raw/raw4';
alter diskgroup webdg add disk '/dev/raw/raw4'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
使用sysasm连接,即可。
/home/grid@serv1=>+ASM1$sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:29:42 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> show user
USER is "SYS"
SQL> alter diskgroup DATA mount;
Diskgroup altered.
这是11g在ASM管理上一个改进。
SQL>conn / as sysdba
SQL> alter diskgroup DATA mount;
alter diskgroup DATA mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
ORA-15260: permission denied on ASM disk group
告知权限被否则。
[root@rac1 ~]# su - grid
>$sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:28:20 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> alter diskgroup webdg add disk '/dev/raw/raw4';
alter diskgroup webdg add disk '/dev/raw/raw4'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
使用sysasm连接,即可。
/home/grid@serv1=>+ASM1$sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:29:42 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> show user
USER is "SYS"
SQL> alter diskgroup DATA mount;
Diskgroup altered.
这是11g在ASM管理上一个改进。
相关推荐
lklong 2020-11-22
oraclemch 2020-11-06
shilukun 2020-10-10
周嘉笙 2020-11-09
iilegend 2020-10-19
EricRay 2020-10-16
zhuzhufxz 2020-09-16
dataminer 2020-08-17
bfcady 2020-08-16
Hody 2020-08-16
FightFourEggs 2020-08-16
数据库设计 2020-08-16
Seandba 2020-08-16
Omega 2020-08-16
zjyzz 2020-08-16
yanghuatong 2020-08-16
ktyl000 2020-08-16
dbasunny 2020-08-16