<div dir="ltr">Luckily the files that I want to recover have metadata in them that will help me rebuild their names. So I'm okay with blowing away the directory inodes. I guess I wish there was a flag that I can pass to say that xfs_repair can junk those for me instead of having to do it manually each time.<div>
<br></div><div><br><div class="gmail_extra">So, the compressed metadump file is 2.4G. Any suggestions on where I should put it, and who I send it to?<br><br><div class="gmail_quote">On Tue, Oct 8, 2013 at 1:23 PM, 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 class="im">On Mon, Oct 07, 2013 at 01:09:09PM -0700, Viet Nguyen wrote:<br>
> Thanks. That seemed to fix that bug.<br>
><br>
> Now I'm getting a lot of this:<br>
> xfs_da_do_buf(2): XFS_CORRUPTION_ERROR<br>
<br>
</div>Right, that's blocks that are being detected as corrupt when they<br>
are read. You can ignore that for now.<br>
<div class="im"><br>
> fatal error -- can't read block 8388608 for directory inode 8628218<br>
<br>
</div>That's a corrupted block list of some kind - it should junk the<br>
inode.<br>
<br>
> Then xfs_repair exits.<br>
<br>
I'm not sure why that happens. Is it exiting cleanly or crashing?<br>
Can you take a metadump of the filesystem and provide it for someone<br>
to debug the problems it causes repair?<br>
<div class="im"><br>
> What I've been doing is what I saw in the FAQ where I would use xfs_db and<br>
> write core.mode 0 for these inodes. But there are just so many of them. And<br>
> is that even the right thing to do?<br>
<br>
</div>That marks the inode as "free" which effectively junks it and then<br>
xfs_repair will free all it's extents next time it is run. Basically<br>
you are removing the files from the filesystem and making them<br>
unrecoverable.<br>
<div class="im"><br>
Cheers,<br>
<br>
Dave.<br>
--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com">david@fromorbit.com</a><br>
<br>
</div>_______________________________________________<br>
xfs mailing list<br>
<a href="mailto:xfs@oss.sgi.com">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>
</blockquote></div><br></div></div></div>