[Ocfs2-users] df showing wrong size

Garcia, Raymundo Raymundo.Garcia at philips.com
Mon Jun 28 15:46:11 PDT 2010


So.. if it is not cleaned up.. what can we do?

-----Original Message-----
From: Sunil Mushran [mailto:sunil.mushran at oracle.com]
Sent: Monday, June 28, 2010 11:04 AM
To: Patrick J. LoPresti
Cc: Garcia, Raymundo; ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] df showing wrong size

On 06/28/2010 09:37 AM, Patrick J. LoPresti wrote:
> On Mon, Jun 28, 2010 at 9:29 AM, Sunil Mushran<sunil.mushran at oracle.com>  wrote:
>
>> ocfs2 is a journaled file system. But it is also a clustered file system.
>> So it cannot arbitrarily delete orphaned files because they could still be
>> in use on another node.
>>
> Ah, interesting...  So I have a dumb question:
>
> If a deleted file is still open on a node, and that node crashes, when
> and how does that file's space get reclaimed?
>
> (Sorry if this is in the documentation and I missed it.)
>

Node death triggers dlm recovery followed by fs journal replay
followed by orphan cleanup. If that file is not in use on any other
node, it will get cleaned up.

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.



More information about the Ocfs2-users mailing list