Chapter 4. Managing GFS
gfs_quota warn -u User -l Size -f MountPoint
gfs_quota warn -g Group -l Size -f MountPoint
User
A user ID to limit or warn. It can be either a user name from the password file or the UID
number.
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
,
and
-k
-s
respectively.
MountPoint
Specifies the GFS file system to which the actions apply.
Examples
This example sets the hard limit for user
.
/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_quota warn -g 21 -l 50 -k -f /gfs
4.2. Displaying Quota Limits and Usage
Quota limits and current usage can be displayed for a specific user or group using the
command. The entire contents of the quota file can also be displayed using the
gfs_quota get
command, in which case all IDs with a non-zero hard limit, warn limit, or value
gfs_quota list
are listed.
Usage
22
flags change the units to kilobytes, sectors, and file-system blocks,
-b
to 1024 megabytes (1 gigabyte) on file system
Bert
.
/gfs
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 5.1 and is the answer not in the manual?
Questions and answers