Chapter 5. Managing GFS
5.5. Growing a File System
The
command is used to expand a GFS file system after the device where the
gfs_grow
file system resides has been expanded. Running a
file system fills all spare space between the current end of the file system and the end of
the device with a newly initialized GFS file-system extension. When the fill operation is
completed, the resource index for the file system is updated. All nodes in the cluster can
then use the extra storage space that has been added.
The
command must be run on a mounted file system, but only needs to be run
gfs_grow
on one node in a cluster. All the other nodes sense that the expansion has occurred and
automatically start using the new space.
To verify that the changes were successful, use the
and
(verbose) flags. Running the command with those flags displays the current state of
-v
the mounted GFS file system.
5.5.1. Usage
gfs_grow MountPoint
MountPoint
Specifies the GFS file system to which the actions apply.
5.5.2. Comments
Before running the
Back up important data on the file system.
•
Display the volume that is used by the file system to be expanded by running a
•
gfs_tool df MountPoint
Expand the underlying cluster volume with LVM. (Refer to the LVM HOWTO at
•
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html for command usage with
CLVM.)
After running the
gfs_grow
now available in the file system.
5.5.3. Examples
In this example, the file system on the
gfs_grow /gfs1
command:
gfs_grow
command.
command, run a
gfs_grow
gfs_grow
command to check that the new space is
df
directory is expanded.
/gfs1
command on an existing GFS
command with the
43
(test)
-T
Need help?
Do you have a question about the GFS 6.1 and is the answer not in the manual?