Hi, 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..... Does ext3 supports quotas? Nikolai
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. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
> You need to get new quota tools (sourceforge.net) and probably re-build > your quota files for it to work. >is quota-tools only for -ac kernels? Because when I patch 2.4.7 i get a lot of errors: patching file arch/ia64/ia32/sys_ia32.c patching file arch/sparc64/kernel/sys_sparc32.c patching file fs/dquot.c Hunk #2 succeeded at 34 with fuzz 2 (offset -11 lines). Hunk #3 FAILED at 56. Hunk #4 succeeded at 120 (offset -9 lines). Hunk #5 succeeded at 191 (offset -7 lines). Hunk #6 succeeded at 254 (offset -18 lines). Hunk #7 FAILED at 635. Hunk #8 succeeded at 852 (offset -2 lines). Hunk #9 FAILED at 918. Hunk #10 FAILED at 977. Hunk #11 FAILED at 1030. Hunk #12 FAILED at 1072. Hunk #13 FAILED at 1104. Hunk #14 FAILED at 1122. Hunk #15 FAILED at 1130. Hunk #16 succeeded at 1219 (offset 77 lines). Hunk #17 succeeded at 1249 (offset -2 lines). Hunk #18 succeeded at 1346 (offset 77 lines). Hunk #19 FAILED at 1393. Hunk #20 succeeded at 1302 with fuzz 1 (offset -49 lines). Hunk #21 FAILED at 1330. Hunk #22 succeeded at 1475 (offset 75 lines). Hunk #23 FAILED at 1484. Hunk #24 FAILED at 1505. Hunk #25 succeeded at 1410 (offset -42 lines). Hunk #26 FAILED at 1440. Hunk #27 FAILED at 1452. Hunk #28 FAILED at 1476. Hunk #29 FAILED at 1527. Hunk #30 FAILED at 1577. Hunk #31 FAILED at 1591. Hunk #32 FAILED at 1606. Hunk #33 FAILED at 1665. Hunk #34 FAILED at 1675. Hunk #35 FAILED at 1708. Hunk #36 FAILED at 1738. Hunk #37 FAILED at 1748. Hunk #38 succeeded at 1928 with fuzz 2 (offset 123 lines). Hunk #39 FAILED at 1961. Hunk #40 succeeded at 1814 (offset -36 lines). Hunk #41 succeeded at 1992 (offset 123 lines). Hunk #42 FAILED at 2014. Hunk #43 FAILED at 2031. Hunk #44 succeeded at 1898 with fuzz 1 (offset -23 lines). Hunk #45 FAILED at 1949. Hunk #46 succeeded at 2124 (offset 123 lines). Hunk #47 succeeded at 1989 (offset -23 lines). Hunk #48 succeeded at 2157 (offset 123 lines). Hunk #49 succeeded at 2039 (offset -26 lines). Hunk #50 FAILED at 2056. 30 out of 50 hunks FAILED -- saving rejects to file fs/dquot.c.rej patching file fs/inode.c Hunk #1 succeeded at 751 (offset 1 line). patching file fs/ioctl.c patching file include/asm-alpha/ioctls.h patching file include/asm-cris/ioctls.h patching file include/asm-i386/ioctls.h patching file include/asm-ia64/ioctls.h patching file include/asm-m68k/ioctls.h patching file include/asm-mips64/ioctls.h patching file include/asm-parisc/ioctls.h patching file include/asm-sh/ioctls.h patching file include/asm-sparc/ioctls.h patching file include/asm-sparc64/ioctls.h patching file include/linux/fs.h Hunk #1 succeeded at 441 with fuzz 2 (offset 10 lines). Hunk #2 succeeded at 491 (offset 2 lines). Hunk #3 succeeded at 666 (offset 10 lines). Hunk #4 succeeded at 722 (offset 3 lines). Hunk #5 FAILED at 935. 1 out of 5 hunks FAILED -- saving rejects to file include/linux/fs.h.rej patching file include/linux/quota.h Hunk #2 FAILED at 56. Hunk #3 succeeded at 102 (offset 7 lines). Hunk #4 FAILED at 213. Hunk #5 FAILED at 238. 3 out of 5 hunks FAILED -- saving rejects to file include/linux/quota.h.rej patching file include/linux/quotaops.h Hunk #1 FAILED at 25. Hunk #2 FAILED at 58. Hunk #3 FAILED at 120. Hunk #4 FAILED at 173. 4 out of 4 hunks FAILED -- saving rejects to file include/linux/quotaops.h.rej I tryed to patch by hand but I see the code is different ..... what can I do? i need quotas ...... Nikolai