Re: 2.4, 2.4-ac and quotas

From: Jan Kara (jack@suse.cz)
Date: Mon Sep 17 2001 - 08:28:55 EST


  Hello,

> >> I'm desperately looking for some recent documentation on quotas.
> >>
> >> We've recently upgraded our two Debian potato fileservers to 2.4 and
> >> 2.4-ac (currently they're both running 2.4-ac so I can't check 2.4 atm)
> >> and quotas have stopped working.
>
> > Before you can use new quota you have to convert old quotafiles to new
> >ones. You can do this by convertquota(8) utility which is in the package.
> >Or you can just run 'quotacheck -F vfsv0 -c <mountpoint>' to create completely
> >new quota files with new quota format.
>
> Thanks--over the weekend I appear to have that bit working. I still can't
> add quotas to my shiny new ext3 partition though :(
>
> $ touch /export01/aquota.user
> $ umount /export01
> $ mount /export01 -o usrquota
> $ quotaon /export01
> quotaon: using /export01/aquota.user on /dev/sda3: Invalid argument
>
> The strace shows:
> quotactl(0x10000, 0x8053fe8, 0, 0x8053fc8) = -1 EINVAL (Invalid argument)
>
> Is there a recent HOWTO on this (maybe I've got it wrong)?
  And are you sure that /export01/aquota.user is correct quotafile (ie.
created by quotacheck or convertquota)? This is message you usually get
when quotafile has incorrect header... (or also when bogus arguments
are specified but it's probably not your case).

                                                                Honza
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:19 EST