mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.3 + reiser + quota support
@ 2004-03-04 22:28 Juan Pablo Abuyeres
  2004-03-05 11:33 ` Damian Wojsław
  0 siblings, 1 reply; 8+ messages in thread
From: Juan Pablo Abuyeres @ 2004-03-04 22:28 UTC (permalink / raw)
  To: linux-kernel

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 .config
CONFIG_XFS_QUOTA=y
CONFIG_QUOTA=y
CONFIG_QUOTACTL=y

Any advice?

-- 
Juan Pablo Abuyeres <jpabuyer@tecnoera.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-04 22:28 2.6.3 + reiser + quota support Juan Pablo Abuyeres
@ 2004-03-05 11:33 ` Damian Wojsław
  2004-03-05 14:42   ` Juan Pablo Abuyeres
  0 siblings, 1 reply; 8+ messages in thread
From: Damian Wojsław @ 2004-03-05 11:33 UTC (permalink / raw)
  To: Juan Pablo Abuyeres; +Cc: linux-kernel

> [root@test mnt]#
> and /var/log/messages says:
> 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.

-- 
Damian Wojsław
IT Departament
Eltek Polska Sp. z o. o., Poland


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-05 11:33 ` Damian Wojsław
@ 2004-03-05 14:42   ` Juan Pablo Abuyeres
  2004-03-08 14:36     ` Jan Kara
  0 siblings, 1 reply; 8+ messages in thread
From: Juan Pablo Abuyeres @ 2004-03-05 14:42 UTC (permalink / raw)
  To: Damian Wojsław; +Cc: linux-kernel

On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > [root@test mnt]#
> > and /var/log/messages says:
> > 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,
-- 
Juan Pablo Abuyeres <jpabuyer@tecnoera.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-05 14:42   ` Juan Pablo Abuyeres
@ 2004-03-08 14:36     ` Jan Kara
  2004-03-08 16:08       ` Juan Pablo Abuyeres
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Kara @ 2004-03-08 14:36 UTC (permalink / raw)
  To: Juan Pablo Abuyeres; +Cc: Damian Wojsław, linux-kernel

> On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > > [root@test mnt]#
> > > and /var/log/messages says:
> > > 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.
  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

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-08 14:36     ` Jan Kara
@ 2004-03-08 16:08       ` Juan Pablo Abuyeres
  2004-03-08 16:35         ` Jan Kara
  0 siblings, 1 reply; 8+ messages in thread
From: Juan Pablo Abuyeres @ 2004-03-08 16:08 UTC (permalink / raw)
  To: Jan Kara; +Cc: Damian Wojsław, linux-kernel

On Mon, 2004-03-08 at 11:36, Jan Kara wrote:
> > On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > > > [root@test mnt]#
> > > > and /var/log/messages says:
> > > > 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.
>   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?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-08 16:08       ` Juan Pablo Abuyeres
@ 2004-03-08 16:35         ` Jan Kara
  2004-03-09 15:48           ` Juan Pablo Abuyeres
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Kara @ 2004-03-08 16:35 UTC (permalink / raw)
  To: Juan Pablo Abuyeres; +Cc: Damian Wojsław, linux-kernel

> On Mon, 2004-03-08 at 11:36, Jan Kara wrote:
> > > On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > > > > [root@test mnt]#
> > > > > and /var/log/messages says:
> > > > > 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.
> >   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?
  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

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-08 16:35         ` Jan Kara
@ 2004-03-09 15:48           ` Juan Pablo Abuyeres
  2004-03-09 20:08             ` Jan Kara
  0 siblings, 1 reply; 8+ messages in thread
From: Juan Pablo Abuyeres @ 2004-03-09 15:48 UTC (permalink / raw)
  To: Jan Kara; +Cc: Damian Wojsław, linux-kernel

On Mon, 2004-03-08 at 13:35, Jan Kara wrote:
> > On Mon, 2004-03-08 at 11:36, Jan Kara wrote:
> > > > On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > > > > > [root@test mnt]#
> > > > > > and /var/log/messages says:
> > > > > > 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.
> > >   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?
>   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 set
CONFIG_QUOTA=y
CONFIG_QUOTACTL=y
[root@test mnt]#

If there is any test you want me to perform on this machine, I can do
it.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.3 + reiser + quota support
  2004-03-09 15:48           ` Juan Pablo Abuyeres
@ 2004-03-09 20:08             ` Jan Kara
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Kara @ 2004-03-09 20:08 UTC (permalink / raw)
  To: Juan Pablo Abuyeres; +Cc: mason, Damian Wojsław, linux-kernel

> On Mon, 2004-03-08 at 13:35, Jan Kara wrote:
> > > On Mon, 2004-03-08 at 11:36, Jan Kara wrote:
> > > > > On Fri, 2004-03-05 at 08:33, Damian Wojsław wrote:
> > > > > > > [root@test mnt]#
> > > > > > > and /var/log/messages says:
> > > > > > > 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.
> > > >   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?
> >   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 set
> CONFIG_QUOTA=y
> CONFIG_QUOTACTL=y
> [root@test mnt]#
> 
> 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

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-03-09 20:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 22:28 2.6.3 + reiser + quota support Juan Pablo Abuyeres
2004-03-05 11:33 ` Damian Wojsław
2004-03-05 14:42   ` Juan Pablo Abuyeres
2004-03-08 14:36     ` Jan Kara
2004-03-08 16:08       ` Juan Pablo Abuyeres
2004-03-08 16:35         ` Jan Kara
2004-03-09 15:48           ` Juan Pablo Abuyeres
2004-03-09 20:08             ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®