[Ocfs2-users] Versions and features

Werner Flamme werner.flamme at ufz.de
Mon Feb 28 05:07:16 PST 2011


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

Hi all,

last Friday my colleague (using Oracle's Linux 5) und me tried to get
access to a shared OCFS2 volume. Since he claimed that he now has OCFS2
1.6, and I only have 1.4.3 (list below), we decided that I create the
filesystem with --fs-feature-level=max-features.

We were surprised that this volume was not mountable by his box because
of unsupported features.

How do we get a list of supported features for his or my version?

The list that is contained in "man mkfs.ocfs2" ist quite confusing,
especially when compared to our installations. My colleague uses OCFS2
tools 1.6 with a kernel module that has a higher version number (1.4.8
AFAIR) than mine, but a kernel 2.6.18, that is not listed in the man
page. I have everything in 1.4 version, but the kernel module identifies
itself as 1.5, what can't be found on the manpage either.

Is there any way to get this info via e.g. fsck.ocfs2? For our two
volume, I see (on SLES):
- ---snip---
# tunefs.ocfs2 -Q "Label: %V\nFeatures (comp.): %H\n         (inco.):
%O\n" /dev/disk/by-label/SAP01
Label: SAP01
Features (comp.): None
         (inco.): None
# tunefs.ocfs2 -Q "Label: %V\nFeatures (comp.): %H\n         (inco.):
%O\n" /dev/disk/by-label/SAP02
Label: SAP02
Features (comp.): inline-data
         (inco.): None
- ---pins---

We want to use the optimal combination of features, but how do we know
them? Only by trial-and-error?

For my SLES11 install, I have following versions:
- ---snip---
ocfs2console-1.4.3-0.14.3
ocfs2-kmp-default-1.4_2.6.32.19_0.2-4.11.5
ocfs2-tools-1.4.3-0.14.3
ocfs2-tools-o2cb-1.4.3-0.14.3
# modinfo ocfs2
filename:
/lib/modules/2.6.32.27-0.2-default/weak-updates/updates/ocfs2/ocfs2/ocfs2.ko
license:        GPL
author:         Oracle
version:        1.5.0
description:    OCFS2 1.5.0
srcversion:     4FD7DAD5AE66FEDD20C0F93
depends:        jbd2,ocfs2_stackglue,quota_tree,ocfs2_nodemanager
supported:      yes
vermagic:       2.6.32.19-0.2-default SMP mod_unload modversions
- ---pins---

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

iEYEARECAAYFAk1rngQACgkQk33Krq8b42NvZwCfbSWeLdFDfHkUFTJBee3v2DcI
rnsAni1rLTvlVYEjrDU285ncdBYlqr+o
=9BT5
-----END PGP SIGNATURE-----



More information about the Ocfs2-users mailing list