重庆思庄Oracle、Redhat认证学习论坛

标题: Linux7 安装rac时无法挂载oracleasm模块 [打印本页]

作者: jiawang    时间: 2019-4-16 11:29
标题: Linux7 安装rac时无法挂载oracleasm模块
本帖最后由 jiawang 于 2019-4-16 11:33 编辑

[root@db1 setup]#  oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting <ENTER> without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: grid
Default group to own the driver interface []: asmdba
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
[root@db1 setup]# oracleasm createdisk data01 /dev/sdb1
oracleasm module not loaded or /dev/oracleasm not mounted.

[root@db1 setup]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no


解决方法
linux7需要手动挂载oracleasm模块

[root@db1 setup]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@db1 setup]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes











欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2