-----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-----
On Mon, Feb 28, 2011 at 02:07:16PM +0100, Werner Flamme wrote:> -----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.If you want to share among differing versions, you want --fs-feature-level=max-compat. max-features means "select the newest features", which will be incompatible with ocfs2 1.4. Joel -- Life's Little Instruction Book #407 "Every once in a while, take the scenic route." http://www.jlbec.org/ jlbec at evilplan.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joel Becker [28.02.2011 18:10]:> On Mon, Feb 28, 2011 at 02:07:16PM +0100, Werner Flamme wrote: >> -----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. > > If you want to share among differing versions, you want > --fs-feature-level=max-compat. max-features means "select the newest > features", which will be incompatible with ocfs2 1.4. > > JoelJoel, I see that. I used --fs-feature-level=max-features this because I thought that my colleague has a newer version that I have and that he will be able to "consume" all features that my old mkfs.ocfs2 is able to activate. He was not. I know --fs-feature-level=max-compat. That's what I used to get both machines to mount the volumes. But I still want to know which features are available at both of our installations: which features are available for his Oracle Linux 5.something? Which features are available for my SLES 11 SP 1? How do I know that? --fs-feature-level=max-compat turns off a lot of useful features (e.g. sparse), that is unnecessary to turn off because both machines can handle it. I want to know the features both OS' have in common, so that I can choose the right subset of available features when creating a filesystem. Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1s8woACgkQk33Krq8b42OgMQCfe/0eJhKHXNDdVxjwh+nkRR/z e7gAn0K+8Sz4EevA3Pfn3LkLldhrwQNh =R1YN -----END PGP SIGNATURE-----