SDB:Quota does not start: "Quota format not supported in kernel"

Şuraya atla: kullan, ara


Version: 8.2

Symptom

After having installed and configured quota, you would like to start it, either via the runlevel editor or from the command line.

hagood:~ # rcquota start

You get an error message like to the following:

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

Cause

The kernel for SuSE Linux 8.2 up to version 2.4.20-74 has the quota support compiled in, but the additionally needed support for the different quota formats (v1 and v2) has been compiled as modules and these are not automatically added to the initial ramdisk (initrd).

Solution

Log in as user root and open the file /etc/sysconfig/kernel with en editor of your choice and add quota_v2 to the list for INITRD_MODULES. Make sure not to remove other module entries as otherwise your system may not be able to boot properly.

After having saved the file, please run

mk_initrd

from the command line

If you use lilo instead of grub (you may verify this by checking /etc/sysconfig/bootloader), you will have to call

lilo

afterwards.

You can also start quota from the running system by issuing the command

modprobe -v quota_v2

<keyword>quota,kernel,initrd</keyword>