Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

asmlib: asm_diskstring='ORCL:VOL*' doesnt work

353089Dec 4 2006 — edited Dec 5 2006
Hi,

im am installing a RAC following Jeffrey M. Hunters article "Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and FireWire".

After creating the ASM instances with DBCA the asm disks cannot be discovered.

When i change the the discovery string from 'ORCL:VOL*' to '/dev/oracleasm/disks/*' i can see my disks, but i read i should not do that.

Questions:
- what might habe gone wrong?
- what can do for more anlaysis?
- may i leave the asm_diskstring set to '/dev/oracleasm/disks/*'

Any ideas?
Regards - Joachim

Additional info:
OS is Centos 4.4 (RHEL 4.4)
[root@linux1 ~]# uname -a
Linux linux1.jj 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686 i686 i386 GNU/Linux
[root@linux1 ~]# rpm -qa | grep oracleasm
oracleasm-support-2.0.3-1
oracleasmlib-2.0.2-1
oracleasm-2.6.9-42.EL-2.0.3-1
[root@linux1 ~]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
[root@linux1 ~]# ls -l /dev/oracleasm/disks/
total 0
brw-rw---- 1 oracle dba 8, 2 Dec 4 18:31 VOL1
brw-rw---- 1 oracle dba 8, 3 Dec 4 18:06 VOL2
brw-rw---- 1 oracle dba 8, 4 Dec 4 18:06 VOL3
[root@linux1 ~]# su - oracle
[oracle@linux1 ~]$ export ORACLE_SID=+ASM1
[oracle@linux1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 4 19:44:01 2006

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

SQL> show parameter asm_diskstring

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string ORCL:*
SQL> select path from v$asm_disk;

no rows selected

SQL> alter system set asm_diskstring='/dev/oracleasm/disks/*';

System altered.

SQL> select path from v$asm_disk;

PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/VOL2
/dev/oracleasm/disks/VOL1
/dev/oracleasm/disks/VOL3

SQL> alter system set asm_diskstring='';

System altered.

SQL> select path from v$asm_disk;

no rows selected

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
[oracle@linux1 ~]$
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 2 2007
Added on Dec 4 2006
1 comment
2,493 views