ocfs2.txt 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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://oss.oracle.com/projects/ocfs2
  10. Tools web page: http://oss.oracle.com/projects/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 <mark.fasheh@oracle.com>
  19. Kurt Hackel <kurt.hackel@oracle.com>
  20. Sunil Mushran <sunil.mushran@oracle.com>
  21. Manish Singh <manish.singh@oracle.com>
  22. Caveats
  23. =======
  24. Features which OCFS2 does not support yet:
  25. - quotas
  26. - Directory change notification (F_NOTIFY)
  27. - Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease)
  28. Mount options
  29. =============
  30. OCFS2 supports the following mount options:
  31. (*) == default
  32. barrier=1 This enables/disables barriers. barrier=0 disables it,
  33. barrier=1 enables it.
  34. errors=remount-ro(*) Remount the filesystem read-only on an error.
  35. errors=panic Panic and halt the machine if an error occurs.
  36. intr (*) Allow signals to interrupt cluster operations.
  37. nointr Do not allow signals to interrupt cluster
  38. operations.
  39. atime_quantum=60(*) OCFS2 will not update atime unless this number
  40. of seconds has passed since the last update.
  41. Set to zero to always update atime.
  42. data=ordered (*) All data are forced directly out to the main file
  43. system prior to its metadata being committed to the
  44. journal.
  45. data=writeback Data ordering is not preserved, data may be written
  46. into the main file system after its metadata has been
  47. committed to the journal.
  48. preferred_slot=0(*) During mount, try to use this filesystem slot first. If
  49. it is in use by another node, the first empty one found
  50. will be chosen. Invalid values will be ignored.
  51. commit=nrsec (*) Ocfs2 can be told to sync all its data and metadata
  52. every 'nrsec' seconds. The default value is 5 seconds.
  53. This means that if you lose your power, you will lose
  54. as much as the latest 5 seconds of work (your
  55. filesystem will not be damaged though, thanks to the
  56. journaling). This default value (or any low value)
  57. will hurt performance, but it's good for data-safety.
  58. Setting it to 0 will have the same effect as leaving
  59. it at the default (5 seconds).
  60. Setting it to very large values will improve
  61. performance.
  62. localalloc=8(*) Allows custom localalloc size in MB. If the value is too
  63. large, the fs will silently revert it to the default.
  64. Localalloc is not enabled for local mounts.
  65. localflocks This disables cluster aware flock.
  66. inode64 Indicates that Ocfs2 is allowed to create inodes at
  67. any location in the filesystem, including those which
  68. will result in inode numbers occupying more than 32
  69. bits of significance.
  70. user_xattr (*) Enables Extended User Attributes.
  71. nouser_xattr Disables Extended User Attributes.
  72. acl Enables POSIX Access Control Lists support.
  73. noacl (*) Disables POSIX Access Control Lists support.