public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Xfs_repair segfaults.
@ 2013-05-06 12:06 Filippo Stenico
  2013-05-06 14:34 ` Eric Sandeen
  0 siblings, 1 reply; 39+ messages in thread
From: Filippo Stenico @ 2013-05-06 12:06 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 729 bytes --]

Hello,
I've had an issue on a raid5 volume (2 disks failing at same time, and
buggy NAS firmware trying hard to sync then stop for I/O error then retryes
to sync leading (!?) to lost raid and an xfs data corruption.

I've recreated raid, mounted the xfs filesystem, copied about 6TB of data
out of 8TB, the rest of data being unreachable with "structrure needs
cleaning" error.
Thus I tried to unmount/mount and still got same error, then dumped
metadata and tried various xfs_repair with different options but it always
reaches a same point where it always segfaults.

If someone is interested of investigating what's going on here and helping
me recover more data I would be happy to send in in more details....

Cheers

-- 
F

[-- Attachment #1.2: Type: text/html, Size: 807 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

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

^ permalink raw reply	[flat|nested] 39+ messages in thread
* xfs_repair segfaults
@ 2013-02-28 15:22 Ole Tange
  2013-02-28 18:48 ` Eric Sandeen
                   ` (2 more replies)
  0 siblings, 3 replies; 39+ messages in thread
From: Ole Tange @ 2013-02-28 15:22 UTC (permalink / raw)
  To: xfs

I forced a RAID online. I have done that before and xfs_repair
normally removes the last hour of data or so, but saves everything
else.

Today that did not work:

/usr/local/src/xfsprogs-3.1.10/repair# ./xfs_repair -n /dev/md5p1
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - scan filesystem freespace and inode maps...
flfirst 232 in agf 91 too large (max = 128)
Segmentation fault (core dumped)

Core put in: http://dna.ku.dk/~tange/tmp/xfs_repair.core.bz2

I tried using the git-version, too, but could not get that to compile.

# uname -a
Linux franklin 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.35-2~bpo60+1
x86_64 GNU/Linux

# ./xfs_repair -V
xfs_repair version 3.1.10

# cat /proc/cpuinfo |grep MH | wc
     64     256    1280

# cat /proc/partitions |grep md5
   9        5 125024550912 md5
 259        0 107521114112 md5p1
 259        1 17503434752 md5p2

# cat /proc/mdstat
Personalities : [raid0] [raid6] [raid5] [raid4]
md5 : active raid0 md1[0] md4[3] md3[2] md2[1]
      125024550912 blocks super 1.2 512k chunks

md1 : active raid6 sdd[1] sdi[9] sdq[13] sdau[7] sdt[10] sdg[5] sdf[4] sde[2]
      31256138752 blocks super 1.2 level 6, 128k chunk, algorithm 2
[10/8] [_UU_UUUUUU]
      bitmap: 2/2 pages [8KB], 1048576KB chunk

md4 : active raid6 sdo[13] sdu[9] sdad[8] sdh[7] sdc[6] sds[11]
sdap[3] sdao[2] sdk[1]
      31256138752 blocks super 1.2 level 6, 128k chunk, algorithm 2
[10/8] [_UUUU_UUUU]
      [>....................]  recovery =  2.1% (84781876/3907017344)
finish=2196.4min speed=29003K/sec
      bitmap: 2/2 pages [8KB], 1048576KB chunk

md2 : active raid6 sdac[0] sdal[9] sdak[8] sdaj[7] sdai[6] sdah[5]
sdag[4] sdaf[3] sdae[2] sdr[10]
      31256138752 blocks super 1.2 level 6, 128k chunk, algorithm 2
[10/10] [UUUUUUUUUU]
      bitmap: 0/2 pages [0KB], 1048576KB chunk

md3 : active raid6 sdaq[0] sdab[9] sdaa[8] sdb[7] sdy[6] sdx[5] sdw[4]
sdv[3] sdz[10] sdj[1]
      31256138752 blocks super 1.2 level 6, 128k chunk, algorithm 2
[10/10] [UUUUUUUUUU]
      bitmap: 0/2 pages [0KB], 1048576KB chunk

unused devices: <none>

# smartctl -a /dev/sdau|grep Model
Device Model:     Hitachi HDS724040ALE640

# hdparm -W /dev/sdau
/dev/sdau:
 write-caching =  0 (off)

# dmesg
[ 3745.914280] xfs_repair[25300]: segfault at 7f5d9282b000 ip
000000000042d068 sp 00007f5da3183dd0 error 4 in
xfs_repair[400000+7f000]


/Ole

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

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

end of thread, other threads:[~2013-05-10 11:01 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 12:06 Xfs_repair segfaults Filippo Stenico
2013-05-06 14:34 ` Eric Sandeen
2013-05-06 15:00   ` Filippo Stenico
     [not found]     ` <CADNx=Kv0bt3fNGW8Y24GziW9MOO-+b7fBGub4AYP70b5gAegxw@mail.gmail.com>
2013-05-07 13:20       ` Eric Sandeen
2013-05-07 13:36         ` Filippo Stenico
2013-05-07 18:20           ` Filippo Stenico
2013-05-08 17:30             ` Filippo Stenico
2013-05-08 17:42               ` Filippo Stenico
2013-05-08 23:39               ` Dave Chinner
2013-05-09 15:11                 ` Filippo Stenico
2013-05-09 17:22                   ` Filippo Stenico
2013-05-09 22:39                     ` Dave Chinner
     [not found]                       ` <CADNx=KuQjMNHUk6t0+hBZ5DN6s=RXqrPEjeoSxpBta47CJoDgQ@mail.gmail.com>
2013-05-10 11:00                         ` Filippo Stenico
2013-05-09 22:37                   ` Dave Chinner
  -- strict thread matches above, loose matches on Subject: below --
2013-02-28 15:22 xfs_repair segfaults Ole Tange
2013-02-28 18:48 ` Eric Sandeen
2013-03-01  9:37   ` Ole Tange
2013-03-01 16:46     ` Eric Sandeen
2013-03-04  9:00       ` Ole Tange
2013-03-04 15:20         ` Eric Sandeen
2013-03-08 10:21           ` Ole Tange
2013-03-08 20:32             ` Eric Sandeen
2013-03-12 10:41               ` Ole Tange
2013-03-12 14:40                 ` Eric Sandeen
2013-03-12 11:37             ` Ole Tange
2013-03-12 14:47               ` Eric Sandeen
2013-03-01 11:17 ` Dave Chinner
2013-03-01 12:24   ` Ole Tange
2013-03-01 20:53     ` Dave Chinner
2013-03-04  9:03       ` Ole Tange
2013-03-04 23:23         ` Dave Chinner
2013-03-08 10:09           ` Ole Tange
2013-03-01 22:14 ` Eric Sandeen
2013-03-01 22:31   ` Dave Chinner
2013-03-01 22:32     ` Eric Sandeen
2013-03-01 23:55       ` Eric Sandeen
2013-03-04 12:47       ` Ole Tange
2013-03-04 15:17         ` Eric Sandeen
2013-03-04 23:11           ` Dave Chinner

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