[Ocfs2-users] df showing wrong size

Sunil Mushran sunil.mushran at oracle.com
Mon Jun 28 10:04:06 PDT 2010


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.



More information about the Ocfs2-users mailing list