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
I checked. The core support for xattr in tools was added in 1.4.2. We plan on pinging ubuntu to pick up tools 1.6 (when it is ready) that has xattr support enabled by default. Frank Lahm wrote:> 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 > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >