对于rhel 6.6 内核2.6.32-504.el6安装asmlib问题

环境:
[root@node1 ~]# uname -r
2.6.32-504.el6.x86_64

[root@node1 home]# rpm -ivh oracleasmlib-2.0.12-1.el6.x86_64.rpm
warning: oracleasmlib-2.0.12-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.12-1.el6.x86_64

最近使用oracle asmlib来固化磁盘,‘ oracleasm-support, oracleasmlib和kmod-oracleasm’ 软件包可以在
http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html下载,但是由于oracle 开发了自己的linux系统,就没有对后续的linux版本提供asmlib支持(具体来说没有对后续linux内核版本提供kmod-oracleasm);如果想在6.6版本使用asmlib,就必须要对内核版本升级,具体问题可以参考https://community.oracle.com/thread/3552084?start=0&tstart=0。
具体解决方案可参考 https://access.redhat.com/solutions/698613。
引用redhat一段话:

Issue:
kmod-oracleasm version 2.0.6.rh1-2.el6 depends on the following kernel version. So it is not available for Red Hat Enterprise Linux 6.5 (2.6.32-431.el6)


kernel >= 2.6.32-358.el6
kernel < 2.6.32-359.el6

kmod-oracleasm version 2.0.6.rh1-3.el6_5 depends on the following kernel version. It is not available for Red Hat Enterprise Linux 6.6 (2.6.32-504.el6)


kernel >= 2.6.32-431.el6
kernel < 2.6.32-432.el6



    Oracle ASM drivers not compatible with the new kernel. We have updated the Kernel to RHEL version 6 update 6 without an update to the Oracle ASM drivers whcih caused all ASM storage to be unreachable. No Oracle ASM library package is listed as available for RHEL v 6.6?

    kmod-oracleasm (version- 2.0.6.rh1-2.el6) not provided with RHEL 6.6 release

        Does package kmod-oracleasm also support kernel-2.6.32-431 and kernel-2.6.32-431.5.1.el6.x86_64?

        Is it ok to install kmod-oracleasm 2.0.6.rh1-3.el6_5 on RHEL6.5 with kernel-2.6.32-431 or kernel-2.6.32-431.5.1.el6.x86_64?

Resolution

    kmod-oracleasm-2.0.6.rh1-3.el6_5.x86_64.rpm can be used for all minor version of kernel 2.6.32-431.el6
    For Red Hat Enterprise Linux 6.5, use version kmod-oracleasm2.0.6.rh1-3.el6_5.
    For Red Hat Enterprise Linux 6.6, use version kmod-oracleasm 2.0.8-4.el6_6.

所以内核版本在 Linux 6.6 (2.6.32-504.el6),需要使用“kmod-oracleasm 2.0.8-4.el6_6”,可以在“https://access.redhat.com/errata/RHEA-2014:1869”下载对应版本包。

你可能感兴趣的:(oracle)