ocfs2.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. OCFS2 filesystem
  2. ==================
  3. OCFS2 is a general purpose extent based shared disk cluster file
  4. system with many similarities to ext3. It supports 64 bit inode
  5. numbers, and has automatically extending metadata groups which may
  6. also make it attractive for non-clustered use.
  7. You'll want to install the ocfs2-tools package in order to at least
  8. get "mount.ocfs2" and "ocfs2_hb_ctl".
  9. Project web page: http://ocfs2.wiki.kernel.org
  10. Tools git tree: https://github.com/markfasheh/ocfs2-tools
  11. OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
  12. All code copyright 2005 Oracle except when otherwise noted.
  13. CREDITS:
  14. Lots of code taken from ext3 and other projects.
  15. Authors in alphabetical order:
  16. Joel Becker <joel.becker@oracle.com>
  17. Zach Brown <zach.brown@oracle.com>
  18. Mark Fasheh <mfasheh@suse.com>
  19. Kurt Hackel <kurt.hackel@oracle.com>
  20. Tao Ma <tao.ma@oracle.com>
  21. Sunil Mushran <sunil.mushran@oracle.com>
  22. Manish Singh <manish.singh@oracle.com>
  23. Tiger Yang <tiger.yang@oracle.com>
  24. Caveats
  25. =======
  26. Features which OCFS2 does not support yet:
  27. - Directory change notification (F_NOTIFY)
  28. - Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease)
  29. Mount options
  30. =============
  31. OCFS2 supports the following mount options:
  32. (*) == default
  33. barrier=1 This enables/disables barriers. barrier=0 disables it,
  34. barrier=1 enables it.
  35. errors=remount-ro(*) Remount the filesystem read-only on an error.
  36. errors=panic Panic and halt the machine if an error occurs.
  37. intr (*) Allow signals to interrupt cluster operations.
  38. nointr Do not allow signals to interrupt cluster
  39. operations.
  40. noatime Do not update access time.
  41. relatime(*) Update atime if the previous atime is older than
  42. mtime or ctime
  43. strictatime Always update atime, but the minimum update interval
  44. is specified by atime_quantum.
  45. atime_quantum=60(*) OCFS2 will not update atime unless this number
  46. of seconds has passed since the last update.
  47. Set to zero to always update atime. This option need
  48. work with strictatime.
  49. data=ordered (*) All data are forced directly out to the main file
  50. system prior to its metadata being committed to the
  51. journal.
  52. data=writeback Data ordering is not preserved, data may be written
  53. into the main file system after its metadata has been
  54. committed to the journal.
  55. preferred_slot=0(*) During mount, try to use this filesystem slot first. If
  56. it is in use by another node, the first empty one found
  57. will be chosen. Invalid values will be ignored.
  58. commit=nrsec (*) Ocfs2 can be told to sync all its data and metadata
  59. every 'nrsec' seconds. The default value is 5 seconds.
  60. This means that if you lose your power, you will lose
  61. as much as the latest 5 seconds of work (your
  62. filesystem will not be damaged though, thanks to the
  63. journaling). This default value (or any low value)
  64. will hurt performance, but it's good for data-safety.
  65. Setting it to 0 will have the same effect as leaving
  66. it at the default (5 seconds).
  67. Setting it to very large values will improve
  68. performance.
  69. localalloc=8(*) Allows custom localalloc size in MB. If the value is too
  70. large, the fs will silently revert it to the default.
  71. localflocks This disables cluster aware flock.
  72. inode64 Indicates that Ocfs2 is allowed to create inodes at
  73. any location in the filesystem, including those which
  74. will result in inode numbers occupying more than 32
  75. bits of significance.
  76. user_xattr (*) Enables Extended User Attributes.
  77. nouser_xattr Disables Extended User Attributes.
  78. acl Enables POSIX Access Control Lists support.
  79. noacl (*) Disables POSIX Access Control Lists support.
  80. resv_level=2 (*) Set how aggressive allocation reservations will be.
  81. Valid values are between 0 (reservations off) to 8
  82. (maximum space for reservations).
  83. dir_resv_level= (*) By default, directory reservations will scale with file
  84. reservations - users should rarely need to change this
  85. value. If allocation reservations are turned off, this
  86. option will have no effect.
  87. coherency=full (*) Disallow concurrent O_DIRECT writes, cluster inode
  88. lock will be taken to force other nodes drop cache,
  89. therefore full cluster coherency is guaranteed even
  90. for O_DIRECT writes.
  91. coherency=buffered Allow concurrent O_DIRECT writes without EX lock among
  92. nodes, which gains high performance at risk of getting
  93. stale data on other nodes.
  94. journal_async_commit Commit block can be written to disk without waiting
  95. for descriptor blocks. If enabled older kernels cannot
  96. mount the device. This will enable 'journal_checksum'
  97. internally.