Help with XFS

Thomas Førde thomas.forde at bergenofs.no
Thu Jun 17 08:18:26 CDT 2010


during the other day our XFS filesystem had a unexpected shutdown 
according to logs.

un 16 15:48:42 strmng04 kernel: 0x0: 00 00 c0 46 01 00 c0 46 77 02 c0 46 
fe 7d 00 40
Jun 16 15:48:42 strmng04 kernel: Filesystem "sdf1": XFS internal error 
xfs_da_do_buf(2) at line 2276 of file 
/home/buildcentos/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_smp/xfs_da_bt$
Jun 16 15:48:42 strmng04 kernel:
Jun 16 15:48:42 strmng04 kernel: Call 
Trace:<ffffffffa0211762>{:xfs:xfs_corruption_error+236} 
<ffffffffa023c7cc>{:xfs:kmem_zone_alloc+66}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa0202526>{:xfs:xfs_da_do_buf+1335} 
<ffffffffa0202653>{:xfs:xfs_da_read_buf+21}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa0202653>{:xfs:xfs_da_read_buf+21} 
<ffffffffa0207210>{:xfs:xfs_dir2_block_lookup_int+71}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa0207210>{:xfs:xfs_dir2_block_lookup_int+71}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa0207359>{:xfs:xfs_dir2_block_lookup+19} 
<ffffffffa0206457>{:xfs:xfs_dir2_lookup+200}
Jun 16 15:48:42 strmng04 kernel:        <ffffffff801347b0>{__wake_up+54} 
<ffffffff801ef3a1>{__up_read+16}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa0229d22>{:xfs:xfs_dir_lookup_int+53} 
<ffffffffa022e47d>{:xfs:xfs_lookup+74}
Jun 16 15:48:42 strmng04 kernel: <ffffffffa02371e0>{:xfs:linvfs_lookup+48} 
<ffffffff80189fc5>{__lookup_hash+263}
Jun 16 15:48:42 strmng04 kernel: <ffffffff8018a04f>{lookup_one_len+94} 
<ffffffffa03bd2bc>{:nfsd:nfsd_lookup+936}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa03c55fa>{:nfsd:nfsd3_proc_lookup+198} 
<ffffffffa03ba7dc>{:nfsd:nfsd_dispatch+219}
Jun 16 15:48:42 strmng04 kernel: 
<ffffffffa03474ac>{:sunrpc:svc_process+1227} 
<ffffffff80134709>{default_wake_function+0}
Jun 16 15:48:42 strmng04 kernel:        <ffffffffa03ba31b>{:nfsd:nfsd+0} 
<ffffffffa03ba553>{:nfsd:nfsd+568}
Jun 16 15:48:42 strmng04 kernel: <ffffffff80133470>{schedule_tail+55} 
<ffffffff80110fd3>{child_rip+8}
Jun 16 15:48:42 strmng04 kernel:        <ffffffffa03ba31b>{:nfsd:nfsd+0} 
<ffffffffa03ba31b>{:nfsd:nfsd+0}
Jun 16 15:48:42 strmng04 kernel:        <ffffffff80110fcb>{child_rip+0}

many of those. and at the end

Jun 16 15:50:13 strmng04 kernel: xfs_force_shutdown(sdf1,0x8) called from 
line 4092 of file 
/home/buildcentos/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_smp/xfs_bmap.c. 
Return address
 = 0xffffffffa01f7fb4
Jun 16 15:50:13 strmng04 kernel: Filesystem "sdf1": Corruption of 
in-memory data detected.  Shutting down filesystem: sdf1
Jun 16 15:50:13 strmng04 kernel: Please umount the filesystem, and rectify 
the problem(s)


i have run xfs_check without any verbos information given
i have run xfs_repair without any information errors fixed.

when i try to mount the XFS filesystem of 10TB, my 7.8 TB of data is now 
gone.

before:         /dev/sdf1            10527858560 8801101708 1726756852 84% 
/D5
after:          /dev/sdf1            10527858560       528 10527858032 1% 
/D5

help, where did my data go, and how can i get it back.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100617/64e31dd5/attachment.htm>


More information about the xfs mailing list