__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<!DOCTYPE html>
<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>OCFS2 filesystem — The Linux Kernel documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=3918102e" />
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="OCFS2 file system - online file check" href="ocfs2-online-filecheck.html" />
<link rel="prev" title="NTFS3" href="ntfs3.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
</head><body>
<div class="document">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/logo.svg" alt="Logo of The Linux Kernel"/>
</a></p>
<h1 class="logo"><a href="../index.html">The Linux Kernel</a></h1>
<p class="blurb">6.18.50</p>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
<p>
<h3 class="kernel-toc-contents">Contents</h3>
<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked>
<label class="kernel-toc-title" for="kernel-toc-toggle"></label>
<div class="kerneltoc" id="kerneltoc">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../process/development-process.html">Development process</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/submitting-patches.html">Submitting patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/code-of-conduct.html">Code of conduct</a></li>
<li class="toctree-l1"><a class="reference internal" href="../maintainer/index.html">Maintainer handbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="../process/index.html">All development-process docs</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../core-api/index.html">Core API</a></li>
<li class="toctree-l1"><a class="reference internal" href="../driver-api/index.html">Driver APIs</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../subsystem-apis.html">Subsystems</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#core-subsystems">Core subsystems</a></li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#human-interfaces">Human interfaces</a></li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#networking-interfaces">Networking interfaces</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../subsystem-apis.html#storage-interfaces">Storage interfaces</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="index.html">Filesystems in the Linux kernel</a></li>
<li class="toctree-l3"><a class="reference internal" href="../block/index.html">Block</a></li>
<li class="toctree-l3"><a class="reference internal" href="../cdrom/index.html">CD-ROM</a></li>
<li class="toctree-l3"><a class="reference internal" href="../scsi/index.html">SCSI Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../target/index.html">TCM Virtual Device</a></li>
<li class="toctree-l3"><a class="reference internal" href="../nvme/index.html">NVMe Subsystem</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../subsystem-apis.html#other-subsystems">Other subsystems</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../locking/index.html">Locking</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../process/license-rules.html">Licensing rules</a></li>
<li class="toctree-l1"><a class="reference internal" href="../doc-guide/index.html">Writing documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev-tools/index.html">Development tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev-tools/testing-overview.html">Testing guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../kernel-hacking/index.html">Hacking guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../trace/index.html">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../fault-injection/index.html">Fault injection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../livepatch/index.html">Livepatching</a></li>
<li class="toctree-l1"><a class="reference internal" href="../rust/index.html">Rust</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../admin-guide/index.html">Administration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../kbuild/index.html">Build system</a></li>
<li class="toctree-l1"><a class="reference internal" href="../admin-guide/reporting-issues.html">Reporting issues</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tools/index.html">Userspace tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../userspace-api/index.html">Userspace API</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../firmware-guide/index.html">Firmware</a></li>
<li class="toctree-l1"><a class="reference internal" href="../devicetree/index.html">Firmware and Devicetree</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../arch/index.html">CPU architectures</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../staging/index.html">Unsorted documentation</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../translations/index.html">Translations</a></li>
</ul>
</div>
<script type="text/javascript"> <!--
var sbar = document.getElementsByClassName("sphinxsidebar")[0];
let currents = document.getElementsByClassName("current")
if (currents.length) {
sbar.scrollTop = currents[currents.length - 1].offsetTop;
}
--> </script>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/filesystems/ocfs2.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
</div>
</div>
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="ocfs2-filesystem">
<h1>OCFS2 filesystem<a class="headerlink" href="#ocfs2-filesystem" title="Link to this heading">¶</a></h1>
<p>OCFS2 is a general purpose extent based shared disk cluster file
system with many similarities to ext3. It supports 64 bit inode
numbers, and has automatically extending metadata groups which may
also make it attractive for non-clustered use.</p>
<p>You’ll want to install the ocfs2-tools package in order to at least
get “mount.ocfs2” and “ocfs2_hb_ctl”.</p>
<p>Project web page: <a class="reference external" href="http://ocfs2.wiki.kernel.org">http://ocfs2.wiki.kernel.org</a>
Tools git tree: <a class="reference external" href="https://github.com/markfasheh/ocfs2-tools">https://github.com/markfasheh/ocfs2-tools</a>
OCFS2 mailing lists: <a class="reference external" href="https://subspace.kernel.org/lists.linux.dev.html">https://subspace.kernel.org/lists.linux.dev.html</a></p>
<p>All code copyright 2005 Oracle except when otherwise noted.</p>
<section id="credits">
<h2>Credits<a class="headerlink" href="#credits" title="Link to this heading">¶</a></h2>
<p>Lots of code taken from ext3 and other projects.</p>
<p>Authors in alphabetical order:</p>
<ul class="simple">
<li><p>Joel Becker <<a class="reference external" href="mailto:joel.becker%40oracle.com">joel<span>.</span>becker<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Zach Brown <<a class="reference external" href="mailto:zach.brown%40oracle.com">zach<span>.</span>brown<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Mark Fasheh <<a class="reference external" href="mailto:mfasheh%40suse.com">mfasheh<span>@</span>suse<span>.</span>com</a>></p></li>
<li><p>Kurt Hackel <<a class="reference external" href="mailto:kurt.hackel%40oracle.com">kurt<span>.</span>hackel<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Tao Ma <<a class="reference external" href="mailto:tao.ma%40oracle.com">tao<span>.</span>ma<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Sunil Mushran <<a class="reference external" href="mailto:sunil.mushran%40oracle.com">sunil<span>.</span>mushran<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Manish Singh <<a class="reference external" href="mailto:manish.singh%40oracle.com">manish<span>.</span>singh<span>@</span>oracle<span>.</span>com</a>></p></li>
<li><p>Tiger Yang <<a class="reference external" href="mailto:tiger.yang%40oracle.com">tiger<span>.</span>yang<span>@</span>oracle<span>.</span>com</a>></p></li>
</ul>
</section>
<section id="caveats">
<h2>Caveats<a class="headerlink" href="#caveats" title="Link to this heading">¶</a></h2>
<p>Features which OCFS2 does not support yet:</p>
<blockquote>
<div><ul class="simple">
<li><p>Directory change notification (F_NOTIFY)</p></li>
<li><p>Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease)</p></li>
</ul>
</div></blockquote>
</section>
<section id="mount-options">
<h2>Mount options<a class="headerlink" href="#mount-options" title="Link to this heading">¶</a></h2>
<p>OCFS2 supports the following mount options:</p>
<p>(*) == default</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>barrier=1</p></td>
<td><p>This enables/disables barriers. barrier=0 disables it,
barrier=1 enables it.</p></td>
</tr>
<tr class="row-even"><td><p>errors=remount-ro(*)</p></td>
<td><p>Remount the filesystem read-only on an error.</p></td>
</tr>
<tr class="row-odd"><td><p>errors=panic</p></td>
<td><p>Panic and halt the machine if an error occurs.</p></td>
</tr>
<tr class="row-even"><td><p>intr (*)</p></td>
<td><p>Allow signals to interrupt cluster operations.</p></td>
</tr>
<tr class="row-odd"><td><p>nointr</p></td>
<td><p>Do not allow signals to interrupt cluster
operations.</p></td>
</tr>
<tr class="row-even"><td><p>noatime</p></td>
<td><p>Do not update access time.</p></td>
</tr>
<tr class="row-odd"><td><p>relatime(*)</p></td>
<td><p>Update atime if the previous atime is older than
mtime or ctime</p></td>
</tr>
<tr class="row-even"><td><p>strictatime</p></td>
<td><p>Always update atime, but the minimum update interval
is specified by atime_quantum.</p></td>
</tr>
<tr class="row-odd"><td><p>atime_quantum=60(*)</p></td>
<td><p>OCFS2 will not update atime unless this number
of seconds has passed since the last update.
Set to zero to always update atime. This option need
work with strictatime.</p></td>
</tr>
<tr class="row-even"><td><p>data=ordered (*)</p></td>
<td><p>All data are forced directly out to the main file
system prior to its metadata being committed to the
journal.</p></td>
</tr>
<tr class="row-odd"><td><p>data=writeback</p></td>
<td><p>Data ordering is not preserved, data may be written
into the main file system after its metadata has been
committed to the journal.</p></td>
</tr>
<tr class="row-even"><td><p>preferred_slot=0(*)</p></td>
<td><p>During mount, try to use this filesystem slot first. If
it is in use by another node, the first empty one found
will be chosen. Invalid values will be ignored.</p></td>
</tr>
<tr class="row-odd"><td><p>commit=nrsec (*)</p></td>
<td><p>Ocfs2 can be told to sync all its data and metadata
every ‘nrsec’ seconds. The default value is 5 seconds.
This means that if you lose your power, you will lose
as much as the latest 5 seconds of work (your
filesystem will not be damaged though, thanks to the
journaling). This default value (or any low value)
will hurt performance, but it’s good for data-safety.
Setting it to 0 will have the same effect as leaving
it at the default (5 seconds).
Setting it to very large values will improve
performance.</p></td>
</tr>
<tr class="row-even"><td><p>localalloc=8(*)</p></td>
<td><p>Allows custom localalloc size in MB. If the value is too
large, the fs will silently revert it to the default.</p></td>
</tr>
<tr class="row-odd"><td><p>localflocks</p></td>
<td><p>This disables cluster aware flock.</p></td>
</tr>
<tr class="row-even"><td><p>inode64</p></td>
<td><p>Indicates that Ocfs2 is allowed to create inodes at
any location in the filesystem, including those which
will result in inode numbers occupying more than 32
bits of significance.</p></td>
</tr>
<tr class="row-odd"><td><p>user_xattr (*)</p></td>
<td><p>Enables Extended User Attributes.</p></td>
</tr>
<tr class="row-even"><td><p>nouser_xattr</p></td>
<td><p>Disables Extended User Attributes.</p></td>
</tr>
<tr class="row-odd"><td><p>acl</p></td>
<td><p>Enables POSIX Access Control Lists support.</p></td>
</tr>
<tr class="row-even"><td><p>noacl (*)</p></td>
<td><p>Disables POSIX Access Control Lists support.</p></td>
</tr>
<tr class="row-odd"><td><p>resv_level=2 (*)</p></td>
<td><p>Set how aggressive allocation reservations will be.
Valid values are between 0 (reservations off) to 8
(maximum space for reservations).</p></td>
</tr>
<tr class="row-even"><td><p>dir_resv_level= (*)</p></td>
<td><p>By default, directory reservations will scale with file
reservations - users should rarely need to change this
value. If allocation reservations are turned off, this
option will have no effect.</p></td>
</tr>
<tr class="row-odd"><td><p>coherency=full (*)</p></td>
<td><p>Disallow concurrent O_DIRECT writes, cluster inode
lock will be taken to force other nodes drop cache,
therefore full cluster coherency is guaranteed even
for O_DIRECT writes.</p></td>
</tr>
<tr class="row-even"><td><p>coherency=buffered</p></td>
<td><p>Allow concurrent O_DIRECT writes without EX lock among
nodes, which gains high performance at risk of getting
stale data on other nodes.</p></td>
</tr>
<tr class="row-odd"><td><p>journal_async_commit</p></td>
<td><p>Commit block can be written to disk without waiting
for descriptor blocks. If enabled older kernels cannot
mount the device. This will enable ‘journal_checksum’
internally.</p></td>
</tr>
</tbody>
</table>
</section>
</section>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©The kernel development community.
|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
& <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
|
<a href="../_sources/filesystems/ocfs2.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| caching | Folder | 0755 |
|
|
| ext4 | Folder | 0755 |
|
|
| fuse | Folder | 0755 |
|
|
| iomap | Folder | 0755 |
|
|
| nfs | Folder | 0755 |
|
|
| smb | Folder | 0755 |
|
|
| spufs | Folder | 0755 |
|
|
| xfs | Folder | 0755 |
|
|
| 9p.html | File | 24.15 KB | 0644 |
|
| adfs.html | File | 13.15 KB | 0644 |
|
| affs.html | File | 18.5 KB | 0644 |
|
| afs.html | File | 19.14 KB | 0644 |
|
| api-summary.html | File | 831.83 KB | 0644 |
|
| autofs-mount-control.html | File | 32.3 KB | 0644 |
|
| autofs.html | File | 38.96 KB | 0644 |
|
| automount-support.html | File | 12.79 KB | 0644 |
|
| befs.html | File | 14.41 KB | 0644 |
|
| bfs.html | File | 10.72 KB | 0644 |
|
| btrfs.html | File | 9.7 KB | 0644 |
|
| buffer.html | File | 48.88 KB | 0644 |
|
| ceph.html | File | 18.87 KB | 0644 |
|
| coda.html | File | 65.97 KB | 0644 |
|
| configfs.html | File | 36.14 KB | 0644 |
|
| cramfs.html | File | 14.95 KB | 0644 |
|
| dax.html | File | 25.37 KB | 0644 |
|
| debugfs.html | File | 21.71 KB | 0644 |
|
| devpts.html | File | 10.61 KB | 0644 |
|
| directory-locking.html | File | 23.11 KB | 0644 |
|
| dlmfs.html | File | 14.28 KB | 0644 |
|
| dnotify.html | File | 12.09 KB | 0644 |
|
| ecryptfs.html | File | 11.96 KB | 0644 |
|
| efivarfs.html | File | 10 KB | 0644 |
|
| erofs.html | File | 29.42 KB | 0644 |
|
| ext2.html | File | 32.92 KB | 0644 |
|
| ext3.html | File | 8.29 KB | 0644 |
|
| f2fs.html | File | 67.87 KB | 0644 |
|
| fiemap.html | File | 23.32 KB | 0644 |
|
| files.html | File | 16.52 KB | 0644 |
|
| fscrypt.html | File | 107.9 KB | 0644 |
|
| fsverity.html | File | 64.53 KB | 0644 |
|
| gfs2-glocks.html | File | 21.71 KB | 0644 |
|
| gfs2-uevents.html | File | 12.88 KB | 0644 |
|
| gfs2.html | File | 10.38 KB | 0644 |
|
| hfs.html | File | 12.31 KB | 0644 |
|
| hfsplus.html | File | 10.28 KB | 0644 |
|
| hpfs.html | File | 26.83 KB | 0644 |
|
| idmappings.html | File | 74.42 KB | 0644 |
|
| index.html | File | 68.19 KB | 0644 |
|
| inotify.html | File | 12.35 KB | 0644 |
|
| isofs.html | File | 12.17 KB | 0644 |
|
| journalling.html | File | 115.17 KB | 0644 |
|
| locking.html | File | 52.92 KB | 0644 |
|
| locks.html | File | 11.91 KB | 0644 |
|
| mount_api.html | File | 49.94 KB | 0644 |
|
| multigrain-ts.html | File | 15 KB | 0644 |
|
| netfs_library.html | File | 86.81 KB | 0644 |
|
| nilfs2.html | File | 22.21 KB | 0644 |
|
| ntfs3.html | File | 13.64 KB | 0644 |
|
| ocfs2-online-filecheck.html | File | 13.13 KB | 0644 |
|
| ocfs2.html | File | 15.76 KB | 0644 |
|
| omfs.html | File | 13.12 KB | 0644 |
|
| orangefs.html | File | 35.89 KB | 0644 |
|
| overlayfs.html | File | 54.83 KB | 0644 |
|
| path-lookup.html | File | 123.09 KB | 0644 |
|
| porting.html | File | 94.09 KB | 0644 |
|
| proc.html | File | 140.32 KB | 0644 |
|
| qnx6.html | File | 16.36 KB | 0644 |
|
| quota.html | File | 12.12 KB | 0644 |
|
| ramfs-rootfs-initramfs.html | File | 27.94 KB | 0644 |
|
| relay.html | File | 40.38 KB | 0644 |
|
| resctrl.html | File | 93.99 KB | 0644 |
|
| romfs.html | File | 18.06 KB | 0644 |
|
| seq_file.html | File | 36.49 KB | 0644 |
|
| sharedsubtree.html | File | 46.25 KB | 0644 |
|
| splice.html | File | 79.36 KB | 0644 |
|
| squashfs.html | File | 24.34 KB | 0644 |
|
| sysfs.html | File | 29.32 KB | 0644 |
|
| tmpfs.html | File | 22.95 KB | 0644 |
|
| ubifs-authentication.html | File | 33.04 KB | 0644 |
|
| ubifs.html | File | 15.06 KB | 0644 |
|
| udf.html | File | 12.11 KB | 0644 |
|
| vfat.html | File | 26.07 KB | 0644 |
|
| vfs.html | File | 167.26 KB | 0644 |
|
| virtiofs.html | File | 12.16 KB | 0644 |
|
| zonefs.html | File | 35.71 KB | 0644 |
|