Chapter 9. Managing GFS
95
Group
A group ID to limit or warn. It can be either a group name from the group file or the GID number.
Size
Specifies the new value to limit or warn. By default, the value is in units of megabytes. The
additional
-k
,
-s
and
-b
flags change the units to kilobytes, sectors, and file-system blocks,
respectively.
MountPoint
Specifies the GFS file system to which the actions apply.
9.4.1.2. Examples
This example sets the hard limit for user
Bert
to 1024 megabytes (1 gigabyte) on file system
/gfs
.
gfs_quota limit -u Bert -l 1024 -f /gfs
This example sets the warn limit for group ID 21 to 50 kilobytes on file system
/gfs
.
gfs_quota warn -g 21 -l 50 -k -f /gfs
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.
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: ......