[Ocfs2-users] Extended Attributes support

Frank Lahm franklahm at googlemail.com
Mon Mar 29 03:40:55 PDT 2010


Hi,

although official Oracle documentation indeed suggests that EA should
not work if ocfs-tool is installed with version 1.4.3, which it is on
Ubuntu 10 beta1:
<http://oss.oracle.com/osswiki/OCFS2/NewFeaturesList>
"Extended Attributes
Required Kernel: Linux 2.6.28
Required Tools: Ocfs2 Tools 1.4.4 (not yet released)"

I can use EAs after creating an OCFS fs with xattr support:

# mount | grep ocfs
/dev/sdb on /mnt type ocfs2 (rw,_netdev,cluster_stack=pcmk)
# cd /mnt/
# setfattr -n user.test -v bla file
# getfattr -d file
# file: file
user.test="bla"

How nice! But: how comes?

Btw: I've done a some benchmarking of OCFS2 vs GFS2 using Netatalk
Lantest and published the results here:
<https://sourceforge.net/apps/mediawiki/netatalk/index.php?title=Lantest_Results>

Summary: OCFS2 beets the pants out of GFS2. Even still with
clusterwide POSIX locking which the tested application uses
exensively.

-Frank



More information about the Ocfs2-users mailing list