Adding Journals To A File System - Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2 Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2:
Table of Contents

Advertisement

Chapter 3. Managing GFS2
gfs2_grow complete.
Complete Usage
gfs2_grow [Options] {MountPoint | Device} [MountPoint | Device]
MountPoint
Specifies the directory where the GFS2 file system is mounted.
Device
Specifies the device node of the file system.
Table 3.3, "GFS2-specific Options Available While Expanding A File System"
specific options that can be used while expanding a GFS2 file system.
Option
-h
-q
-r MegaBytes
-T
-V
Table 3.3. GFS2-specific Options Available While Expanding A File System

3.7. Adding Journals to a File System

The gfs2_jadd command is used to add journals to a GFS2 file system. You can add journals to
a GFS2 file system dynamically at any point without expanding the underlying logical volume. The
gfs2_jadd command must be run on a mounted file system, but it needs to be run on only one node
in the cluster. All the other nodes sense that the expansion has occurred.
Note
If a GFS2 file system is full, the gfs2_jadd will fail, even if the logical volume containing
the file system has been extended and is larger than the file system. This is because in
a GFS2 file system, journals are plain files rather than embedded metadata, so simply
extending the underlying logical volume will not provide space for the journals.
Before adding journals to a GFS file system, you can use the journals option of the gfs2_tool to
find out how many journals the GFS2 file system currently contains. The following example displays
the number and size of the journals in the file system mounted at /mnt/gfs2.
[root@roth-01 ../cluster/gfs2]# gfs2_tool journals /mnt/gfs2
journal2 - 128MB
journal1 - 128MB
22
Description
Help. Displays a short usage message.
Quiet. Turns down the verbosity level.
Specifies the size of the new resource group. The default size is
256MB.
Test. Do all calculations, but do not write any data to the disk and do
not expand the file system.
Displays command version information.
describes the GFS2-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system 2

Table of Contents