Growing A File System - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Chapter 9. Managing GFS
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
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:
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_tool settune /gfs quota_account 0
This example enables quota accounting on file system
file.
gfs_tool settune /gfs quota_account 1
gfs_quota init -f /gfs

9.5. Growing a File System

The
command is used to expand a GFS file system after the device where the file system
gfs_grow
resides has been expanded. Running a
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
command can only be run on a mounted file system, but only needs to be run on one
gfs_grow
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
(verbose) flags. Running the command with those flags displays the current state of the mounted
-v
GFS file system.
quota_account
gfs_quota init -f MountPoint
/gfs
/gfs
command on an existing GFS file system fills all
gfs_grow
gfs_grow
parameter must be set back to 1. Af-
on a single node.
on a single node and initializes the quota
command with the
99
.
(test) and
-T

Advertisement

Table of Contents
loading

Table of Contents