Afin de pouvoir utiliser les
quotas disques user/group sur votre VDS, veuillez vous connectez en SSH avec l'utilisateur
root.
Installation du paquet :
apt-get install quota
Création des fichiers user/group :
touch /aquota.user
touch /aquota.group
chmod 600 /aquota.*
Configuration du fichier /etc/fstab :
nano /etc/fstab
Avant :
/dev/xvda1 / ext3 errors=remount-ro 0 1
Après :
/dev/xvda1 / ext3 errors=remount-ro,usrquota,grpquota 0 1
Remonter la partition :
mount -o remount /
Initialisation des quotas :
quotacheck -augvm
Activation des quotas :
quotaon -avug