【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
[root@db01 mapper]# oracleasm createdisk vot01 /dev/mapper/votdsk01
oracleasm module not loaded or /dev/oracleasm not mounted.
[root@db01 mapper]# ll
[root@db01 ~]# systemctl status oracleasm
● oracleasm.service - Load oracleasm Modules
Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-11-25 04:59:08 CST; 23min ago
Process: 63194 ExecStart=/usr/sbin/oracleasm.init start_sysctl (code=exited, status=1/FAILURE)
Main PID: 63194 (code=exited, status=1/FAILURE)
Nov 25 04:59:08 db01 systemd[1]: Starting Load oracleasm Modules...
Nov 25 04:59:08 db01 oracleasm.init[63194]: Make sure to enable oracleasm via systemctl & 'oracleasm configure -e'
Nov 25 04:59:08 db01 systemd[1]: oracleasm.service: main process exited, code=exited, status=1/FAILURE
Nov 25 04:59:08 db01 systemd[1]: Failed to start Load oracleasm Modules.
Nov 25 04:59:08 db01 systemd[1]: Unit oracleasm.service entered failed state.
Nov 25 04:59:08 db01 systemd[1]: oracleasm.service failed.
[root@db01 ~]# systemctl start oracleasm
[root@db01 ~]# systemctl status oracleasm
● oracleasm.service - Load oracleasm Modules
Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
Active: active (exited) since Mon 2019-11-25 05:22:51 CST; 2s ago
Process: 64766 ExecStart=/usr/sbin/oracleasm.init start_sysctl (code=exited, status=0/SUCCESS)
Main PID: 64766 (code=exited, status=0/SUCCESS)
Nov 25 05:22:51 db01 systemd[1]: Starting Load oracleasm Modules...
Nov 25 05:22:51 db01 oracleasm.init[64766]: Initializing the Oracle ASMLib driver: OK
Nov 25 05:22:51 db01 oracleasm.init[64766]: Scanning the system for Oracle ASMLib disks: OK
Nov 25 05:22:51 db01 systemd[1]: Started Load oracleasm Modules.
[root@db01 ~]# oracleasm createdisk vot01 /dev/mapper/votdsk01
Writing disk header: done
Instantiating disk: done
[root@db01 ~]# oracleasm createdisk vot02 /dev/mapper/votdsk02
Writing disk header: done
Instantiating disk: done
[root@db01 ~]# oracleasm createdisk vot03 /dev/mapper/votdsk03
Writing disk header: done
重庆思庄oracleOCP认证培训班火热报名中,更多详情请访问思庄网站咨询在线客服!
来源:oschina
链接:https://my.oschina.net/u/3635497/blog/3142765