Chapter 9. Managing GFS
89
9.4.2. Displaying Quota Limits and Usage
Quota limits and current usage can be displayed for a specific user or group using the
gfs_quota
get
command. The entire contents of the quota file can also be displayed using the
gfs_quota
list
command, in which case all IDs with a non-zero hard limit, warn limit, or value are listed.
9.4.2.1. Usage
Displaying Quota Limits for a User
gfs_quota get -u
User
-f
MountPoint
Displaying Quota Limits for a Group
gfs_quota get -g
Group
-f
MountPoint
Displaying Entire Quota File
gfs_quota list -f
MountPoint
User
A user ID to display information about a specific user. It can be either a user name from the
password file or the UID number.
Group
A group ID to display information about a specific group. It can be either a group name from the
group file or the GID number.
MountPoint
Specifies the GFS file system to which the actions apply.
9.4.2.2. Command Output
GFS quota information from the
gfs_quota
command is displayed as follows:
user
User
: limit:
LimitSize
warn:
WarnSize
value:
Value
group
Group
: limit:
LimitSize
warn:
WarnSize
value:
Value
The
LimitSize
,
WarnSize
, and
Value
numbers (values) are in units of megabytes by default.
Adding the
-k
,
-s
, or
-b
flags to the command line change the units to kilobytes, sectors, or file
system blocks, respectively.
User
A user name or ID to which the data is associated.
Group
A group name or ID to which the data is associated.
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...