[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setquota on Debian (testing)



On Fri, Jul 05, 2002 at 04:56:05PM +1000, Ian Cumming wrote:
> Hi,
> 
> I've just noticed some weirdness with setquota on my debian (testing)
> machine. Basically, setquota is ignoring the soft and hard block limits
> on the command line. However, it is recognising the file limits.
> 
> Here's an example:
> 
> 1. before setquota:
> Disk quotas for user cprevost (uid 1202): 
>      Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
>       /dev/hda8      12   20480   25600               4   15000   20000        
>       /dev/hdc5   99684  102400  122880            1549   17000   20000        
> 
> 2. setquota
> /usr/sbin/setquota -F xfs -u cprevost 256000 225280 17000 20000 /dev/hdc5

This looks incorrect - your softlimit is greater than your hardlimit -
could that be the problem?  I'm running Debian (unstable, not testing,
so I have slightly newer quota tools) and this works for me.

The "-F xfs" should be redundant too.

> 3. after setquota
> Same as 1.
> 
> ...
> If anyone has any ideas how I can fix this, it would be greatly
> appreciated! (And make my automated quota scripts happy too! ;)

Hope this helps.

cheers.

-- 
Nathan