Growing A File System; Usage; Comments; Examples - Red Hat GFS 5.2.1 Administrator's Manual

Table of Contents

Advertisement

Chapter 9. Managing GFS

9.4.5.3. Examples

This example disables quota accounting on file system
gfs_tool settune /gfs quota_account 0
This example enables quota accounting on file system
file.
gfs_tool settune /gfs quota_account 1
gfs_quota init -f /gfs

9.5. Growing a File System

The
command is used to expand a GFS file system after the device where the file system
gfs_grow
resides has been expanded. Running a
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 can only be run on a mounted file system, but only needs to be run on one
gfs_grow
node in the 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, you can use the
(verbose) flags. Running the command with those flags displays the current state of the mounted
-v
GFS file system.

9.5.1. Usage

gfs_grow MountPoint
MountPoint
Specifies the GFS file system to which the actions apply.

9.5.2. Comments

Before running the
gfs_grow
Back up important data on the file system.
Display the pool volume that is used by the file system to be expanded by running a
command.
MountPoint
Expand the underlying pool volume with a
ing a Pool Volume for additional information.
After running the
gfs_grow
able in the file system.
gfs_grow
command:
pool_tool -g command
command, run a
command to check that the new space is now avail-
df
on a single node.
/gfs
on a single node and initializes the quota
/gfs
command on an existing GFS file system fills all
command with the
gfs_grow
(test) and
-T
gfs_tool df
. Refer to Section 5.8 Grow-
93

Advertisement

Table of Contents
loading

Table of Contents