Chapter 9. Managing GFS
99
MountPoint
Specifies the GFS file system to which the actions apply.
quota_account {0|1}
0 = disabled
1 = enabled
9.4.5.2. Comments
To enable quota accounting on a file system, the
quota_account
parameter must be set back to 1. Af-
terward, the GFS quota file must be initialized to account for all current disk usage for users and groups
on the file system. The quota file is initialized by running:
gfs_quota init -f
MountPoint
.
Note
Initializing the quota file requires scanning the entire file system and may take a long time.
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.
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......