xfs
[Top] [All Lists]

Re: XFS related hang (was Re: How to send a break? - dump from frozen 64

To: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Subject: Re: XFS related hang (was Re: How to send a break? - dump from frozen 64bit linux)
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 2 Jun 2006 08:04:07 +1000
Cc: Janos Haar <djani22@xxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0606011143410.3533@xxxxxxxxxxxxxxx>; from jengelh@xxxxxxxxxxxxxxx on Thu, Jun 01, 2006 at 11:44:46AM +0200
References: <9a8748490605280917l73f5751cmf40674fc22726c43@xxxxxxxxxxxxxx> <01d801c6827c$fba04ca0$1800a8c0@dcccs> <01a801c683d2$e7a79c10$1800a8c0@dcccs> <200605301903.k4UJ3xQU008919@xxxxxxxxxxxxxxxxxxxxxxx> <1149038431.21827.20.camel@xxxxxxxxxxxxxxxxxxxxx> <20060531143849.C478554@xxxxxxxxxxxxxxxxxxxxxxxx> <00f501c68488$4d10c080$1800a8c0@dcccs> <Pine.LNX.4.61.0605312353530.30170@xxxxxxxxxxxxxxx> <00d901c6854d$1fc49230$1800a8c0@dcccs> <Pine.LNX.4.61.0606011143410.3533@xxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Jun 01, 2006 at 11:44:46AM +0200, Jan Engelhardt wrote:
> >> Reinit:
> >>
> >> quotaoff /mntpt
> >> umount /mntpt
> >> mount /mntpt
> >
> >Thanks! :-)
> >
> Too bad XFS does not reinit quota on these commands:
> 
> qutoaoff /mp
> quotaon /mp

Hmm, remount would be saner if we wanted to take that approach...

> Yes, it would lock the filesystem for a moment, but that's better than 
> trying to unmount it under someone having inodes open!

But its not just a moment, a quotacheck needs to scan every inode
in the filesystem (on disk) to correctly account for all space/inode
usage.  Its not something to be encouraging people to do frequently,
and it would also be very difficult to correctly implement (while the
filesystem is actively being modified I mean).

cheers.

-- 
Nathan


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