1LIZARDFS-REPQUOTA(1)                                      LIZARDFS-REPQUOTA(1)
2
3
4

NAME

6       lizardfs-repquota, lizardfs-setquota - retrieves and sets quotas for
7       specified users and groups
8

SYNOPSIS

10       lizardfs repquota [-nhH] (-u UID | -g GID)+ MOUNTPOINT-ROOT-PATH
11
12       lizardfs repquota [-nhH] -a MOUNTPOINT-ROOT-PATH
13
14       lizardfs repquota [-nhH] -d DIRECTORY-PATH
15
16       lizardfs setquota (-u UID | -g GID) SOFT-LIMIT-SIZE HARD-LIMIT-SIZE
17                     SOFT-LIMIT-INODES HARD-LIMIT-INODES MOUNTPOINT-ROOT-PATH
18
19       lizardfs setquota -d SOFT-LIMIT-SIZE HARD-LIMIT-SIZE
20                     SOFT-LIMIT-INODES HARD-LIMIT-INODES DIRECTORY-PATH
21

OPTIONS

23       -u UID
24           Quota for the user with uid UID.
25
26       -g GID
27           Quota for the group with gid GID.
28
29       -a
30           Quota for all users and groups.
31
32       -d
33           Quota for directory.
34

DESCRIPTION

36       Quota mechanism can be used to limit inodes usage and space usage for
37       users and groups. Once hard limit for inodes or space is reached, no
38       new files can be created for specified user (or group) as long as the
39       quota is not raised or some data is deleted. Also, if hard limit for
40       size is reached, user cannot extend existing files by adding new chunks
41       to them.
42
43       In general quotas can be set only by a superuser, but there is a
44       workaround available - one can set SESFLAG_ALLCANCHANGEQUOTA in
45       mfsexports.cfg file. A user can only retrieve a quota of his own (and
46       of his primary group).
47
48       repquota prints a summary of the limits that were set and inode/space
49       usage for specified user/group (or all of them) in the following
50       format:
51
52           # User/Group ID/Inode; Bytes: current usage, soft limit, hard limit; Inodes: current usage, soft limit, hard limit;
53           User/Group/Inode ID (+/-)(+/-) USED-BYTES SOFT-LIMIT-BYTES HARD-LIMIT-BYTES USED-INODES SOFT-LIMIT-INODES HARD-LIMIT-INODES
54
55       + indicates that the soft was exceeded or the hard limit was reached. -
56       indicates otherwise. The first + or - corresponds to bytes limit, while
57       the second one to inodes.
58
59       setquota sets quotas for a user or a group on LizardFS. The quotas are
60       not strict, i.e. it is possible to exceed hard limits a bit, mostly by
61       appending data to existing files, but only to certain level (new chunks
62       cannot be created).
63
65       Copyright 2008-2009 Gemius SA, 2013-2016 Skytechnology sp. z o.o.
66
67       LizardFS is free software: you can redistribute it and/or modify it
68       under the terms of the GNU General Public License as published by the
69       Free Software Foundation, version 3.
70
71       LizardFS is distributed in the hope that it will be useful, but WITHOUT
72       ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
73       FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74       for more details.
75
76       You should have received a copy of the GNU General Public License along
77       with LizardFS. If not, see http://www.gnu.org/licenses/.
78

SEE ALSO

80       lizardfs(1)
81
82
83
84                                  01/29/2020              LIZARDFS-REPQUOTA(1)
Impressum