Re: Disk quota not working with 64bit kernel, 32 bit userland.
Frederik Schueler <email@example.com> writes:
> On Fri, May 21, 2004 at 03:59:31PM -0400, Brett Viren wrote:
>> Maybe I spoke too soon. Using my 64bit static quota commands there
>> seems to be a problem. All attempts to set up quotas fail with "User
>> <username> doesn't exist" when the user <username> clearly does.
> starting quotas after having restricted a user gives you this error?
Yes. The full chain of events is:
- boot biarch kernel with "quota" added to kernel command line into
- Start RAID0 on /dev/md0 via the /etc/init.d/raid2 script
- mount /dev/md0 to /home with the option "usrquota"
- Finally, try to set a quota on a user:
coop:~# file /usr/sbin/setquota
/usr/sbin/setquota: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped
coop:~# ls -lad ~bviren
drwxr-xr-x 2 bviren users 95 May 7 13:32 /home/bviren
coop:~# grep bviren /etc/passwd
coop:~# /usr/sbin/setquota bviren 600 800 15 20 /home
setquota: User bviren doesn't exist.
BTW, "edquota" gives the same error.
> you need 64bit xfsprogs too, I bet.
Okay, I'll give that a try next.
Thanks for any other hints,