ceu-notes/2/SRI/notes/quotas.txt

14 lines
287 B
Plaintext
Raw Permalink Normal View History

2022-11-14 14:36:56 +00:00
apt install quotas
find /lib/modules/`uname -r` -type f -name '*quota_v*.ko*'
# In /etc/fstab:
s/errors=remount-ro/usrquota,grpquota/
s/1$/0/
quotacheck -cugm /
quotaon -ugv /
quotaoff -ugv /
setquota -u user block-soft block-hard inode-soft inode-hard /
# list all quotas
repquota -a