[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: do quotas work with ext3?

Andreas Dilger writes:

On Oct 01, 2001 21:00 +0000, Nikolai Vladychevski wrote:
Does ext3 supports quotas?

Yes. 2.2 had transaction support for quotas as well, but this is not yet
complete in 2.4 kernels.

I had ext2 and 2.4.7 kernel , quotas were working ok.
Now when all my filesystems are ext3 I figured out that quotas are not working.... if I do quotaon , repquota, quotacheck the programs return 0 without any output.....

You need to get new quota tools (sourceforge.net) and probably re-build
your quota files for it to work.

hmmmmm, ok, got quota-tools , but now ext3 doesn't compile in the kernel.... :

gcc -D__KERNEL__ -I/l4/linux-2.4.7-qis-1.0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o bitmap.o bitmap.c
gcc -D__KERNEL__ -I/l4/linux-2.4.7-qis-1.0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o dir.o dir.c
gcc -D__KERNEL__ -I/l4/linux-2.4.7-qis-1.0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o file.o file.c
file.c:69: `generic_file_llseek' undeclared here (not in a function)
file.c:69: initializer element is not constant
file.c:69: (near initialization for `ext3_file_operations.llseek')
file.c:80: initializer element is not constant
file.c:80: (near initialization for `ext3_file_operations')
make[3]: *** [file.o] Error 1
make[3]: Leaving directory `/l4/linux-2.4.7-qis-1.0/fs/ext3'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/l4/linux-2.4.7-qis-1.0/fs/ext3'
make[1]: *** [_subdir_ext3] Error 2
make[1]: Leaving directory `/l4/linux-2.4.7-qis-1.0/fs'
make: *** [_dir_fs] Error 2
You have new mail in /var/spool/mail/root
[root qis1 linux-2.4.7-qis-1.0]#

I applied qouta-fix-2.4.7-1.diff and then quota-patch-2.4.7-1.diff

I wonder if this was the correct sequence ... or should I first apply the quota-patch and after that ext3-patch ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]