xfs
[Top] [All Lists]

Quotas on XFS

To: linux-xfs@xxxxxxxxxxx
Subject: Quotas on XFS
From: "Michels, Gustavo [EES/BR]" <gustavo.michels@xxxxxxxxxxxxxxxxx>
Date: Fri, 14 Sep 2001 00:23:20 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

Sorry if my problem has been addressed before, but I really can't find
anything related in the archives.

My setup: Red Hat Linux 7.1. I got the 2.4.9 kernel from kernel.org, applied
the XFS patch and it is currently working. Then I created a XFS filesystem
under /xfs/emerson (mkfs -t xfs -l size=32768b -f /dev/sda6). The root
filesystem is ext2.

In /etc/fstab:

/dev/sda6       /xfs/emerson    xfs     rw,usrquota,logbufs=8,logbsize=32768
0 0

Here is what happens when I try to set quotas for an user (testuser):

[root@splus001 /]# mount
/dev/sda1 on / type ext2 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda6 on /xfs/emerson type xfs (rw,usrquota,logbufs=8,logbsize=32768)
[root@splus001 /]# setquota testuser 600 800 15 20 /xfs/emerson
[root@splus001 /]# repquota /xfs/emerson
*** Report for user quotas on device /dev/sda6
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --       0       0       0              3     0     0

[root@splus001 /]#


I don't have a clue how to get it working... Anyone could give me a hand?

Currently using: 

- XFS CVS source from today. Built and installed all RPMs (including devel
ones) under cmd, except attr2. (I didn't use the already patched kernel from
SGI because I have hardware raid devices that are not supported under the
latest unstable kernel, 2.4.10-pre8 I guess).
- installed quota-3.01pre9-0.7.1.i386.rpm (I first uninstalled the default
quota package that comes with RH 7.1)

Cheers
Gustavo


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