Hi Dave / Stan,<br><br>Thanks for taking the time to reply.  Unfortunately none of the suggestions were able to recover the data - I&#39;m going to rebuild the array now, but as RAID6 for the extra level of security.<br><br>

Thanks again for all your help!<br><br clear="all"><br>Cheers,<br><br>Drew<br>
<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 8:31 AM, Dave Chinner <span dir="ltr">&lt;<a href="mailto:david@fromorbit.com">david@fromorbit.com</a>&gt;</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 Sun, Apr 15, 2012 at 11:15:09PM +1000, Drew Wareham wrote:<br>
&gt; Hello Everyone,<br>
&gt;<br>
&gt; Hopefully this is the correct kind of information to send to this list.<br>
&gt;<br>
&gt; I have an issue with a large XFS volume (17TB) that mounts, but is not<br>
&gt; readable.  I can view the folder structure on the volume but I can&#39;t access<br>
&gt; any of the actual data.  A disk failed in a RAID5 array and while it has<br>
&gt; rebuilt now, it looks like it&#39;s caused serious data integrity issues.<br>
&gt;<br>
&gt; Here is the CentOS release / Kernel version:<br>
&gt;     [root@svr608 ~]# uname -a<br>
&gt;     Linux svr608 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:16:51 EST 2012<br>
&gt; x86_64 x86_64 x86_64 GNU/Linux<br>
&gt;     [root@svr608 ~]# cat /etc/redhat-release<br>
&gt;     CentOS release 5.8 (Final)<br>
&gt;     [root@svr608 ~]# cat /tmp/yum.list | grep xfs | grep installed<br>
&gt;     kmod-xfs.x86_64                            0.4-2<br>
&gt; installed<br>
&gt;     xfsdump.x86_64                             2.2.46-1.el5.centos<br>
&gt; installed<br>
&gt;     xfsprogs.x86_64                            2.9.4-1.el5.centos<br>
<br>
</div>Try upgrading xfsprogs to the latest version first. this is rather<br>
old, and the latest versions handle IO errors better...<br>
<div class="im"><br>
&gt; But even though the volume mounts, when trying to access data it just gives<br>
&gt; a &quot;Structure needs cleaning&quot; error.<br>
&gt;<br>
&gt; Running xfs_check and xfs_repair yield the following:<br>
&gt;     [root@svr608 ~]# xfs_check /dev/cciss/c0d2<br>
&gt;     bad agf magic # 0x58418706 in ag 0<br>
<br>
</div>Oh, that&#39;s bad. 2 bytes of the magic number are corrupt...<br>
<div class="im"><br>
&gt;     bad agf version # 0x30002 in ag 0<br>
<br>
</div>And the version is completely toast.<br>
<div class="im"><br>
&gt;     /usr/sbin/xfs_check: line 28:  5259 Segmentation fault<br>
&gt; xfs_db$DBOPTS -i -p xfs_check -c &quot;check$OPTS&quot; $1<br>
&gt;     [root@svr608 ~]# xfs_repair -n /dev/cciss/c0d2<br>
&gt;     Phase 1 - find and verify superblock...<br>
&gt;     superblock read failed, offset 0, size 524288, ag 0, rval -1<br>
&gt;<br>
&gt;     fatal error -- Input/output error<br>
&gt;<br>
&gt; And they leave the following in dmesg:<br>
&gt;     xfs_db[5259]: segfault at 000000000555a134 rip 00000000004070c3 rsp<br>
&gt; 00007fff986bae50 error 4<br>
&gt;     cciss 0000:04:00.0: cciss: c ffff810037e00000 has CHECK CONDITION sense<br>
&gt; key = 0x3<br>
<br>
</div>This is clearly a raid array error....<br>
<br>
....<br>
<div class="im"><br>
&gt; ................<br>
&gt;     Filesystem cciss/c0d2: XFS internal error xfs_da_do_buf(2) at line 2112<br>
&gt; of file fs/xfs/xfs_da_btree.c.  Caller 0xffffffff8835d9b9<br>
&gt;<br>
&gt; hpacucli says the array is fine, but it looks like it&#39;s corrupted to me.<br>
<br>
</div>It&#39;s badly corrupted. Try a newer version of check/repair, otherwise<br>
you&#39;re in a disaster recovery situation...<br>
<br>
Cheers,<br>
<br>
Dave.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com">david@fromorbit.com</a><br>
</font></span></blockquote></div><br>