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

Werner Flamme werner.flamme at ufz.de
Tue Jun 7 05:29:46 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sven Karlsson [07.06.2011 14:01]:
> Hello,

Hi Sven,

> O2CB is configured and starts up as it should and reports that
> mycluster is active, the O2CB heartbeat is active and the filesystem
> mounts OK.
> 
> But: writes to the filesystem all fail with 'permission denied'. Example:

> # mount | grep o2
> /dev/mapper/vg01-lv_mycluster on /o2 type ocfs2
> (rw,relatime,_netdev,heartbeat=local,nointr,data=ordered,errors=remount-ro,coherency=full,user_xattr,acl)

> Do you know what is the cause of this apparent "read-only" mode?
> (although it is reported as a mounted rw)
> 
> Any pointers for further troubleshooting is greatly appreciated!

Unfortunately, mount shows the filesystem as rw when even when it was
remounted ro because of errors (mount option: errors=remount-ro). Maybe
dmesg can tell you if there were errors and that the drive is in ro
access now.

I suggest that you unmount the filesystem on all nodes and do a

fsck.ocfs2 -f dev/mapper/vg01-lv_mycluster

on one node. Since the fs is new and empty, you may even want to add the
- -y option ;-) (see man fsck.ocfs2).

HTH
Werner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3uGboACgkQk33Krq8b42P3mQCeK6/UexEic7Q0lw2G2Wxcr3e8
Jc4AnA3YsaBS8TFEO4dfODJuUcitwgop
=cAzC
-----END PGP SIGNATURE-----



More information about the Ocfs2-users mailing list