102
Chapter 9. Managing GFS
9.6.3. Examples
In this example, one journal is added to the file system on the
/gfs1/
directory.
gfs_jadd -j1 /gfs1
In this example, two journals are added to the file system on the
/gfs1/
directory.
gfs_jadd -j2 /gfs1
In this example, the current state of the file system on the
/gfs1/
directory can be checked for the
new journals.
gfs_jadd -Tv /gfs1
9.6.4. Complete Usage
gfs_jadd [
Options
] {
MountPoint
|
Device
} [
MountPoint
|
Device
]
MountPoint
Specifies the directory where the GFS file system is mounted.
Device
Specifies the device node of the file system.
Table 9-4 describes the GFS-specific options that can be used when adding journals to a GFS file
system.
Flag
Parameter
Description
-h
Help. Displays short usage message, then exits.
-J
MegaBytes
Specifies the size of the new journals in MBytes. Default journal
size is 128 MBytes. The minimum size is 32 MBytes. To add
journals of different sizes to the file system, the
gfs_jadd
command must be run for each size journal. The size specified is
rounded down so that it is a multiple of the journal-segment size
that was specified when the file system was created.
-j
Number
Specifies the number of new journals to be added by the
gfs_jadd
command. The default value is 1.
-T
Test. Do all calculations, but do not write any data to the disk and
do not add journals to the file system. Enabling this flag helps
discover what the
gfs_jadd
command would have done if it
were run without this flag. Using the
-v
flag with the
-T
flag
turns up the verbosity level to display more information.
-q
Quiet. Turns down the verbosity level.
-V
Display command version information, then exit.
-v
Turn up the verbosity of messages.
Table 9-4. GFS-specific Options Available When Adding Journals
Содержание GFS 6.0 -
Страница 1: ...Red Hat GFS 6 0 Administrator s Guide...
Страница 8: ......
Страница 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Страница 98: ...84 Chapter 7 Using the Cluster Configuration System...
Страница 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Страница 128: ...114 Chapter 9 Managing GFS...
Страница 134: ...120 Chapter 10 Using the Fencing System...
Страница 144: ...130 Chapter 12 Using GFS init d Scripts...
Страница 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Страница 184: ...170 Appendix C Basic GFS Examples...
Страница 190: ......