Chapter 9. Managing GFS
93
9.4.5.3. Examples
This example
disables
quota accounting on file system
/gfs
on a single node.
gfs_tool settune /gfs quota_account 0
This example enables quota accounting on file system
/gfs
on a single node and initializes the quota
file.
gfs_tool settune /gfs quota_account 1
gfs_quota init -f /gfs
9.5. Growing a File System
The
gfs_grow
command is used to expand a GFS file system after the device where the file system
resides has been expanded. Running a
gfs_grow
command on an existing GFS file system fills all
spare space between the current end of the file system and the end of the device with a newly initialized
GFS file system extension. When the fill operation is completed, the resource index for the file system
is updated. All nodes in the cluster can then use the extra storage space that has been added.
The
gfs_grow
command can only be run on a mounted file system, but only needs to be run on one
node in the cluster. All the other nodes sense that the expansion has occurred and automatically start
using the new space.
To verify that the changes were successful, you can use the
gfs_grow
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.5.1. Usage
gfs_grow
MountPoint
MountPoint
Specifies the GFS file system to which the actions apply.
9.5.2. Comments
Before running the
gfs_grow
command:
•
Back up important data on the file system.
•
Display the pool volume that is used by the file system to be expanded by running a
gfs_tool df
MountPoint
command.
•
Expand the underlying pool volume with a
pool_tool -g command
. Refer to Section 5.8
Grow-
ing a Pool Volume
for additional information.
After running the
gfs_grow
command, run a
df
command to check that the new space is now avail-
able in the 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...