Blob Blame History Raw
.TH gfs2_jadd 8

.SH NAME
gfs2_jadd \- Add journals to a GFS2 filesystem

.SH SYNOPSIS
.B gfs2_jadd
[\fIOPTION\fR]... <\fIDEVICE\fR|\fIMOINTPOINT\fR>...

.SH DESCRIPTION
\fIgfs2_jadd\fR is used to add journals (and a few other per-node
files) to a GFS2 filesystem.  When this operation is complete, the
journal index is updated so that machines mounting the filesystem at a
later date will see the newly created journals in addition to the
journals already there. Machines which are already running in the
cluster are unaffected.

You may only run \fIgfs2_jadd\fR on a mounted filesystem, addition of
journals to unmounted filesystems is not supported.  You only need to
run \fIgfs2_jadd\fR on one node in the cluster. All the other nodes
will see the expansion has occurred when required.

You must be superuser to execute \fIgfs2_jadd\fR. The \fIgfs2_jadd\fR
tool tries to prevent you from corrupting your filesystem by checking
as many of the likely problems as it can. When growing a filesystem,
only the last step of updating the journal index affects the currently
mounted filesystem and so failure part way through the expansion
process should leave your filesystem in its original state.

.SH OPTIONS
.TP
\fB-c MegaBytes\fP
Initial size of each journal's quota change file
.TP
\fB-D\fP
Print out debugging information about the filesystem layout.
.TP
\fB-h\fP
Prints out a short usage message and exits.
.TP
\fB-J size\fP
The size of the new journals in megabytes. The defaults to 32MB (the
minimum size allowed is 8MB). If you want to add journals of different
sizes to the filesystem, you'll need to run gfs2_jadd once for each
different size of journal.
.TP
\fB-j num\fP
The number of new journals to add.
.TP
\fB-q\fP
Be quiet.  Don't print anything.
.TP
\fB-V\fP
Version. Print version information, then exit.
.
.SH SEE ALSO
mkfs.gfs2(8) gfs2_grow(8)