Chapter 9. Managing GFS
101
Option
Description
-h
Help. Display a short usage message, then exist.
-q
Quiet. Turn down the verbosity level.
-T
Test. Do all calculations, but do not write any data to the disk and do
not expand the file system.
-V
Display command version information, then exit.
-v
Turn up the verbosity of messages.
Table 9-3. GFS-specific Options Available While Expanding A File System
9.6. Adding Journals to a File System
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 can only be run on a 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, you can 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.
9.6.1. 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.
9.6.2. 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 pool volume used by the file system
where journals will be added.
•
Expand the underlying pool volume with a
pool_tool -g
command. Refer to
Section 5.8
Growing a Pool Volume
for additional information.
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.
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......