DBCA Does Not Display ASM Disk Groups In 11.2

Posted 生命的力量在于不顺从

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DBCA Does Not Display ASM Disk Groups In 11.2相关的知识,希望对你有一定的参考价值。

DBCA Does Not Display ASM Disk Groups In?11.2

https://oraclehowto.wordpress.com/2011/08/15/dbca-does-not-display-asm-disk-groups-in-11-2/

Posted by cloeffel on August 15, 2011

I get this problem when trying to create a database with a different user than grid user.

I‘ve installed Grid infrastructure with user grid, and I was trying to create a database with user oracle (who‘s the owner of oracle rdbms). But during this installation I wasn‘t able to see any of my ASM disk. There are lots of reasons not to be able to see the disks, but mine was not in Oracle Support.

In fact my problem was that the mount point of oracle binary filesystem had option?nosuid. So if you‘re in trouble first check that, may be it‘ll save you some times.

Otherwise take a look at these oracle notes :

ASM Diskgroup Can Not Be Shown When Creating Database With DBCA (Doc ID 1269734.1)

DBCA Does Not Display ASM Disk Groups In 11.2 (Doc ID 1177483.1)

Dbca Does Not Show ASM Diskgroup Information (Doc ID 1286434.1)

Here‘s a summary of what to check in this case :

1. Check if your ASM is OK

With grid user :

$ ./crsctl status res -t
…….
ora.asm
ONLINE ONLINE cluster1
ONLINE ONLINE cluster2
…….

2. Check your oracle binary mount point (option nosuid disable)

$ cat /etc/fstab

3. Check users and groups , it should be like that :

$ id -a grid
uid=961(grid) gid=310(oinstall) groups=310(oinstall),330(asmadmin),332(asmdba)
$ id -a oracle
uid=960(oracle) gid=310(oinstall) groups=310(oinstall),300(dba),320(oper),332(asmdba)
$ cat /etc/group
dba:x:300:applq,oracle
oinstall:x:310:oracle,grid
oper:x:320:oracle
asmadmin:x:330:grid
asmoper:x:331:
asmdba:x:332:oracle,grid

4. Check? if file permissions in <Grid_home>/bin/oracle executable are set properly, it should be 6751.

$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s–x 1 grid oinstall 200678430 Jun 16 12:44 /app/11.2.0/grid/bin/oracle

To correct :

$ chmod 6751 /app/11.2.0/grid/bin/oracle

5. Check asm disk permissions, with two users it should be : grid — asmadmin

$ ls -ltr /dev/oracleasm/disks/
total 0
brw-rw—- 1 grid asmadmin 8, 34 Jun 23 14:05 ASMDATA
brw-rw—- 1 grid asmadmin 8, 39 Jun 23 14:05 ASMREDO
brw-rw—- 1 grid asmadmin 8, 36 Jun 23 14:05 ASMFRA
brw-rw—- 1 grid asmadmin 8, 37 Jun 23 16:10 ASMRAC

I hope this could help you if you‘re in trouble.

Regards

以上是关于DBCA Does Not Display ASM Disk Groups In 11.2的主要内容,如果未能解决你的问题,请参考以下文章

11G ORACLE RAC DBCA 无法识别asm磁盘组

执行dbca静默建库时报错由于以下错误, 无法连接到 ASM: ORA-12547: TNS: 丢失连接

执行dbca静默建库时报错由于以下错误, 无法连接到 ASM: ORA-12547: TNS: 丢失连接

执行dbca静默建库时报错由于以下错误, 无法连接到 ASM: ORA-12547: TNS: 丢失连接

RAC DBCA 找不到共享磁盘

asm单机dg dbca报错ORA-01031 CRS-2676,rman restore主库控制文件报错ORA-15081