Hello,<br>ran xfs_repair -vv -L -P -m1750 and segfault at expected point.<br><br>I got the core-dump with dbg symbols, along with repair output and strace output.<br><br>What should I do with it? Provide as it is?<br>Archive is about 70M: for now I can make a public share:<br>

<a href="https://apps.memopal.com/e/S656XDVV">https://apps.memopal.com/e/S656XDVV</a><br><br>Hope this can help.<br><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 5:11 PM, Filippo Stenico <span dir="ltr"><<a href="mailto:filippo.stenico@gmail.com" target="_blank">filippo.stenico@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div class="im">On Thu, May 9, 2013 at 1:39 AM, Dave Chinner <span dir="ltr"><<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Wed, May 08, 2013 at 07:30:05PM +0200, Filippo Stenico wrote:<br>
> Hello,<br>
> -m option seems not to handle the excessive memory consumption I ran into.<br>
> I actually ran xfs_repair -vv -m1750 and  looking into kern.log it  seems<br>
> that xfs_repair invoked oom killer, but was killed itself ( !! )<br>
<br>
</div>That's exactly what the oom killer is supposed to do.<br>
<div><br></div></blockquote></div><div>Yeah, some sacrifice needed.<br> <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
> This is last try to reproduce segfault:<br>
> xfs_repair -vv -P -m1750<br>
<br>
</div>I know your filesystem is around 7TB in size, but how much RAM do<br>
you have? It's not unusual for xfs_repair to require many GB of<br>
memory to run succesfully on filesystems of this size...<br>
<br></blockquote></div><div>it is around 11 TB, 7.2 used.<br>I have 4 G ram, but xfs_repair -vv -m1 says I need 1558<br>root@ws1000:~# xfs_repair -vv -P -m 1 /dev/mapper/vg0-lv0 <br>Phase 1 - find and verify superblock...<br>

        - max_mem = 1024, icount = 29711040, imem = 116058, dblock = 2927886336, dmem = 1429632<br>
Required memory for repair is greater that the maximum specified<br>with the -m option. Please increase it to at least 1558.<br><br>so I figured 1750 megs would be enough<br><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Cheers,<br>
<br>
Dave.<br>
<span><font color="#888888">--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a><br>
</font></span><div><div><br>
_______________________________________________<br>
xfs mailing list<br>
<a href="mailto:xfs@oss.sgi.com" target="_blank">xfs@oss.sgi.com</a><br>
<a href="http://oss.sgi.com/mailman/listinfo/xfs" target="_blank">http://oss.sgi.com/mailman/listinfo/xfs</a><br>
</div></div></blockquote></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>F
</font></span></blockquote></div><br><br clear="all"><br>-- <br>F