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

Joseph Qi joseph.qi at huawei.com
Tue Apr 12 22:59:35 PDT 2016


On 2016/4/1 11:10, Junxiao Bi wrote:
> Default slots number is not 8, but depends on the volume size.
> 
> Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
> Reviewed-by: Eric Ren <zren at suse.com>

Reviewed-by: Joseph Qi <joseph.qi at huawei.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 6588ad2574bb..fb97aeca38f6 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
> 





More information about the Ocfs2-tools-devel mailing list