Hi,
I posted this in the RAC forum but wanted to see if anyone here could shed some light on this as well.
I am installing a 2 node RAC using Virtual Box 5.0.8 and going through the Grid install (Oracle Grid Infrastructure 11g Release 2 (11.2.0.1) 64 bit.
when I get to the section of discovering disks(ASM) there are no disks showing up. I use the "Change Discovery Path" option and It still will not pick up on my disk. I have also tried re-downloading the software as well as deleting the disk and recreating them just with ASM, NOT deleting the shared disk in VM manager and then recreating this as well.
So, created the disks by first creating a new disk in virtual media manager, then made it shareable, then used fdisk to partition the new disk, then created the disk using oracleasm created disk disk1 /dev/sdb1. Both RAC nodes see the disk, "DISK1" . I am wondering if I have some type of permission problem, just not sure what. If anyone has any suggestions and if you need to see output on anything else please let me know. Thanks
1) In the Disk Discovery option I have tried:
/dev/oracleasm/disks/*
/dev/oracleasm/disks/*DISK1
ORCL:*
2) oracle@rac1 grid]$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: OracleServer
Description: Oracle Linux Server release 6.7
Release: 6.7
Codename: n/a
oracle@rac1 ~]$ uname -a
Linux rac1.localdomain 3.8.13-98.5.2.el6uek.x86_64 #2 SMP Tue Nov 3 18:32:04 PST2015 x86_64 x86_64 x86_64 GNU/Linux
3)
Restart of asmlib driver:
root@rac1 oracle]# /etc/init.d/oracleasm restart
Dropping Oracle ASMLib disks: [ OK ]
Shutting down the Oracle ASMLib driver: [ OK ]
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
4)
oracle@rac1 ~]$ oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[oracle@rac1 grid]$ oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
5)
[oracle@rac1 ~]$ oracleasm listdisks
DISK1
6)
oracle@rac1 ~]$ ls -l /dev/oracleasm/disks
total 0
brw-rw---- 1 oracle oinstall 8, 17 Nov 13 10:42 DISK1
7)
oracle@rac1 ~]$ rpm -qa | grep oracleasm
oracleasmlib-2.0.12-1.el6.x86_64
oracleasm-support-2.1.8-1.el6.x86_64
kmod-oracleasm-2.0.8-5.el6_7.x86_64
8) [oracle@rac1 ~]$ id oracle
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),493(vboxsf),501(dba)