quota_account
tunable parameter to 0. This must be done on each node and after each mount.
(The 0 setting is not persistent across unmounts.) Quota accounting can be enabled by setting
the
quota_account
tunable parameter to 1.
To see the current values of the GFS tunable parameters, including
quota_account
, you can
use the
gfs_tool gettune
, as described in
Section 4, “Displaying GFS Tunable Parameters”
.
Usage
gfs_tool settune MountPoint quota_account {0|1}
MountPoint
Specifies the GFS file system to which the actions apply.
quota_account {0|1}
0 = disabled
1 = enabled
Comments
To enable quota accounting on a file system, the
quota_account
parameter must be set back
to 1. Afterward, 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.
To see the current values of the GFS tunable parameters, including
quota_account
, you can
use the
gfs_tool gettune
, as described in
Section 4, “Displaying GFS Tunable Parameters”
.
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.
Chapter 3. Managing GFS
24
Содержание GLOBAL FILE SYSTEM 5.2
Страница 4: ...Global File System...
Страница 6: ...vi...