Adding Journals To A File System - Red Hat GLOBAL FILE SYSTEM 5.2 Manual

Table of Contents

Advertisement

7. Adding Journals to a File System

The
command is used to add journals to a GFS file system after the device where the
gfs_jadd
file system resides has been expanded. Running a
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
command must be run on mounted file system, but it only needs to be run on one
gfs_jadd
node in the cluster. All the other nodes sense that the expansion has occurred.
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_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
• Back up important data on the file system.
• Run a
df MountPoint
journals will be added.
• Expand the underlying cluster volume with LVM. For information on administering LVM
volumes, see the LVM Administrator's Guide
You can find out how many journals are currently used by the filesystem with the
command. In the following example, the file system mounted at
MountPoint
journals.
[root@tng3-1 gfs]# gfs_tool df /mnt/gfs
/mnt/gfs:
SB lock proto = "lock_dlm"
SB lock table = "tng3-cluster:mydata1"
SB ondisk format = 1309
command:
command to display the volume used by the file system where
command on a GFS file system
gfs_jadd
command with the
gfs_jadd
Usage
(test) and
-T
gfs_tool df
uses 8
/mnt/gfs
27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GLOBAL FILE SYSTEM 5.2 and is the answer not in the manual?

Questions and answers

Table of Contents