xfs
[Top] [All Lists]

setquota on Debian (testing)

To: linux-xfs@xxxxxxxxxxx
Subject: setquota on Debian (testing)
From: Ian Cumming <ian@xxxxxxxxxx>
Date: Fri, 5 Jul 2002 16:56:05 +1000
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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

3. after setquota
Same as 1.

I found, however, that it was possible to edit the (number of) files
quota on the command line with the setquota command.

It is possible to set the quota with "edquota" via an editor. The
changes made in the editor have the correct effect on the user's quota.

I am running 2.4.18 with xfs-1.1, and it was only last week that
setquota seemed to break. As I have not changed my kernel for since the
1.1 release, I'm suspecting that the recent testing/woody updates have
broken something. 

I've tried rebuilding the xfs_cmds released with 1.1, however it has had
no effect.

Here's a list of the relevant xfs related software I have installed:

ii  xfs-xtt        1.3.0.xf420-4  X-TrueType font server
ii  xfsdump        2.0.1-1        Administrative utilities for the XFS filesys
ii  xfslibs-dev    2.0.3-1        XFS filesystem-specific static libraries and
ii  xfsprogs       2.0.3-1        Utilities for managing the XFS filesystem
ii  acl            2.0.9-1        Access control list utilities
ii  acl-dev        2.0.9-1        Access control list static libraries and hea
ii  libacl1        2.0.9-1        Access control list shared library
ii  attr           2.0.7-1        Utilities for manipulating filesystem extend
ii  attr-dev       2.0.7-1        Extended attribute static libraries and head
ii  libattr1       2.0.7-1        Extended attribute shared library
ii  quota          3.04-1         An implementation of the disk quota system.

If anyone has any ideas how I can fix this, it would be greatly
appreciated! (And make my automated quota scripts happy too! ;)

Ian.

-- 
Ian Cumming, ian@xxxxxxxxxxxxxx

"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June, 1972


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