Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 12:34:23 -0400
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Gore Jarold <gore_jarold@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: phantom quota usage for user with no files ... ?
Message-ID:  <20070324163423.GA6101@in-addr.com>
In-Reply-To: <55882.43410.qm@web63013.mail.re1.yahoo.com>
References:  <03bf01c76c1d$b4a74160$b3db87d4@multiplay.co.uk> <55882.43410.qm@web63013.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 24, 2007 at 09:16:12AM -0700, Gore Jarold wrote:
> 
> Thanks, that is very helpful.
> 
> Steven Hartland <killing@multiplay.co.uk> wrote: Files which where open at the time and hence still have references
> similar to how deleted files still take up space until the last
> handle is closed.
> 
> 
> Can you tell me, how do I:
> 
> a) see those handles (ps auxw|grep USERNAME showed nothing)
> 
> b) remove/clear them ?
> 
> 
> (I _do_ have lsof installed, but lsof|grep USERNAME also showed nothing...)

Lookin for the users former home directory might show something:

lsof -n | grep <path to users home directory>

To remove/clear them, kill any processes that are accessing those files.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070324163423.GA6101>