Messages in this thread | | | Date | Fri, 2 Jun 2006 08:04:07 +1000 | From | Nathan Scott <> | Subject | Re: XFS related hang (was Re: How to send a break? - dump from frozen 64bit linux) |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |