Blame gfs2/man/gfs2_grow.8

Packit Service 360c39
.TH gfs2_grow 8
Packit Service 360c39
Packit Service 360c39
.SH NAME
Packit Service 360c39
gfs2_grow - Expand a GFS2 filesystem
Packit Service 360c39
Packit Service 360c39
.SH SYNOPSIS
Packit Service 360c39
.B gfs2_grow
Packit Service 360c39
[\fIOPTION\fR]... <\fIDEVICE\fR|\fIMOUNTPOINT\fR>...
Packit Service 360c39
Packit Service 360c39
.SH DESCRIPTION
Packit Service 360c39
gfs2_grow is used to expand a GFS2 filesystem after the device
Packit Service 360c39
upon which the filesystem resides has also been expanded.  By
Packit Service 360c39
running gfs2_grow on a GFS2 filesystem, you are requesting that
Packit Service 360c39
any spare space between the current end of the filesystem and
Packit Service 360c39
the end of the device is filled with a newly initialized GFS2
Packit Service 360c39
filesystem extension.  When this operation is complete, the resource
Packit Service 360c39
group index for the filesystem is updated so that all nodes in the
Packit Service 360c39
cluster can use the extra storage space that has been added.
Packit Service 360c39
Packit Service 360c39
You may only run gfs2_grow on a mounted filesystem; expansion of 
Packit Service 360c39
unmounted filesystems is not supported.  You only need to
Packit Service 360c39
run gfs2_grow on one node in the cluster.  All the other nodes will
Packit Service 360c39
see the expansion has occurred and automatically start to use the
Packit Service 360c39
newly available space.
Packit Service 360c39
Packit Service 360c39
You must be superuser to execute \fBgfs2_grow\fP.  The gfs2_grow
Packit Service 360c39
tool tries to prevent you from corrupting your filesystem by checking as
Packit Service 360c39
many of the likely problems as it can.  When expanding a filesystem,
Packit Service 360c39
only the last step of updating the resource index affects the currently
Packit Service 360c39
mounted filesystem and so failure part way through the expansion process
Packit Service 360c39
should leave your filesystem in its original unexpanded state.
Packit Service 360c39
Packit Service 360c39
You can run gfs2_grow with the \fB-T\fP flag to get a display
Packit Service 360c39
of the current state of a mounted GFS2 filesystem.
Packit Service 360c39
Packit Service 360c39
The gfs2_grow tool uses the resource group (RG) size that was originally
Packit Service 360c39
calculated when mkfs.gfs2 was done.  This allows tools like fsck.gfs2
Packit Service 360c39
to better ensure the integrity of the file system.  Since the new free
Packit Service 360c39
space often does not lie on even boundaries based on that RG size,
Packit Service 360c39
there may be some unused space on the device after gfs2_grow is run.
Packit Service 360c39
.SH OPTIONS
Packit Service 360c39
.TP
Packit Service 360c39
\fB-D\fP
Packit Service 360c39
Print out debugging information about the filesystem layout.
Packit Service 360c39
.TP
Packit Service 360c39
\fB-h\fP
Packit Service 360c39
Prints out a short usage message and exits.
Packit Service 360c39
.TP
Packit Service 360c39
\fB-q\fP
Packit Service 360c39
Be quiet.  Don't print anything.
Packit Service 360c39
.TP
Packit Service 360c39
\fB-T\fP
Packit Service 360c39
Test. Do all calculations, but do not write any data to the disk and do
Packit Service 360c39
not expand the filesystem. This is used to discover what the tool would
Packit Service 360c39
have done were it run without this flag.
Packit Service 360c39
.TP
Packit Service 360c39
\fB-V\fP
Packit Service 360c39
Version. Print out version information, then exit.
Packit Service 360c39
Packit Service 360c39
.SH BUGS
Packit Service 360c39
Packit Service 360c39
There is no way to shrink a GFS2 filesystem.
Packit Service 360c39
Packit Service 360c39
.SH SEE ALSO
Packit Service 360c39
mkfs.gfs2(8) gfs2_jadd(8)
Packit Service 360c39