(3600 seconds) for file system
/gfs
on a single node.
gfs_tool settune /gfs quota_quantum 3600
4.4. Disabling/Enabling Quota Enforcement
Enforcement of quotas can be disabled for a file system without clearing the limits set for all
users and groups. Enforcement can also be enabled. Disabling and enabling of quota
enforcement is done by changing a tunable parameter,
quota_enforce
, with the
gfs_tool
command. The
quota_enforce
parameter must be disabled or enabled on each node where
quota enforcement should be disabled/enabled. Each time the file system is mounted,
enforcement is enabled by default. (Disabling is not persistent across unmounts.)
Usage
gfs_tool settune MountPoint quota_enforce {0|1}
MountPoint
Specifies the GFS file system to which the actions apply.
quota_enforce {0|1}
0 = disabled
1 = enabled
Comments
A value of 0 disables enforcement. Enforcement can be enabled by running the command with
a value of 1 (instead of 0) as the final command line parameter. Even when GFS is not
enforcing quotas, it still keeps track of the file-system usage for all users and groups so that
quota-usage information does not require rebuilding after re-enabling quotas.
Examples
This example disables quota enforcement on file system
/gfs
.
gfs_tool settune /gfs quota_enforce 0
This example enables quota enforcement on file system
/gfs
.
gfs_tool settune /gfs quota_enforce 1
Chapter 4. Managing GFS
26
Содержание GLOBAL FILE SYSTEM 4.5
Страница 1: ...Global File System 4 5 Red Hat Global File System ISBN N A Publication date ...
Страница 4: ...Global File System ...
Страница 11: ...Table 1 Recommended References Table Recommended References xi ...
Страница 12: ...xii ...
Страница 24: ...12 ...
Страница 55: ...fileC Example 43 ...
Страница 56: ...44 ...
Страница 60: ...48 ...