[安装] 创建asmlib 磁盘失败

天大地大妈咪最大 提交于 2019-12-13 17:46:22

【推荐】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认证培训班火热报名中,更多详情请访问思庄网站咨询在线客服!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!