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