文件内容如下:
[root@hisdg sysconfig]# more oracleasm-_dev_oracleasm
#
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver. It is generated
# By running /etc/init.d/oracleasm configure. Please use that method
# to modify this file
#
# ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
ORACLEASM_UID=grid /*指定asm磁盘组owner*/
# ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
ORACLEASM_GID=asmdba /*指定asm磁盘组所属group*/
# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
ORACLEASM_SCANBOOT=true /*指定重启系统是否扫描磁盘组,为false表示不扫描*/
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER=""
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE=""
# ORACLEASM_USE_LOGICAL_BLOCK_SIZE: 'true' means use the logical block size
# reported by the underlying disk instead of the physical. The default
# is 'false'
ORACLEASM_USE_LOGICAL_BLOCK_SIZE=false
作者: zhouwei1990 时间: 2018-1-19 17:16
你这个配置文件是不是少了一行?
# ORACLEASM_ENABLED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true /*指定重启系统加载ASMLIB DRIVER*/ 作者: miss_puff 时间: 2018-1-19 18:02
我这是7.3的操作系统,在安装asmlib包后。执行了systemctl enable oracleasm.service命令,写到服务里面的,不写配置文件了