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

标题: 创建asmlib 磁盘失败 [打印本页]

作者: jiawang    时间: 2019-11-25 13:27
标题: 创建asmlib 磁盘失败
[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






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