Growing A File System; Managing Gfs - Red Hat GLOBAL FILE SYSTEM 4.7 Manual

Table of Contents

Advertisement

Chapter 4. Managing GFS
# gfs_tool settune /gfs quota_account 1
# gfs_quota init -f /gfs

5. Growing a File System

The
command is used to expand a GFS file system after the device where the file
gfs_grow
system resides has been expanded. Running a
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 on
gfs_grow
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
(verbose) flags. Running the command with those flags displays the current state of the
-v
mounted GFS file system.
Usage
gfs_grow MountPoint
MountPoint
Specifies the GFS file system to which the actions apply.
Comments
Before running the
gfs_grow
• Back up important data on the file system.
• Display the volume that is used by the file system to be expanded by running a
command.
MountPoint
• Expand the underlying cluster volume with LVM. For information on administering LVM
volumes, see the LVM Administrator's Guide
After running the
gfs_grow
available in the file system.
28
gfs_grow
command:
command, run a
command to check that the new space is now
df
command on an existing GFS file
command with the
gfs_grow
(test) and
-T
gfs_tool df

Advertisement

Table of Contents
loading

Table of Contents