94
Chapter 9. Managing GFS
9.5.3. Examples
In this example, the file system on the
/gfs1/
directory is expanded.
gfs_grow /gfs1
In this example, the state of the mounted file system is checked.
gfs_grow -Tv /gfs1
9.5.4. Complete Usage
gfs_grow [
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-3 describes the GFS-specific options that can be used while expanding a GFS file system.
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.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...