Quota format not supported in kernel
There's a bug filled into launchpad which describes and solves this problem.
In summary, the quota module (and others) was removed from the virtual kernel. If you are in a Virtual Machine or aws-EC2 this should be your problem.
The solution
On Oneiric and Precise install linux-image-extra-virtual
package.
On old versions the modules should be already patched into kernel (just update your system).
After that run modprobe quota_v2
and modprobe quota_v1
in order to get ready to run quotas. Also remember to put the modules on /etc/modules.
Run your quotaon
command as usual.
Related videos on Youtube
PipBoy2000
Updated on September 18, 2022Comments
-
PipBoy2000 almost 2 years
I'm trying to configure quota for my / mount on Ubuntu 11.10. I have added
,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0
to it in fstab. Mademount -o remount /
andquotacheck -avugm
. But when I try to turn quota onquotaon -avug
i get this messages:quotaon: using //quota.group on /dev/xvda1 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/xvda1 [/]: No such process
quotaon: Quota format not supported in kernel.
As I understood googling, that Ubuntu kernel could be compiled without quota support.
Any ideas?
Thanks!
-
psusi over 12 yearsDid you build the quota files with
quotacheck
? -
PipBoy2000 over 12 yearsIf you mean this
quotacheck -avugm
, then yes, I did. -
psusi over 12 yearsThe default format may be vfsv1. Try either omitting the jqfmt option or specifying the format to quotacheck.
-
PipBoy2000 over 12 yearsHow do I do that? I'm a beginner to whole UNIX/Linux thing, could you please explain or give some link on how to do it? Thanks! P.S. I have also tried to delete the
defaults
parameter from the / mount, no luck.
-