Marking disk "data01" as an ASM disk: [FAILED][@more@]
[root@rac1 ~]# more /var/log/oracleasm
Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "DATA01": Permission deniedfailed
出现这个需要将selinux disable掉
[root@rac1 ~]# more /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disable
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
这个需要重启才能生效,如果需要立即生效,需执行
[root@rac1 ~]# setenforce
usage: setenforce [ Enforcing | Permissive | 1 | 0 ]
[root@rac1 ~]# setenforce 0
之后便可以创建asmdisk 了。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24237320/viewspace-1060996/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24237320/viewspace-1060996/