Hi Aravind,
Aravind Divakaran wrote:> Hi All,
>
> I have already sent one mail regarding the space issue i am facing with my
> ocfs filesystem. As mentioned in the below link it is an issue related to
> free space fragmentation.
>
> http://oss.oracle.com/bugzilla/show_bug.cgi?id=1189
>
> I have seen a patch for stealing extent allocation which was there is
> 2.6.34-rc1 kernel. So i compiled my new kernel and installed on my system.
>
> Below is my ocfs details on my system
>
> #modinfo ocfs2
>
> filename: /lib/modules/2.6.34-rc1/kernel/fs/ocfs2/ocfs2.ko
> license: GPL
> author: Oracle
> version: 1.5.0
> description: OCFS2 1.5.0
> srcversion: A8B69947E8FF56D74858993
> depends: jbd2,ocfs2_stackglue,quota_tree,ocfs2_nodemanager
> vermagic: 2.6.34-rc1 SMP mod_unload modversions
>
> This is my stat_sysdir.sh output
>
> http://pastebin.com/RZH9DkTk
>
> Can anyone help me how to resolve this, please as the problem occurs on
> production mail server with 3000 emailid.
I just checked your stat_sysdir output. It isn't caused by extent block
alloc actually. So the patch doesn't work for you. Yes, the problem you
meet is fragmentation issue, but the root cause is that inode_alloc
can't allocate any more inodes(a little different from 1189).
I am now working on discontiguous block group. It will resolve your
issue I think. Hope it can be get into mainline in 2.6.35.
Regards,
Tao