2016-12-29 11:25:39 +01:00
|
|
|
**Cette page a été importée automatiquement de notre ancien wiki mais n'a pas encore été révisée.**
|
|
|
|
|
|
|
|
# Howto Quota
|
|
|
|
|
|
|
|
## Mise en place
|
|
|
|
|
|
|
|
~~~
|
|
|
|
# apt install quota
|
|
|
|
~~~
|
|
|
|
|
|
|
|
Ajouter _usrquota_ et/ou _grpquota_ dans les partitions concernées du fichier /etc/fstab exemple :
|
|
|
|
|
|
|
|
~~~
|
2017-02-20 17:51:57 +01:00
|
|
|
/dev/sdb1 /home ext4 defaults,noexec,nosuid,nodev,usrquota,grpquota 0 2
|
2016-12-29 11:25:39 +01:00
|
|
|
~~~
|
|
|
|
|
|
|
|
~~~
|
|
|
|
# mount -o remount /home
|
2017-02-20 17:51:35 +01:00
|
|
|
# quotacheck -cgfmv F vfsv0 /home/
|
|
|
|
# quotacheck -cufmv -F vfsv0 /home/
|
2016-12-29 11:25:39 +01:00
|
|
|
# quotaon /home
|
|
|
|
~~~
|
|
|
|
|
|
|
|
Temps de grâce pour le quota de groupe :
|
|
|
|
|
|
|
|
~~~
|
|
|
|
# edquota -g -t
|
|
|
|
~~~
|
|
|
|
|
|
|
|
## FAQ
|
|
|
|
|
|
|
|
### Erreur : warnquota: Parse error at line 42. Cannot find end of group name
|
|
|
|
|
|
|
|
~~~
|
|
|
|
# warnquota -g
|
|
|
|
warnquota: Parse error at line 42. Cannot find end of group name.
|
|
|
|
~~~
|
|
|
|
|
|
|
|
Problème à la ligne 42 du fichier /etc/quotagrpadmins
|