Re: 2.6.3 + reiser + quota support

From: Jan Kara
Date: Tue Mar 09 2004 - 15:12:32 EST


> 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@xxxxxxx>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/