public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* "This is a bug."
@ 2015-09-10  9:18 Tapani Tarvainen
  2015-09-10 10:31 ` Tapani Tarvainen
  2015-09-10 11:48 ` Emmanuel Florac
  0 siblings, 2 replies; 21+ messages in thread
From: Tapani Tarvainen @ 2015-09-10  9:18 UTC (permalink / raw)
  To: xfs

Hi,

After a rather spectacular crash we've got an xfs filesystem
in unrepairable state: mount fails with "Structure needs cleaning",
xfs_repair without options refuses to work (asks to mount first),
and xfs_repair -L stopped with

corrupt dinode 2151195170, extent total = 1, nblocks = 0.  This is a bug.
Please capture the filesystem metadata with xfs_metadump and
report it to xfs@oss.sgi.com.

I tried to dump the metadata and it failed, too:

# xfs_metadump /dev/sdata1/data1 /data2/tmp/data1_metadump
xfs_metadump: cannot init perag data (117)
*** glibc detected *** xfs_db: double free or corruption (!prev): 0x0000000003361000 ***
======= Backtrace: ========= 
[...]
Aborted


At this point I'm going to give up trying to recover the data
(recreate filesystem and restore from backup), but if you want to
analyze it to find the bug, I have enough spare disk space to keep a
copy for a while (took lvm snapshot of it before recovery attempt,
could dd it to another location).

The machine is running Debian Wheezy (7.8),
kernel 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux,
xfsprogs version 3.1.7+b1.
And the filesystem is 6TB in size.

If you want to take a look, please let me know what I can do to help.

Thank you,

-- 
Tapani Tarvainen

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-09-11  6:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10  9:18 "This is a bug." Tapani Tarvainen
2015-09-10 10:31 ` Tapani Tarvainen
2015-09-10 11:53   ` Emmanuel Florac
2015-09-10 12:05     ` Tapani Tarvainen
2015-09-10 11:48 ` Emmanuel Florac
2015-09-10 11:55   ` Tapani Tarvainen
2015-09-10 12:30     ` Tapani Tarvainen
2015-09-10 12:36       ` Brian Foster
2015-09-10 12:54         ` Tapani Tarvainen
2015-09-10 13:01           ` Brian Foster
2015-09-10 13:05             ` Tapani Tarvainen
2015-09-10 14:51               ` Brian Foster
2015-09-10 15:05                 ` Brian Foster
2015-09-10 17:52                   ` Tapani Tarvainen
2015-09-10 18:01                     ` Tapani Tarvainen
2015-09-10 17:31                 ` Tapani Tarvainen
2015-09-10 17:55                   ` Brian Foster
2015-09-10 18:03                     ` Tapani Tarvainen
2015-09-10 18:33                       ` Brian Foster
2015-09-11  6:19                         ` Tapani Tarvainen
2015-09-11  0:12                       ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox