Bug 97715

Summary: quota in 2.4.20-18.7 works only with certain compile options
Product: [Retired] Red Hat Linux Reporter: Pavel Urban <fc-bugzilla>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED WORKSFORME QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-22 17:34:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Urban 2003-06-19 17:53:45 UTC
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):
kernel-source-2.4.20-18.7, quota-3.06-9.7

How reproducible:
Always

Steps to Reproduce:
1. recompile kernel with other quota-related option
2. try quotaon -v /some_system_that_already_worked
3.
    

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.

Comment 1 acount closed by user 2003-06-19 22:33:56 UTC
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

Comment 2 Pavel Urban 2003-06-20 06:10:48 UTC
I confirm. 'VFS v0 quota format support' is enough. Some text to this compile
option would be nice...

Comment 3 Pavel Urban 2003-06-20 10:11:06 UTC
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?


Comment 4 Alan Cox 2003-06-22 17:34:24 UTC
This is correct. v0 quota format is neccessary for 32bit uid support, the old
old quota format in Linux was 16bit uid.