Enable Quota Ubuntu 16.04 error

June 24, 2017 5k views
Ubuntu 16.04 Linux Basics Configuration Management Storage Miscellaneous System Tools

I use this guie from DigitalOcean tutorials but when I put quotaon this error appear:

quotaon: using //aquota.user on /dev/vda1 [/]: No](http://)](http://) such process
quotaon: Quota format not supported in kernel.

I view the cuotas, but they are not updated…

Can some body help me?


4 Answers

I resolve this install kernel dependencies, like this:

apt-get -y install linux-image-generic
apt-get -y install linux-headers-generic
apt-get -y install linux-image-extra-`uname -r`

After that we need to add the quota modules to start with boot:

echo quota_v1 >> /etc/modules
echo quota_v2 >> /etc/modules


Check if it’s working:

sudo -s
cat /proc/modules | grep -i quota

quota_v1 16384 0 - Live 0xffffffffc037c000
quota_v2 16384 2 - Live 0xffffffffc0377000
quota_tree 20480 1 quota_v2, Live 0xffffffffc0250000

quotaon -pa

group quota on / (/dev/sda1) is on
user quota on / (/dev/sda1) is on


Hi @msanchezdbc0b60dea889885dd

Did you edit the /etc/fstab and add the usrquota and/or grpquota ?
When you ran the mount -o remount / did it successfully remount ?

Yes I did..but only in qoutaon is that error.

I use another’s commands and they are ok..it showing cuota and reports but not update the cuotas.

I use this guíe un 14.04 and all ok..but I’m 16.04 it’s the problem


# Written by the DigitalOcean build process

LABEL=DOROOT   /               ext4    noatime,errors=remount-ro,usrquota    0 1
proc           /proc           proc    nodev,noexec,nosuid          0 0
Have another answer? Share your knowledge.