/usr/share/doc/drbd-doc/users-guide/s-ocfs2-create.html is in drbd-doc 8.4~20151102-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>12.3. Creating an OCFS2 filesystem</title><link rel="stylesheet" type="text/css" href="default.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="drbd-users-guide.html" title="The DRBD User’s Guide" /><link rel="up" href="ch-ocfs2.html" title="Chapter 12. Using OCFS2 with DRBD" /><link rel="prev" href="s-ocfs2-create-resource.html" title="12.2. Creating a DRBD resource suitable for OCFS2" /><link rel="next" href="s-ocfs2-pacemaker.html" title="12.4. Pacemaker OCFS2 management" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">12.3. Creating an OCFS2 filesystem</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="s-ocfs2-create-resource.html">Prev</a> </td><th width="60%" align="center">Chapter 12. Using OCFS2 with DRBD</th><td width="20%" align="right"> <a accesskey="n" href="s-ocfs2-pacemaker.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="s-ocfs2-create"></a>12.3. Creating an OCFS2 filesystem</h2></div></div></div><p>Now, use OCFS2’s <code class="literal">mkfs</code> implementation to create the file system:</p><pre class="screen">mkfs -t ocfs2 -N 2 -L ocfs2_drbd0 /dev/drbd0
mkfs.ocfs2 1.4.0
Filesystem label=ocfs2_drbd0
Block size=1024 (bits=10)
Cluster size=4096 (bits=12)
Volume size=205586432 (50192 clusters) (200768 blocks)
7 cluster groups (tail covers 4112 clusters, rest cover 7680 clusters)
Journal size=4194304
Initial number of node slots: 2
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 0 block(s)
Formatting Journals: done
Writing lost+found: done
mkfs.ocfs2 successful</pre><p>This will create an OCFS2 file system with two node slots on
<code class="literal">/dev/drbd0</code>, and set the filesystem label to <code class="literal">ocfs2_drbd0</code>. You may
specify other options on <code class="literal">mkfs</code> invocation; please see the <code class="literal">mkfs.ocfs2</code>
system manual page for details.</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="s-ocfs2-create-resource.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch-ocfs2.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="s-ocfs2-pacemaker.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">12.2. Creating a DRBD resource suitable for OCFS2 </td><td width="20%" align="center"><a accesskey="h" href="drbd-users-guide.html">Home</a></td><td width="40%" align="right" valign="top"> 12.4. Pacemaker OCFS2 management</td></tr></table></div></body></html>
|