[Ocfs2-tools-devel] [PATCH] mkfs.ocfs2: fix default slots number in man doc

Junxiao Bi junxiao.bi at oracle.com
Thu Oct 15 19:20:27 PDT 2015


Default slots number is not 8, but depends on the volume size.

Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
 mkfs.ocfs2/mkfs.ocfs2.8.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mkfs.ocfs2/mkfs.ocfs2.8.in b/mkfs.ocfs2/mkfs.ocfs2.8.in
index 6588ad2..fb97aec 100644
--- a/mkfs.ocfs2/mkfs.ocfs2.8.in
+++ b/mkfs.ocfs2/mkfs.ocfs2.8.in
@@ -80,8 +80,9 @@ bundled with Linux kernels 2.6.20 or later. Defaults to \fIcluster\fR.
 \fB\-N, \-\-node\-slots\fR \fInumber\-of\-node\-slots\fR
 Valid number ranges from 1 to 255. This number specifies the maximum
 number of nodes that can concurrently mount the partition. If omitted,
-the number defaults to 8. The number of slots can be later tuned up or
-down using \fItunefs.ocfs2\fR.
+the number depends on volume size, for volume size < 2G, it's 2, for
+2G <= size < 10G, it's 4, for 10G <= size < 1T, it's 8, for other size,
+it's 16. The number of slots can be later tuned up or down using \fItunefs.ocfs2\fR.
 
 .TP
 \fB\-T\fR \fIfilesystem\-type\fR
-- 
1.7.9.5




More information about the Ocfs2-tools-devel mailing list