[Ocfs2-users] cannot write to filesystem, permission denied?

Sven Karlsson karlesven at gmail.com
Tue Jun 7 07:05:09 PDT 2011


On Tue, Jun 7, 2011 at 3:06 PM, Werner Flamme <werner.flamme at ufz.de> wrote:
> Sven Karlsson [07.06.2011 14:47]:
>> Now this is strange:
>>
>> # fsck.ocfs2 -f /dev/vg01/lv_mycluster
>> fsck.ocfs2 1.6.3
>> fsck.ocfs2: Could not create domain while initializing the DLM
>> #
>>
>> However, if the filesystem is mounted, it is checked OK
>> with fsck.ocfs2 -nf  ...
>>
>> Maybe there is some locking problem?

Turns out it all was a SELinux problem. SELinux was enabled by
default. By editing /etc/selinux/config and setting SELINUX=disabled
and subsequent reboot solved both the file/directory creation problem,
and the fsck as above also works.



More information about the Ocfs2-users mailing list