xfs
[Top] [All Lists]

Using quotas with Linux XFS

To: linux-xfs@xxxxxxxxxxx
Subject: Using quotas with Linux XFS
From: John M Trostel <jtrostel@xxxxxxxxxx>
Date: Mon, 20 Nov 2000 01:01:35 -0500 (EST)
Reply-to: jtrostel@xxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
I am having some trouble using quotas with XFS on my linux system.  I am
using kernel 2.4.0-test10 and the XFS file system has been working fairly
well overall.  I am now trying to implement the quota tools (from the
./cmds/quota directory).

The problems I am having are the following:

1. setting grace times - When I invoke 'edquota -t' I get the proper
screen:

Grace period before enforcing soft limits for users:
Time units may be: days, hours, minutes, or seconds
  Filesystem             Block grace period     Inode grace period

When  I attempt to set some grace period quotas on the file system as:

Grace period before enforcing soft limits for users:
Time units may be: days, hours, minutes, or seconds
  Filesystem             Block grace period     Inode grace period
/dev/hda8                   1 day                1 day

I receive no error from the code which parses the temp file, but a
subsequent 'repquota -a' shows no grace period added into the /dev/hda8
limits.

I have mounted the file system with the quota option (usrquota doesn't
work, but a bit of digging showed quota as an alternative).

2. If I set the block and file limits for a user to some non-zero number
such that repquotas responds:

[root@jtsdell quota]# /usr/local/sbin/repquota /dev/hda8

  Electric Fence 2.0.5 Copyright (C) 1987-1998 Bruce Perens.
                        Block limits               File limits
user            used    soft    hard  grace    used  soft  hard  grace
root      --      16       0       0              8     0     0
jt        --   45856       0       0             12     0     0
sambaman  --       8     104     104              1    50    50

The setting of the quota seems to have worked BUT... sambaman can not
change anything or add anything to the filesystem without a disk quota
exceeded error.

Any clues as to what I am doing wrong? or right ;->

--
John M. Trostel
Linux OS Engineer
Connex
jtrostel@xxxxxxxxxx

begin:vcard
n:Trostel;John
tel;cell:404-735-0423
adr:;;;;;;
version:2.1
email;internet:jtrostel@xxxxxxxxxx
org:Connex
end:vcard


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