在CentOS 7.5上配置asmfd磁盘失败(未解决)

配置asmfd磁盘失败,升级到最新的内核仍然失败!

[root@rac191 install]# export ORACLE_HOME=/ofsdata/app/19.0.0/grid
[root@rac191 install]# export ORACLE_BASE=/tmp
[root@rac191 install]# echo $ORACLE_BASE
/tmp
[root@rac191 install]# echo $ORACLE_HOME
/ofsdata/app/19.0.0/grid
[root@rac191 install]# /ofsdata/app/19.0.0/grid/bin/asmcmd afd_label DATA1 /dev/sdc --init
No devices to be labeled.
[root@rac191 install]# /ofsdata/app/19.0.0/grid/bin/asmcmd  afd_lslbl /dev/sdc
No devices to be scanned.

检查系统是否支持,不支持!升级内核。

[grid@rac191 ~]$ acfsdriverstate  -orahome $ORACLE_HOME supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'centos-release-7-5.1804.el7.centos.x86_64'
ACFS-9201: Not Supported
[grid@rac191 ~]$ 
[grid@rac191 ~]$  afdroot install
AFD-620: AFD is not supported on this operating system version: 'centos-release-7-5.1804.el7.centos.x86_64'
[grid@rac191 ~]$ uname -a      
Linux rac191.scutech 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[grid@rac191 ~]$  cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
[grid@rac191 ~]$ rpm -qa|grep kmod
kmod-libs-20-21.el7.x86_64
kmod-20-21.el7.x86_64
 [root@rac191 install]# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
[root@rac191 install]# rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
[root@rac191 install]# cat /etc/yum.repos.d/
elrepo.repo  my.repo
[root@rac191 install]# yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
[root@rac191 install]# yum --enablerepo=elrepo-kernel install kernel-ml
......
Installed:
  kernel-ml.x86_64 0:5.8.9-1.el7.elrepo   

设置新的内核为grub2的默认版本
服务器上存在4 个内核,我们要使用 5.8.9 这个版本,可以通过 grub2-set-default 0 命令或编辑 /etc/default/grub 文件来设置
其中 0 是查询出来的可用我们要使用的内核 grub2-set-default 0

  [root@rac191 install]# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
0 : CentOS Linux (5.8.9-1.el7.elrepo.x86_64) 7 (Core)
1 : CentOS Linux (3.10.0-862.el7.x86_64) 7 (Core)
2 : CentOS Linux (0-rescue-b4c9d813741f4adfbd00883a24d6d566) 7 (Core)

重新启动后,仍然失败:

[root@rac191 ~]# uname -r
5.8.9-1.el7.elrepo.x86_64
[root@rac191 ~]#  /ofsdata/app/19.0.0/grid/bin/asmcmd afd_label DATA1 /dev/sdc --init
No devices to be labeled.
[root@rac191 ~]# /ofsdata/app/19.0.0/grid/bin/acfsdriverstate  -orahome $ORACLE_HOME supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'centos-release-7-5.1804.el7.centos.x86_64'
ACFS-9201: Not Supported
ACFS-9294: updating file /etc/sysconfig/oracledrivers.conf

和操作系统的兼容查询文档: ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)
在CentOS 7.5上配置asmfd磁盘失败(未解决)_第1张图片
只能放弃了,改回原来的内核。

[root@rac191 ~]# grub2-set-default 1
[root@rac191 ~]# reboot

你可能感兴趣的:(oracle,Linux,#,RAC)