LEIL-REPQUOTA(1)
π
LEIL-REPQUOTA β the leil repquota / leil setquota glow-up β¨
okay so bestie, this is the LEIL-REPQUOTA(1) page and it's genuinely so useful β it's all about peeking at quotas and setting them. no cap. let's get into it π«Ά
β¨ NAME β¨
leil-repquota, leil-setquota β these two icons literally retrieve and set quotas for the users and groups you point at π
πΈ SYNOPSIS πΈ
here's the whole vibe check, exactly as written:
leil repquota [-nhH] (-u 'UID' | -g 'GID')+ 'MOUNTPOINT-ROOT-PATH'
leil repquota [-nhH] -a 'MOUNTPOINT-ROOT-PATH'
leil repquota [-nhH] -d 'DIRECTORY-PATH'
leil setquota (-u 'UID' | -g 'GID') 'SOFT-LIMIT-SIZE' 'HARD-LIMIT-SIZE'
'SOFT-LIMIT-INODES' 'HARD-LIMIT-INODES' 'MOUNTPOINT-ROOT-PATH'
leil setquota -d 'SOFT-LIMIT-SIZE' 'HARD-LIMIT-SIZE'
'SOFT-LIMIT-INODES' 'HARD-LIMIT-INODES' 'DIRECTORY-PATH'
π OPTIONS π
-u 'UID'β the quota for the user rockin' uidUIDπ-g 'GID'β the quota for the group rockin' gidGIDπ-aβ quota for all the users and groups, everybody, the whole group chat π«Ά-dβ quota for a directory π
π¦ DESCRIPTION π¦
so the quota mechanism is literally there to limit inode usage and space usage for users and groups. once the hard limit for inodes or for space gets hit, no new files can be created for that specified user (or group) β unless the quota gets raised or some data gets deleted. and if the hard limit for size is reached, the user cannot extend existing files by adding new chunks to them. periodt. π
in general, quotas can only be set by a superuser β but there's a workaround, bestie: you can set SESFLAG_ALLCANCHANGEQUOTA in leil-exports.cfg. a user can only retrieve a quota of their own (and of their primary group). iykyk π
repquota prints a summary of the limits that were set plus the inode/space usage for the specified user/group (or all of them), in this exact format:
# User/Group ID/Inode; Bytes: current usage, soft limit, hard limit; Inodes:
# current usage, soft limit, hard limit;
'User/Group/Inode' 'ID' '(`+`/-)(`+`/-)' 'USED-BYTES' 'SOFT-LIMIT-BYTES'
'HARD-LIMIT-BYTES' 'USED-INODES' 'SOFT-LIMIT-INODES' 'HARD-LIMIT-INODES'
β' means the soft limit was exceeded or the hard limit was reached. - means otherwise. the first β' or - is for the bytes limit, and the second one is for inodes π
setquota sets quotas for a user or a group on LeilFS. and ngl, these quotas are not strict β it's possible to exceed hard limits a little bit, mostly by appending data to existing files, but only up to a certain level (new chunks cannot be created). so like, don't get too comfy π
β οΈ fr fr remember: hard limit on inodes or space β no new files for that user/group until the quota is raised or data is deleted. and size hard limit β no extending existing files with new chunks.
π₯ REPORTING BUGS π₯
found a bug? don't suffer in silence bestie β report it to the GitHub repository https://github.com/leil-io/leilfs as an issue π
π COPYRIGHT π
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OΓ
LeilFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. β¨
LeilFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. π
you should have received a copy of the GNU General Public License along with LeilFS. if not, see http://www.gnu.org/licenses/. π
π SEE ALSO π
leil(1) β go read it, it's giving main character energy π
okay that's the whole page, bestie β official vibes: source LEIL-REPQUOTA(1), dated 1980-01-01. slay, you're now a quota expert π§π
π¦ where this page comes from
- nixpkgs unstable: saunafs 5.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms