xfs
[Top] [All Lists]

Re: Q: How to correct a wrong quota value on a xfs filesystem

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Q: How to correct a wrong quota value on a xfs filesystem
From: Rainer Krienke <krienke@xxxxxxxxxxxxxx>
Date: Fri, 11 Jun 2004 07:58:19 +0200
In-reply-to: <20040610095447.GA23154@xxxxxxxxxxxxxxxxxxxx>
Organization: Uni Koblenz
References: <200406091550.41686.krienke@xxxxxxxxxxxxxx> <20040610075202.GB786@frodo> <20040610095447.GA23154@xxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.6.2
On Donnerstag, 10. Juni 2004 11:54, Rainer Krienke wrote:
> On Thu, Jun 10, 2004 at 05:52:02PM +1000, Nathan Scott wrote:
> > On Wed, Jun 09, 2004 at 03:50:37PM +0200, Rainer Krienke wrote:
> > > However today a user complained because the quota system reported that
> > > he was about his soft quota limit. A call of quota -v user confirmed
> > > this. However this seems to be wrong. I searched the complete
> > > filesystem with find for files belonging to this user oder his uid and
> > > the only files found were in his HOME directory that is on this
> > > filesystem. Running du -sk on his home reports only half of the size
> > > that the quota system says he is currently using.
> >

The problem is solved. I ran xfs_repair on the filesystem in question and it 
reported in pass 7 several disconnected inodes that were moved to lost+found. 
Well some of them belonged to the user in question. After taking these files 
out of the filesystem the quota value for the user was correct again. So 
after all the quota was probably always right but for any reason the 
filesystem was in a "bad" state.

Thanks to all
Rainer
-- 
---------------------------------------------------------------------------
Rainer Krienke, Universitaet Koblenz, Rechenzentrum, Raum A022
Universitaetsstrasse 1, 56070 Koblenz, Tel: +49 261287 -1312, Fax: -1001312
Mail: krienke@xxxxxxxxxxxxxx, Web: http://www.uni-koblenz.de/~krienke
Get my public PGP key: http://www.uni-koblenz.de/~krienke/mypgp.html
---------------------------------------------------------------------------

Attachment: pgpd0zWJ9JnC3.pgp
Description: signature

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