Usage
Setting Quotas, Hard Limit
gfs_quota limit -u User -l Size -f MountPoint
gfs_quota limit -g Group -l Size -f MountPoint
Setting Quotas, Warn Limit
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
-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.
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
.
Chapter 4. Managing GFS
22
Содержание 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 ...