xfs
[Top] [All Lists]

Re: XFS with project quota under linux?

To: "Jahnke, Steffen" <Steffen.Jahnke@xxxxxxxxxxxx>
Subject: Re: XFS with project quota under linux?
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 6 Jun 2007 09:20:33 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <950DD867A5E1B04ABE82A56FCDC03A5E9CE8CF@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <950DD867A5E1B04ABE82A56FCDC03A5E9CE8CF@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Jun 04, 2007 at 10:55:35AM +0200, Jahnke, Steffen wrote:
> I recently switched the quota usrquota to pquota on our Altix 4700 under
> SLES10. I then found out that the project quota is not updated if files are
> moved within the same filesystem. E.g. if I move a file from a different
> project to a new project it still belongs to the old project. The same thing
> happens if I move a file which not belongs to any project but which is on
> the filesystem mounted with pquota.

Working as designed, by the sounds of it. Moving a file around
the filesystem does not change the project it is assigned to.
Files created (i.e. moved into the filesystem) get assigned a
new project id on create which is why there is different behaviour
there.

Are you trying to use directory quotas here rather than just
plain project quotas?

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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