Red Hat Bugzilla – Bug 97715
quota in 2.4.20-18.7 works only with certain compile options
Last modified: 2007-04-18 12:54:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
Description of problem:
While compiling custom kernel, you have to choose 'Quota support', 'VFS v0 quota
format support' and 'Compatible quota interfaces' of type 'VFSv0'. Otherwise,
quota doesn't work (complains about bad format etc).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. recompile kernel with other quota-related option
2. try quotaon -v /some_system_that_already_worked
Expected Results: I would expect that these two packages should work together
without having to choose backward compatibility
Additional info: This is more for some lost soul seeking info than for kernel
developers. I hope it will save somebody some time.
rh_2.4.20-18.7 kernel has only 2 options selected:
[*] Quota support
< > Old quota format support
<*> VFS v0 quota format support
[ ] Compatible quota interfaces
I confirm. 'VFS v0 quota format support' is enough. Some text to this compile
option would be nice...
The only problem I can see is 'edquota'. It reports 'edquota: WARNING -
/dev/sda5: cannot change current block allocation'. The rest of quota-related
binaries looks OK. Maybe it is just my problem... can anybody confirm?
This is correct. v0 quota format is neccessary for 32bit uid support, the old
old quota format in Linux was 16bit uid.