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

Re: ext3 + quota + 2.4.19 + load



Alright alright.... Now I compiled 2.4.19-ac4, with ext3 and quota
support.. now I need a little help with quota support :-/

When I booted with ext3, quota support went away. I was using vfsold
(quota.user) format. Now I can't get quota working. Here's what I do.

on /etc/fstab i have
/dev/hdc1		/var			ext3	 exec,dev,suid,rw,usrquota 1 2

First approach:
[root jaram var]# touch quota.user
[root jaram var]# chmod 600 quota.user 
[root jaram var]# ls -la quota.user 
-rw-------    1 root     root            0 Aug 13 17:04 quota.user
[root jaram var]# quotacheck -augvm -F vfsold
quotacheck: WARNING - Quotafile /var/quota.user was probably truncated.
Can't save quota settings...
quotacheck: Scanning /dev/hdc1 [/var] |
quotacheck: Scanning /dev/hdc1 [/var] done
quotacheck: Checked 11847 directories and 61341 files
[root jaram var]# quotaon -a
quotaon: using /var/quota.user on /dev/hdc1 [/var]: No such process
quotaon: Quota format not supported in kernel.
[root jaram var]# 

Second try:
[root jaram var]# touch aquota.user
[root jaram var]# chmod 600 aquota.user 
[root jaram var]# ls -la aquota.user 
-rw-------    1 root     root            0 Aug 13 17:10 aquota.user
[root jaram var]# quotacheck -augvm -F vfsv0 
quotacheck: WARNING -  Quotafile /var/aquota.user was probably
truncated. Can't save quota settings...
quotacheck: Scanning /dev/hdc1 [/var] done
quotacheck: Checked 11852 directories and 61349 files
[root jaram var]# quotaon -a
quotaon: using /var/aquota.user on /dev/hdc1 [/var]: No such process
quotaon: Quota format not supported in kernel.
[root jaram var]# 

extra info:

[root jaram var]# mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/hdc1 on /var type ext3 (rw,usrquota)

[root jaram var]# df -hT
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda1     ext3    6.9G  5.6G  971M  86% /
none         tmpfs    189M     0  188M   0% /dev/shm
/dev/hdc1     ext3     38G   17G   18G  48% /var

[root jaram var]# dmesg|grep -i quota
VFS: Disk quotas vdquot_6.5.1
[root jaram var]# dmesg|grep -i ext3 
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,1), internal journal
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide1(22,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.

[root jaram var]# quotaon -V
Quota utilities version 3.06.
Compiled with RPC and EXT2_DIRECT
Bugs to mvw planets elm net, jack suse cz

[root jaram var]# uname -r
2.4.19-ac4

[root jaram var]# cat /usr/src/linux-2.4.19-ac4/.config |grep -i quota
CONFIG_QUOTA=y
[root jaram var]# cat /usr/src/linux-2.4.19-ac4/.config |grep -i ext  
# CONFIG_SERIAL_EXTENDED is not set
CONFIG_EXT3_FS=y
CONFIG_EXT2_FS=y
# CONFIG_NCPFS_EXTRAS is not set


Thanks.

Juan Pablo Abuyeres
TECNOERA.COM




On Mon, 2002-08-12 at 17:16, Steffen Moser wrote:
> Hi!
> 
> * On Mon, Aug 12, 2002 at 02:53 PM (-0400), Juan Pablo Abuyeres wrote:
> 
> > OK ok.... then... what kernel+patch should I install? 2.4.18+latest -ac
> > patch?
> 
> I would suggest to install "linux-2.4.19-ac4". As far as I know it's the 
> latest "-ac" patch against "2.4.19". 
> 
> That means you'll need:
> 
>  - linux-2.4.19 kernel
>    ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.bz2
> 
>  - the "ac4" patch
>    ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.19/patch-2.4.19-ac4.bz2 
> 
>    (Of course, you shouldn't use "ftp.kernel.org" but a mirror instead)
> 
> As I've just seen, "linux-2.4.20-pre1-ac3" is the latest "ac" kernel
> that is available. When "linux-2.4.20-pre1-ac2" was released some hours 
> ago, Alan Cox wrote that it hasn't been extensively tested.  
> 
> So if I were you, I would stay with "linux-2.4.19-ac4". Here it runs
> quite well for about three days. 
> 
> "linux-2.4.20-pre1-ac1" didn't compile here, IIRC. And I haven't tested
> "linux-2.4.20-pre1-ac2" or "linux-2.4.20-pre1-ac3", yet.
> 
> HTH!
> 
> Regards,
> Steffen
> 
> 
> 
> _______________________________________________
> Ext3-users mailing list
> Ext3-users redhat com
> https://listman.redhat.com/mailman/listinfo/ext3-users






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