2.6.3 + reiser + quota support
Hi guys,
As I can read in the help of quota it says:
------------------------------------------------------------CONFIG_QUOTA:
If you say Y here, you will be able to set per user limits for disk usage (also called disk quotas). Currently, it works for the ext2, ext3, and reiserfs file system.
------------------------------------------------------------
but when I try to mount a reiserfs formatted partition this happens:
[root@test mnt]# mount -o defaults,usrquota /dev/hdc1 test
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems
[root@test mnt]#
and /var/log/messages says:
Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"
for an ext3 formatted partition it works:
[root@test mnt]# mount -o defaults,usrquota /dev/hdc1 test [root@test mnt]# mount/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)/dev/hdc1 on /mnt/test type ext3 (rw,usrquota)
Additional info:
[root@test linux-2.6.3]# grep -i quota .configCONFIG_XFS_QUOTA=yCONFIG_QUOTA=yCONFIG_QUOTACTL=y
Any advice?
Signature · 1 line
Juan Pablo Abuyeres <[email protected]>
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"
If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.
Signature · 3 lines
Damian Wojsław IT Departament Eltek Polska Sp. z o. o., Poland
Quoted 6 lines · Damian Wojsław
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.
Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Regards,
Signature · 1 line
Juan Pablo Abuyeres <[email protected]>
Quoted 14 lines · Damian Wojsław
Quoted 6 lines
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
Quoted 3 lines
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Actually the text in Configure is a bit misleading. In 2.6 you also
need an additional patch for ReiserFS. Chris Mason created it a few days ago so it might be available at his FTP..
Honza
Signature · 2 lines
Jan Kara <[email protected]> SuSE CR Labs
Quoted 14 lines · Jan Kara
Quoted 14 lines · Damian Wojsław
Quoted 6 lines
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
Quoted 7 lines
Quoted 3 lines
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Actually the text in Configure is a bit misleading. In 2.6 you also
need an additional patch for ReiserFS. Chris Mason created it a few days ago so it might be available at his FTP..
Honza
that would be it ftp://ftp.suse.com/pub/people/mason/patches/data-logging/experimental/2.6.3
Thanks!
ps: how much should I be intimidated by that "experimental" directory name?
Quoted 23 lines · Jan Kara
Quoted 14 lines
Quoted 14 lines · Damian Wojsław
Quoted 6 lines
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
Quoted 7 lines
Quoted 3 lines
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Actually the text in Configure is a bit misleading. In 2.6 you also
need an additional patch for ReiserFS. Chris Mason created it a few days ago so it might be available at his FTP..
Honza
Quoted 7 lines
that would be it ftp://ftp.suse.com/pub/people/mason/patches/data-logging/experimental/2.6.3
Thanks!
ps: how much should I be intimidated by that "experimental" directory name?
Because the patch was created a few days ago it is not very widely
tested (I mean tested in the real environment..)... That is the reason why it is in experimental (at least I'd guess :)).
Honza
Signature · 2 lines
Jan Kara <[email protected]> SuSE CR Labs
Quoted 28 lines · Jan Kara
Quoted 28 lines · Jan Kara
Quoted 14 lines
Quoted 14 lines · Damian Wojsław
Quoted 6 lines
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
Quoted 7 lines
Quoted 3 lines
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Actually the text in Configure is a bit misleading. In 2.6 you also
need an additional patch for ReiserFS. Chris Mason created it a few days ago so it might be available at his FTP..
Honzathat would be it ftp://ftp.suse.com/pub/people/mason/patches/data-logging/experimental/2.6.3
Thanks!
Quoted 7 lines
Quoted 2 lines
ps: how much should I be intimidated by that "experimental" directory name?
Because the patch was created a few days ago it is not very widely
tested (I mean tested in the real environment..)... That is the reason why it is in experimental (at least I'd guess :)).Honza
Well, it didn't work. I applied patches and everything, but quota is still non-operative for reiserfs.
[root@test mnt]# mount -o defaults,usrquota /dev/hdc1 test
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems
[root@test mnt]# tail -1 /var/log/messages
Mar 10 12:29:59 test kernel: reiserfs_getopt: unknown option "usrquota"
[root@test mnt]#
[root@test mnt]# uname -a
Linux test.tecnoera.com 2.6.3 #1 SMP Wed Mar 10 11:56:44 CLST 2004 i686 i686 i386 GNU/Linux
[root@test mnt]# grep -i quota /usr/src/linux-2.6.3/.config # CONFIG_XFS_QUOTA is not setCONFIG_QUOTA=yCONFIG_QUOTACTL=y
[root@test mnt]#
If there is any test you want me to perform on this machine, I can do it.
Quoted 55 lines · Jan Kara
Quoted 28 lines
Quoted 28 lines · Jan Kara
Quoted 14 lines
Quoted 14 lines · Damian Wojsław
Quoted 6 lines
Quoted 3 lines
[root@test mnt]#
and/var/log/messagessays:Mar 4 19:15:46 test kernel: reiserfs_getopt: unknown option "usrquota"If I remember correclty, reiserfs needs an additional patch to
support quota. I know this patch exists for 2.4.X kernels.Yes, patches to support quota exist for 2.4.x kernels, because 2.4.x is not supposed to support quota for reiserfs in the vanilla distribution. Those patches are at ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4 and work fine.
Quoted 7 lines
Quoted 3 lines
But kernel 2.6.x is supposed to support quota for ext2, ext3 _and_ reiserfs without any patch. So I am doing something wrong (I hope), or there is a bug around here.
Actually the text in Configure is a bit misleading. In 2.6 you also
need an additional patch for ReiserFS. Chris Mason created it a few days ago so it might be available at his FTP..
Honzathat would be it ftp://ftp.suse.com/pub/people/mason/patches/data-logging/experimental/2.6.3
Thanks!
Quoted 7 lines
Quoted 2 lines
ps: how much should I be intimidated by that "experimental" directory name?
Because the patch was created a few days ago it is not very widely
tested (I mean tested in the real environment..)... That is the reason why it is in experimental (at least I'd guess :)).Honza
Well, it didn't work. I applied patches and everything, but quota is still non-operative for reiserfs.
[root@test mnt]# mount -o defaults,usrquota
/dev/hdc1test
mount: wrong fs type, bad option, bad superblock on/dev/hdc1,
or too many mounted file systems
[root@test mnt]# tail -1/var/log/messagesMar 10 12:29:59 test kernel: reiserfs_getopt: unknown option "usrquota"[root@test mnt]#
[root@test mnt]# uname -a
Linux test.tecnoera.com 2.6.3 #1 SMP Wed Mar 10 11:56:44 CLST 2004 i686 i686 i386 GNU/Linux
[root@test mnt]# grep -i quota/usr/src/linux-2.6.3/.config#CONFIG_XFS_QUOTAis not setCONFIG_QUOTA=yCONFIG_QUOTACTL=y
[root@test mnt]#
Quoted 2 lines
If there is any test you want me to perform on this machine, I can do it.
ftp.suse.com is currently inaccessible so I cannot look at the patch
but it seems like patch contains only data-logging changes and not the quota ones. I'm giving a CC to Chris so that he can say you what the situation actually is.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SuSE CR Labs