OCFS2の起動時にocfs2_dlmfsファイルシステムのマウントに失敗する件
OCFS2をインストール後、OCFS2がなぜか利用できなくてはまる。以下のログを吐いてocfs2が利用できない。
Starting o2cb: Loading filesystem "configfs": OK Mounting configfs filesystem at /sys/kernel/config: OK Loading filesystem "ocfs2_dlmfs": OCFS2 User DLM kernel interface loaded OK Mounting ocfs2_dlmfs filesystem at /dlm: audit(1221555793.445:4): avc: denied { mount } for pid=1086 comm="mount" name="/" dev=ocfs2_dlmfs ino=3960 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem mount: block device ocfs2_dlmfs is write-protected, mounting read-only audit(1221555793.445:5): avc: denied { mount } for pid=1086 comm="mount" name="/" dev=ocfs2_dlmfs ino=3961 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem mount: cannot mount block device ocfs2_dlmfs read-only Unable to mount ocfs2_dlmfs filesystem Failed
理由は簡単でSELinuxが有効(enforcing)になっていたから・・・。ファイアウォール停止とは別物なのね。
# vi /etc/sysconfig/selinux - SELINUX=enforcing + SELINUX=disabled