Quota format not supported in kernel

9,092

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.

Share:
9,092

Related videos on Youtube

PipBoy2000
Author by

PipBoy2000

Updated on September 18, 2022

Comments

  • PipBoy2000
    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. Made mount -o remount / and quotacheck -avugm. But when I try to turn quota on quotaon -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
      psusi over 12 years
      Did you build the quota files with quotacheck?
    • PipBoy2000
      PipBoy2000 over 12 years
      If you mean this quotacheck -avugm, then yes, I did.
    • psusi
      psusi over 12 years
      The default format may be vfsv1. Try either omitting the jqfmt option or specifying the format to quotacheck.
    • PipBoy2000
      PipBoy2000 over 12 years
      How 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.