Re: Need help configuring ASM on Linux 7

From: Dave Herring <gdherri_at_gmail.com>
Date: Sun, 18 Mar 2018 10:44:11 -0500
Message-ID: <CAFN=diCqJMfD8Si=NRPc4z3r05Nm5SmoyoKta6wS3=dMg8wdEA_at_mail.gmail.com>



 I checked one of our 7.3 + ASM envs and it looks like everything you've listed matches what we have (and is working):

% uname -r
3.10.0-514.10.2.el7.x86_64

% ls -lrth /usr/src/kernels/
total 8.0K
drwxr-xr-x. 22 root root 4.0K Nov 30 15:30 3.10.0-514.el7.x86_64 drwxr-xr-x. 22 root root 4.0K Nov 30 15:35 3.10.0-514.10.2.el7.x86_64

% rpm -qa |grep -i oracleasm
kmod-oracleasm-2.0.8-17.el7.x86_64
oracleasmlib-2.0.12-1.el7.x86_64
oracleasm-support-2.1.8-3.el7.x86_64

% which oracleasm
/usr/sbin/oracleasm

% ls -l /usr/sbin/oracleasm
-rwxr-xr-x. 1 root root 16856 Jul 9 2014 /usr/sbin/oracleasm

% sudo /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes

In the rare chance you haven't reviewed this already, make sure to check "deploying_oracle_rac_12c_rhel7_v1.1"

Dave

On Sun, Mar 18, 2018 at 7:18 AM, Sourav Biswas <biswas.sourav_at_hotmail.com> wrote:

> Thanks Norman! For looking into this issue on a Sunday!
>
>
>
> I have reviewed all these MOS Doc IDs, you mentioned below. They don’t say
> much about oralceasm/kmod module version for Linux kernel 3.10.0-514 .
>
>
>
> I tried updating the existing drivers, but failed:-
>
>
>
> [root_at_dl-bel01 Packages]# /usr/sbin/oracleasm update-driver
>
> Kernel: 3.10.0-514.el7.x86_64 x86_64
>
> Driver name: oracleasm-3.10.0-514.el7.x86_64
>
> Driver for kernel 3.10.0-514.el7.x86_64 does not exist
>
> [root_at_dl-bel01 Packages]# uname -r
>
> 3.10.0-514.el7.x86_64
>
>
>
> Is there any doc/link/blog where asmlib is configured on OEL/RHEL 7 and
> later.
>
>
>
>
>
> Thanks & Regards,
>
> Sourav Biswas
>
> +91-9650017306 <+91%2096500%2017306>
>
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> On
> Behalf Of Norman Dunbar
> Sent: 18 March 2018 17:03
> To: oracle-l_at_freelists.org
> Subject: Re: Need help configuring ASM on Linux 7
>
>
>
> Morning Sourav,
>
>
>
> On 18/03/18 10:23, Sourav Biswas wrote:
>
> > Mar 18 15:42:57 dl-bel01 modprobe: FATAL: Module oracleasm not found.
>
>
>
> Doc ID 2097202.1 says that you need to be sure that the module version
> matches that of your kernel.
>
>
>
>
>
> The offered solutions are:
>
>
>
> One approach is to boot with a kernel that matches the ASMLIB components
>
> or you can update the ASMLIB components.
>
>
>
> Relevant articles:
>
> Automatically Determining The Proper ASMLIB Kernel Driver For Update
>
> (Doc ID 799982.1)
>
>
>
> Tips On Installing and Using ASMLib on Linux (Doc ID 394953.1)
>
>
>
> ASMLib Driver Matrix for Linux 2.4 and 2.6 Kernels (Doc ID 394954.1)
>
>
>
>
>
> HTH
>
>
>
> --
>
> Norman Dunbar
>
> Dunbar IT Consultants Ltd
>
>
>
> Registered address:
>
> 27a Lidget Hill
> <https://maps.google.com/?q=27a+Lidget+Hill+%0D%0A+Pudsey+%0D%0A+West+Yorkshire+%0D%0A+United+Kingdom+%0D%0A+LS28+7LG&entry=gmail&source=g>
>
> Pudsey
> <https://maps.google.com/?q=27a+Lidget+Hill+%0D%0A+Pudsey+%0D%0A+West+Yorkshire+%0D%0A+United+Kingdom+%0D%0A+LS28+7LG&entry=gmail&source=g>
>
> West Yorkshire
> <https://maps.google.com/?q=27a+Lidget+Hill+%0D%0A+Pudsey+%0D%0A+West+Yorkshire+%0D%0A+United+Kingdom+%0D%0A+LS28+7LG&entry=gmail&source=g>
>
> United Kingdom
> <https://maps.google.com/?q=27a+Lidget+Hill+%0D%0A+Pudsey+%0D%0A+West+Yorkshire+%0D%0A+United+Kingdom+%0D%0A+LS28+7LG&entry=gmail&source=g>
>
> LS28 7LG
> <https://maps.google.com/?q=27a+Lidget+Hill+%0D%0A+Pudsey+%0D%0A+West+Yorkshire+%0D%0A+United+Kingdom+%0D%0A+LS28+7LG&entry=gmail&source=g>
>
>
>
> Company Number: 05132767
>
> --
>
> http://www.freelists.org/webpage/oracle-l
>
>
>
>
>

-- 
Dave

--
http://www.freelists.org/webpage/oracle-l
Received on Sun Mar 18 2018 - 16:44:11 CET

Original text of this message