xfs
[Top] [All Lists]

Re: setquota on Debian (testing)

To: Ian Cumming <ian@xxxxxxxxxx>
Subject: Re: setquota on Debian (testing)
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 9 Jul 2002 08:59:08 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020705065605.GA1820@ids.org.au>
References: <20020705065605.GA1820@ids.org.au>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.4i
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


<Prev in Thread] Current Thread [Next in Thread>