sysfs-ocfs2 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. What: /sys/fs/ocfs2/
  2. Date: April 2008
  3. Contact: ocfs2-devel@oss.oracle.com
  4. Description:
  5. The /sys/fs/ocfs2 directory contains knobs used by the
  6. ocfs2-tools to interact with the filesystem.
  7. What: /sys/fs/ocfs2/max_locking_protocol
  8. Date: April 2008
  9. Contact: ocfs2-devel@oss.oracle.com
  10. Description:
  11. The /sys/fs/ocfs2/max_locking_protocol file displays version
  12. of ocfs2 locking supported by the filesystem. This version
  13. covers how ocfs2 uses distributed locking between cluster
  14. nodes.
  15. The protocol version has a major and minor number. Two
  16. cluster nodes can interoperate if they have an identical
  17. major number and an overlapping minor number - thus,
  18. a node with version 1.10 can interoperate with a node
  19. sporting version 1.8, as long as both use the 1.8 protocol.
  20. Reading from this file returns a single line, the major
  21. number and minor number joined by a period, eg "1.10".
  22. This file is read-only. The value is compiled into the
  23. driver.
  24. What: /sys/fs/ocfs2/loaded_cluster_plugins
  25. Date: April 2008
  26. Contact: ocfs2-devel@oss.oracle.com
  27. Description:
  28. The /sys/fs/ocfs2/loaded_cluster_plugins file describes
  29. the available plugins to support ocfs2 cluster operation.
  30. A cluster plugin is required to use ocfs2 in a cluster.
  31. There are currently two available plugins:
  32. * 'o2cb' - The classic o2cb cluster stack that ocfs2 has
  33. used since its inception.
  34. * 'user' - A plugin supporting userspace cluster software
  35. in conjunction with fs/dlm.
  36. Reading from this file returns the names of all loaded
  37. plugins, one per line.
  38. This file is read-only. Its contents may change as
  39. plugins are loaded or removed.
  40. What: /sys/fs/ocfs2/active_cluster_plugin
  41. Date: April 2008
  42. Contact: ocfs2-devel@oss.oracle.com
  43. Description:
  44. The /sys/fs/ocfs2/active_cluster_plugin displays which
  45. cluster plugin is currently in use by the filesystem.
  46. The active plugin will appear in the loaded_cluster_plugins
  47. file as well. Only one plugin can be used at a time.
  48. Reading from this file returns the name of the active plugin
  49. on a single line.
  50. This file is read-only. Which plugin is active depends on
  51. the cluster stack in use. The contents may change
  52. when all filesystems are unmounted and the cluster stack
  53. is changed.
  54. What: /sys/fs/ocfs2/cluster_stack
  55. Date: April 2008
  56. Contact: ocfs2-devel@oss.oracle.com
  57. Description:
  58. The /sys/fs/ocfs2/cluster_stack file contains the name
  59. of current ocfs2 cluster stack. This value is set by
  60. userspace tools when bringing the cluster stack online.
  61. Cluster stack names are 4 characters in length.
  62. When the 'o2cb' cluster stack is used, the 'o2cb' cluster
  63. plugin is active. All other cluster stacks use the 'user'
  64. cluster plugin.
  65. Reading from this file returns the name of the current
  66. cluster stack on a single line.
  67. Writing a new stack name to this file changes the current
  68. cluster stack unless there are mounted ocfs2 filesystems.
  69. If there are mounted filesystems, attempts to change the
  70. stack return an error.
  71. Users:
  72. ocfs2-tools <ocfs2-tools-devel@oss.oracle.com>