Re: How can I debug NO ASM disk issue when installing grid infrastructure 11.2.0.2?

  • From: jason arneil <jason.arneil@xxxxxxxxx>
  • To: kamusis@xxxxxxxxx
  • Date: Tue, 23 Nov 2010 10:54:55 +0000

Hello,

You don't seem alone in having trouble with the installer finding candidate 
disks. One additional thing I would check would be the following:

is your ASMLIB kernel module loaded?

/sbin/lsmod |grep asm
oracleasm              55176  1 

Does your module version match your kernel version?

/sbin/modinfo oracleasm
filename:       
/lib/modules/2.6.9-22.ELsmp/kernel/drivers/addon/oracleasm/oracleasm.ko
description:    Kernel driver backing the Generic Linux ASM Library.
author:         Joel Becker <joel.becker@xxxxxxxxxx>
version:        2.0.3
license:        GPL
depends:        
vermagic:       2.6.9-22.ELsmp SMP gcc-3.4


uname -r
2.6.9-22.ELsmp

Does oracleasm-discover find your devices?

 sudo /usr/sbin/oracleasm-discover 
Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
[ASM Library - Generic Linux, version 2.0.2 (KABI_V2)]
Discovered disk: ORCL:VOL1 [121634784 blocks (62277009408 bytes), maxio 512]
Discovered disk: ORCL:VOL2 [20971488 blocks (10737401856 bytes), maxio 512]
Discovered disk: ORCL:VOL3 [20971488 blocks (10737401856 bytes), maxio 512]
Discovered disk: ORCL:VOL4 [419424957 blocks (214745577984 bytes), maxio 512]
Discovered disk: ORCL:VOL5 [251658162 blocks (128848978944 bytes), maxio 512]
Discovered disk: ORCL:VOL6 [629137467 blocks (322118383104 bytes), maxio 512]

The permissions are correct, right? Your disks are owned grid:dba you are 
running the oui  with a user in those groups?

jason.

--
http://blog.jarneil.co.uk


On 23 Nov 2010, at 09:29, Leyi Zhang (Kamus) wrote:

> Hi, experts
> 
> Before I open an SR on MOS, I think I should post to this mailing list.
> 
> I'm installing 11.2.0.2 grid infrastructure on 2-nodes Egenera Blade
> which hostname is rac1 and rac2.
> 
> ASMlib was installed and configured correctly on both nodes.
> Installation is running on rac1 node.
> 
> [root@rac1 disks]# uname -a
> Linux rac1 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64
> x86_64 x86_64 GNU/Linux
> 
> [root@rac1 disks]# ls -l /dev/oracleasm/disks/
> total 0
> brw-rw---- 1 grid dba 8, 17 Nov 23 20:41 VOL1
> brw-rw---- 1 grid dba 8, 18 Nov 23 20:41 VOL2
> brw-rw---- 1 grid dba 8, 19 Nov 23 20:41 VOL3
> [root@rac1 disks]# ls -l /dev/sdb*
> brw-r----- 1 root disk 8, 16 Nov 23 20:40 /dev/sdb
> brw-r----- 1 root disk 8, 17 Nov 23 20:41 /dev/sdb1
> brw-r----- 1 root disk 8, 18 Nov 23 20:41 /dev/sdb2
> brw-r----- 1 root disk 8, 19 Nov 23 20:41 /dev/sdb3
> [root@rac1 disks]# oracleasm listdisks
> VOL1
> VOL2
> VOL3
> [root@rac1 disks]# oracleasm querydisk VOL1
> Disk "VOL1" is a valid ASM disk
> 
> I plan to use ASM to storage OCR, but OUI can't find any candidate
> disks, I tried to set ASM_DISKSTRING=ORCL:VOL*, but have no luck.
> 
> My question is:
> 1. How can I debug why OUI can't find any disk? There is no $GRID_HOME
> created yet, no oraInventory directory yet, no cfgtoollogs directory
> yet.
> 2. Is there anyone has experience for  Oracle RAC 11gR2 on Egenera
> Blade machine?
> 
> --
> Kamus <kamusis@xxxxxxxxx>
> 
> Visit my blog for more : http://www.dbform.com
> Join ACOUG: http://www.acoug.org
> --
> //www.freelists.org/webpage/oracle-l
> 
> 

Other related posts: