centos系统ACFS-9459: ADVM/ACFS is not supported

centos6.3系统发现acfs和advm无法使用,ASMCA图形界面的acfs和volume选项卡为灰色,这是由于acfs不支持centos系统导致的

Last login: Thu Dec 14 09:33:10 2017 from 10.38.1.52
[root@rac01 ~]# /u01/app/11.2.0/grid/bin/acfsdriverstate -orahome /u01/app/11.2.0/grid installed
ACFS-9204: false
[root@rac01 ~]# /u01/app/11.2.0/grid/bin/acfsdriverstate
ACFS-9207: The user this command is executing as does not have permission to execute Perl in '/perl/bin/perl'.
ACFS-9206: usage: acfsdriverstate [-orahome ] [-s]
[root@rac01 ~]# /u01/app/11.2.0/grid/bin/acfsdriverstate supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'centos-release-6-5.el6.centos.11.1.x86_64
'
ACFS-9201: Not Supported


[root@rac01 lib]# cp -p osds_acfslib.pm osds_acfslib.pm.bak
添加  ($release =~ /^centos-release/) ||        # CentOS hack 
[root@rac01 lib]# vi osds_acfslib.pm

  # Testing for "oraclelinux_release", etc prevents us from dropping
  # into the code below from other RH based distros like CentOS, for example.
  if ((defined($release)) &&                     # Redhat or OEL if defined
      (($release =~ /^redhat-release/) ||        # straight RH
       ($release =~ /^enterprise-release/) ||    # Oracle Enterprise Linux
        ($release =~ /^centos-release/) ||        # CentOS hack 
       ($release =~ /^oraclelinux-release/)))    # Oracle Linux

[root@rac01 lib]#  /u01/app/11.2.0/grid/bin/acfsload start -s
ACFS-9129: ADVM/ACFS not installed
[root@rac01 lib]# /u01/app/11.2.0/grid/bin/acfsroot install
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9154: Loading 'oracleoks.ko' driver.
ACFS-9154: Loading 'oracleadvm.ko' driver.
ACFS-9154: Loading 'oracleacfs.ko' driver.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
ACFS-9156: Detecting control device '/dev/ofsctl'.
ACFS-9309: ADVM/ACFS installation correctness verified.
[root@rac01 lib]# 
[root@rac01 lib]# 
[root@rac01 lib]# 
[root@rac01 lib]# /u01/app/11.2.0/grid/bin/acfsload start -s

你可能感兴趣的:(oracle,rac)