The
gfs_jadd
command is used to add journals to a GFS file system after the device where the
file system resides has been expanded. Running a
gfs_jadd
command on a GFS file system
uses space between the current end of the file system and the end of the device where the file
system resides. When the fill operation is completed, the journal index is updated.
The
gfs_jadd
command must be run on mounted file system, but it only needs to be run on one
node in the cluster. All the other nodes sense that the expansion has occurred.
To verify that the changes were successful, use the
gfs_jadd
command with the
-T
(test) and
-v
(verbose) flags. Running the command with those flags displays the current state of the
mounted GFS file system.
Usage
gfs_jadd -j Number MountPoint
Number
Specifies the number of new journals to be added.
MountPoint
Specifies the directory where the GFS file system is mounted.
Comments
Before running the
gfs_jadd
command:
• Back up important data on the file system.
• Run a
gfs_tool df MountPoint
command to display the volume used by the file system
where journals will be added.
• Expand the underlying cluster volume with LVM. For information on administering LVM
volumes, see the LVM Administrator's Guide
After running the
gfs_jadd
command, run a
gfs_jadd
command with the
-T
and
-v
flags
enabled to check that the new journals have been added to the file system.
Examples
In this example, one journal is added to the file system on the
/gfs1
directory.
gfs_jadd -j1 /gfs1
Chapter 4. Managing GFS
30
Summary of Contents for GLOBAL FILE SYSTEM 4.5
Page 1: ...Global File System 4 5 Red Hat Global File System ISBN N A Publication date ...
Page 4: ...Global File System ...
Page 11: ...Table 1 Recommended References Table Recommended References xi ...
Page 12: ...xii ...
Page 24: ...12 ...
Page 55: ...fileC Example 43 ...
Page 56: ...44 ...
Page 60: ...48 ...