0001 What: /sys/fs/ocfs2/
0002 Date: April 2008
0003 Contact: ocfs2-devel@oss.oracle.com
0004 Description:
0005 The /sys/fs/ocfs2 directory contains knobs used by the
0006 ocfs2-tools to interact with the filesystem.
0007
0008 What: /sys/fs/ocfs2/max_locking_protocol
0009 Date: April 2008
0010 Contact: ocfs2-devel@oss.oracle.com
0011 Description:
0012 The /sys/fs/ocfs2/max_locking_protocol file displays version
0013 of ocfs2 locking supported by the filesystem. This version
0014 covers how ocfs2 uses distributed locking between cluster
0015 nodes.
0016
0017 The protocol version has a major and minor number. Two
0018 cluster nodes can interoperate if they have an identical
0019 major number and an overlapping minor number - thus,
0020 a node with version 1.10 can interoperate with a node
0021 sporting version 1.8, as long as both use the 1.8 protocol.
0022
0023 Reading from this file returns a single line, the major
0024 number and minor number joined by a period, eg "1.10".
0025
0026 This file is read-only. The value is compiled into the
0027 driver.
0028
0029 What: /sys/fs/ocfs2/loaded_cluster_plugins
0030 Date: April 2008
0031 Contact: ocfs2-devel@oss.oracle.com
0032 Description:
0033 The /sys/fs/ocfs2/loaded_cluster_plugins file describes
0034 the available plugins to support ocfs2 cluster operation.
0035 A cluster plugin is required to use ocfs2 in a cluster.
0036 There are currently two available plugins:
0037
0038 * 'o2cb' - The classic o2cb cluster stack that ocfs2 has
0039 used since its inception.
0040 * 'user' - A plugin supporting userspace cluster software
0041 in conjunction with fs/dlm.
0042
0043 Reading from this file returns the names of all loaded
0044 plugins, one per line.
0045
0046 This file is read-only. Its contents may change as
0047 plugins are loaded or removed.
0048
0049 What: /sys/fs/ocfs2/active_cluster_plugin
0050 Date: April 2008
0051 Contact: ocfs2-devel@oss.oracle.com
0052 Description:
0053 The /sys/fs/ocfs2/active_cluster_plugin displays which
0054 cluster plugin is currently in use by the filesystem.
0055 The active plugin will appear in the loaded_cluster_plugins
0056 file as well. Only one plugin can be used at a time.
0057
0058 Reading from this file returns the name of the active plugin
0059 on a single line.
0060
0061 This file is read-only. Which plugin is active depends on
0062 the cluster stack in use. The contents may change
0063 when all filesystems are unmounted and the cluster stack
0064 is changed.
0065
0066 What: /sys/fs/ocfs2/cluster_stack
0067 Date: April 2008
0068 Contact: ocfs2-devel@oss.oracle.com
0069 Description:
0070 The /sys/fs/ocfs2/cluster_stack file contains the name
0071 of current ocfs2 cluster stack. This value is set by
0072 userspace tools when bringing the cluster stack online.
0073
0074 Cluster stack names are 4 characters in length.
0075
0076 When the 'o2cb' cluster stack is used, the 'o2cb' cluster
0077 plugin is active. All other cluster stacks use the 'user'
0078 cluster plugin.
0079
0080 Reading from this file returns the name of the current
0081 cluster stack on a single line.
0082
0083 Writing a new stack name to this file changes the current
0084 cluster stack unless there are mounted ocfs2 filesystems.
0085 If there are mounted filesystems, attempts to change the
0086 stack return an error.
0087
0088 Users:
0089 ocfs2-tools <ocfs2-tools-devel@oss.oracle.com>