Re: why isn't quota dependant on ext2?

Jakob Oestergaard (jakob@unthought.net)
Fri, 24 Jan 2003 02:32:59 +0100


On Wed, Jan 22, 2003 at 04:05:55PM -0500, Pete Zaitcev wrote:
> >> > ext3, ufs and udf also use the core quota code.
> >>
> >> The documentation says it only works with ext2 where would I find working
> >> utilities to get it working on ext3 ?
> >
> > ext3 uses the same tools as ext2 - checkquota, quotaon, etc.
> >
> > http://quota-tools.sourceforge.net/ (site seems to be broken)
>
> The bad news is that quota on ext3 is virtually guaranteed
> to deadlock, so you can do it, but you do not want to do it.
> The original memo describes a deadlock in RH 2.4.18-5, which
> I assure you, was NOT fixed in Marcelo 2.4.20. A good anti-deadlock
> work was done, granted, but this particular one wasn't fixed.

Hmm... that doesn't match my experiences here...

[phoenix:joe] $ uname -r
2.4.20-rc3

[phoenix:joe] $ mount | grep exported
/dev/md7 on /exported type ext3 (rw,usrquota)

[phoenix:joe] $ df -h | grep expor
/dev/md7 147G 98G 41G 70% /exported

[phoenix:joe] $ df -ih | grep expor
/dev/md7 19M 844k 17M 5% /exported

This is a fairly heavily loaded NFS server (load > 10 is not uncommon).

I have seen no lockups so far. Should I be worried ?

It uses the old quota format - could that be why it's ok ?

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
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/