xfs
[Top] [All Lists]

Bug#638158: xfsprogs: Damaged filesystem causes xfs_repair to sometimes

To: submit@xxxxxxxxxxxxxxx
Subject: Bug#638158: xfsprogs: Damaged filesystem causes xfs_repair to sometimes (but not always) segfault
From: "Robert Jacobs" <debbtsb06@xxxxxxxx>
Date: Wed, 17 Aug 2011 01:22:05 -0700
Delivered-to: submit@xxxxxxxxxxxxxxx
Reply-to: "Robert Jacobs" <debbtsb06@xxxxxxxx>, 638158@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Wed, 17 Aug 2011 08:42:06 +0000
Resent-from: "Robert Jacobs" <debbtsb06@xxxxxxxx>
Resent-message-id: <handler.638158.B.131357038111613@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
Subject: xfsprogs: Damaged filesystem causes xfs_repair to sometimes (but not 
always) segfault
Package: xfsprogs
Version: 3.1.5
Severity: normal

*** Please type your report below this line ***

My filesystem was damaged by a series of whole-system crashes, but
after the last one it seems unrecoverably cranky: xfs_repair either
segfaults (what this bug is about) or gives me a "fatal error --
illegal state -1 in block map 20815240".

I've attached the outputs of xfs_check and three different runs of
xfs_repair (with backtrace, when available).

 - Robert Jacobs

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfsprogs depends on:
ii  libblkid1                     2.19.1-5   block device id library
ii  libc6                         2.13-16    Embedded GNU C Library: Shared lib
ii  libreadline5                  5.2-9      GNU readline and history libraries
ii  libuuid1                      2.19.1-5   Universally Unique ID library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
ii  acl                           2.2.51-3   Access control list utilities
ii  attr                          1:2.4.46-3 Utilities for manipulating filesys
pn  quota                         <none>     (no description available)
ii  xfsdump                       3.0.5      Administrative utilities for the X

-- no debconf information


(gdb) b dinode.c:549
Breakpoint 2 at 0x8053c8e: file dinode.c, line 549.
(gdb) R
Starting program: /home/klaws/buildd/xfsprogs-3.1.5/repair/xfs_repair -v -P 
/dev/sdc1
[Thread debugging using libthread_db enabled]
Phase 1 - find and verify superblock...
        - block cache size set to 61472 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 2 tail block 2
        - scan filesystem freespace and inode maps...
[New Thread 0xb7a98b70 (LWP 28860)]
[New Thread 0xb7297b70 (LWP 28861)]
[New Thread 0xb6a96b70 (LWP 28862)]
[New Thread 0xb6295b70 (LWP 28863)]
[New Thread 0xb5a94b70 (LWP 28864)]
[New Thread 0xb5293b70 (LWP 28865)]
[New Thread 0xb4a92b70 (LWP 28866)]
[New Thread 0xb4291b70 (LWP 28867)]
[New Thread 0xb3a90b70 (LWP 28868)]
[New Thread 0xb328fb70 (LWP 28869)]
[New Thread 0xb2a8eb70 (LWP 28870)]
[New Thread 0xb228db70 (LWP 28871)]
[New Thread 0xb1a8cb70 (LWP 28872)]
[New Thread 0xb128bb70 (LWP 28873)]
[New Thread 0xb0a8ab70 (LWP 28874)]
[New Thread 0xb0289b70 (LWP 28875)]
[New Thread 0xafa88b70 (LWP 28876)]
[New Thread 0xaf287b70 (LWP 28877)]
[New Thread 0xaea86b70 (LWP 28878)]
[New Thread 0xae285b70 (LWP 28879)]
[New Thread 0xada84b70 (LWP 28880)]
[New Thread 0xad283b70 (LWP 28881)]
[New Thread 0xaca82b70 (LWP 28882)]
[New Thread 0xac281b70 (LWP 28883)]
[New Thread 0xaba80b70 (LWP 28884)]
[New Thread 0xab27fb70 (LWP 28885)]
[New Thread 0xaaa7eb70 (LWP 28886)]
[New Thread 0xaa27db70 (LWP 28887)]
[New Thread 0xa9a7cb70 (LWP 28888)]
[New Thread 0xa927bb70 (LWP 28889)]
[New Thread 0xa8a7ab70 (LWP 28890)]
[New Thread 0xa8279b70 (LWP 28891)]
[Thread 0xafa88b70 (LWP 28876) exited]
[Thread 0xada84b70 (LWP 28880) exited]
[Thread 0xaba80b70 (LWP 28884) exited]
[Thread 0xac281b70 (LWP 28883) exited]
[Thread 0xa9a7cb70 (LWP 28888) exited]
[Thread 0xaea86b70 (LWP 28878) exited]
[Thread 0xaa27db70 (LWP 28887) exited]
[Thread 0xb128bb70 (LWP 28873) exited]
[Thread 0xaca82b70 (LWP 28882) exited]
[Thread 0xab27fb70 (LWP 28885) exited]
[Thread 0xaf287b70 (LWP 28877) exited]
[Thread 0xb328fb70 (LWP 28869) exited]
[Thread 0xb1a8cb70 (LWP 28872) exited]
[Thread 0xaaa7eb70 (LWP 28886) exited]
[Thread 0xb7297b70 (LWP 28861) exited]
[Thread 0xa8a7ab70 (LWP 28890) exited]
[Thread 0xad283b70 (LWP 28881) exited]
[Thread 0xb3a90b70 (LWP 28868) exited]
[Thread 0xb5a94b70 (LWP 28864) exited]
[Thread 0xb7a98b70 (LWP 28860) exited]
[Thread 0xb6a96b70 (LWP 28862) exited]
[Thread 0xb4291b70 (LWP 28867) exited]
[Thread 0xb0289b70 (LWP 28875) exited]
[Thread 0xb4a92b70 (LWP 28866) exited]
[Thread 0xae285b70 (LWP 28879) exited]
[Thread 0xb0a8ab70 (LWP 28874) exited]
[Thread 0xa927bb70 (LWP 28889) exited]
[Thread 0xb2a8eb70 (LWP 28870) exited]
[Thread 0xa8279b70 (LWP 28891) exited]
[Thread 0xb228db70 (LWP 28871) exited]
[Thread 0xb6295b70 (LWP 28863) exited]
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
[Thread 0xb5293b70 (LWP 28865) exited]
        - agno = 1
bad magic number 0x0 on inode 65462593
bad version number 0x0 on inode 65462593
bad magic number 0x694e on inode 65462594
bad version number 0x21 on inode 65462594
bad magic number 0x2000 on inode 65462595
bad version number 0x20 on inode 65462595
inode 65462595 has RT flag set but there is no RT deviceinode 65462595 not rt 
bitmapbad magic number 0x4e45 on inode 65462596
bad version number 0xd on inode 65462596
bad inode format in inode 65462596
bad magic number 0x46b0 on inode 65462598
bad version number 0x12 on inode 65462598
bad inode format in inode 65462598
bad magic number 0x4ce1 on inode 65462600
bad version number 0xa on inode 65462600
bad inode format in inode 65462600
bad magic number 0x4ce1 on inode 65462602
bad version number 0xc on inode 65462602
bad inode format in inode 65462602
bad magic number 0x4ce1 on inode 65462603
bad version number 0xd on inode 65462603
bad inode format in inode 65462603
bad magic number 0x4ce1 on inode 65462605
bad version number 0x9 on inode 65462605
bad inode format in inode 65462605
bad magic number 0x46b0 on inode 65462607
bad version number 0x7 on inode 65462607
bad inode format in inode 65462607
bad magic number 0x4ce1 on inode 65462609
bad version number 0x9 on inode 65462609
bad inode format in inode 65462609
bad magic number 0x4ce1 on inode 65462610
bad version number 0xa on inode 65462610
bad inode format in inode 65462610
bad magic number 0x694e on inode 65462612
bad version number 0x21 on inode 65462612
bad magic number 0x2000 on inode 65462613
bad version number 0x20 on inode 65462613
bad magic number 0x694e on inode 65462614
bad version number 0x21 on inode 65462614
bad magic number 0x694e on inode 65462616
bad version number 0x21 on inode 65462616
bad magic number 0x2000 on inode 65462618
bad version number 0x20 on inode 65462618
bad magic number 0x2000 on inode 65462620
bad version number 0x20 on inode 65462620
bad magic number 0x4ce1 on inode 65462621
bad version number 0x11 on inode 65462621
bad inode format in inode 65462621
bad magic number 0x2000 on inode 65462622
bad version number 0x20 on inode 65462622
bad magic number 0x694e on inode 65462623
bad version number 0x21 on inode 65462623
zero length entry in shortform dir 65462592, junking 255 entries
corrected entry count in directory 65462592, was 32, now 0
corrected directory 65462592 size, was 69, now 6
bad magic number 0x0 on inode 65462593, resetting magic number
bad version number 0x0 on inode 65462593, resetting version number
imap claims a free inode 65462593 is in use, correcting imap and clearing inode
cleared inode 65462593
bad magic number 0x694e on inode 65462594, resetting magic number
bad version number 0x21 on inode 65462594, resetting version number
cleared inode 65462594
bad magic number 0x2000 on inode 65462595, resetting magic number
bad version number 0x20 on inode 65462595, resetting version number
imap claims a free inode 65462595 is in use, correcting imap and clearing inode
cleared inode 65462595
bad magic number 0x4e45 on inode 65462596, resetting magic number
bad version number 0xd on inode 65462596, resetting version number
bad inode format in inode 65462596
cleared inode 65462596
inode 65462597 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462597
cleared inode 65462597
bad magic number 0x46b0 on inode 65462598, resetting magic number
bad version number 0x12 on inode 65462598, resetting version number
bad inode format in inode 65462598
cleared inode 65462598
data fork in regular inode 65462599 claims used block 6909
bad data fork in inode 65462599
cleared inode 65462599
bad magic number 0x4ce1 on inode 65462600, resetting magic number
bad version number 0xa on inode 65462600, resetting version number
bad inode format in inode 65462600
cleared inode 65462600
bad non-zero extent size 1706551223 for non-realtime/extsize inode 65462601, 
resetting to zero
bad attr fork offset 234 in inode 65462601, max=19
cleared inode 65462601
bad magic number 0x4ce1 on inode 65462602, resetting magic number
bad version number 0xc on inode 65462602, resetting version number
bad inode format in inode 65462602
cleared inode 65462602
bad magic number 0x4ce1 on inode 65462603, resetting magic number
bad version number 0xd on inode 65462603, resetting version number
bad inode format in inode 65462603
cleared inode 65462603
bad non-zero extent size 1722839748 for non-realtime/extsize inode 65462604, 
resetting to zero
directory inode 65462604 has bad size 2305843009750565232
cleared inode 65462604
bad magic number 0x4ce1 on inode 65462605, resetting magic number
bad version number 0x9 on inode 65462605, resetting version number
bad inode format in inode 65462605
cleared inode 65462605
bad non-zero extent size 1706534470 for non-realtime/extsize inode 65462606, 
resetting to zero
bad attr fork offset 234 in inode 65462606, max=19
cleared inode 65462606
bad magic number 0x46b0 on inode 65462607, resetting magic number
bad version number 0x7 on inode 65462607, resetting version number
bad inode format in inode 65462607
cleared inode 65462607
inode 65462608 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462608
cleared inode 65462608
bad magic number 0x4ce1 on inode 65462609, resetting magic number
bad version number 0x9 on inode 65462609, resetting version number
bad inode format in inode 65462609
cleared inode 65462609
bad magic number 0x4ce1 on inode 65462610, resetting magic number
bad version number 0xa on inode 65462610, resetting version number
bad inode format in inode 65462610
cleared inode 65462610
bad non-zero extent size 1706542192 for non-realtime/extsize inode 65462611, 
resetting to zero
bad attr fork offset 234 in inode 65462611, max=19
cleared inode 65462611
bad magic number 0x694e on inode 65462612, resetting magic number
bad version number 0x21 on inode 65462612, resetting version number
bad non-zero extent size 536870912 for non-realtime/extsize inode 65462612, 
resetting to zero
inode 65462612 - bad extent starting block number 1099511659384, offset 
4503599628419072
bad data fork in inode 65462612
cleared inode 65462612
bad magic number 0x2000 on inode 65462613, resetting magic number
bad version number 0x20 on inode 65462613, resetting version number
imap claims a free inode 65462613 is in use, correcting imap and clearing inode
cleared inode 65462613
bad magic number 0x694e on inode 65462614, resetting magic number
bad version number 0x21 on inode 65462614, resetting version number
zero length extent (off = 0, fsbno = 0) in ino 65462614
bad data fork in inode 65462614
cleared inode 65462614
data fork in regular inode 65462615 claims used block 34418
bad data fork in inode 65462615
cleared inode 65462615
bad magic number 0x694e on inode 65462616, resetting magic number
bad version number 0x21 on inode 65462616, resetting version number
inode 65462616 - bad extent starting block number 1099511663973, offset 1048576
bad data fork in inode 65462616
cleared inode 65462616
bad non-zero extent size 1706539959 for non-realtime/extsize inode 65462617, 
resetting to zero
bad attr fork offset 234 in inode 65462617, max=19
cleared inode 65462617
bad magic number 0x2000 on inode 65462618, resetting magic number
bad version number 0x20 on inode 65462618, resetting version number
imap claims a free inode 65462618 is in use, correcting imap and clearing inode
cleared inode 65462618
data fork in regular inode 65462619 claims used block 38086
bad data fork in inode 65462619
cleared inode 65462619
bad magic number 0x2000 on inode 65462620, resetting magic number
bad version number 0x20 on inode 65462620, resetting version number
imap claims a free inode 65462620 is in use, correcting imap and clearing inode
cleared inode 65462620
bad magic number 0x4ce1 on inode 65462621, resetting magic number
bad version number 0x11 on inode 65462621, resetting version number
bad inode format in inode 65462621
cleared inode 65462621
bad magic number 0x2000 on inode 65462622, resetting magic number
bad version number 0x20 on inode 65462622, resetting version number
imap claims a free inode 65462622 is in use, correcting imap and clearing inode
cleared inode 65462622
bad magic number 0x694e on inode 65462623, resetting magic number
bad version number 0x21 on inode 65462623, resetting version number
zero length extent (off = 0, fsbno = 0) in ino 65462623
bad data fork in inode 65462623
cleared inode 65462623
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5

Program received signal SIGSEGV, Segmentation fault.
btree_search (root=0x80cb370, key=2006577) at btree.c:301
301             return btree_do_search(root, key);
(gdb) bt
#0  btree_search (root=0x80cb370, key=2006577) at btree.c:301
#1  0x080503ad in btree_find (root=0x80cb370, key=2006577, 
actual_key=0xbffff04c) at btree.c:313
#2  0x08062707 in get_bmap_ext (agno=7, agbno=2006577, maxbno=2006588, 
blen=0xbffff14c) at incore.c:157
#3  0x080542b8 in process_bmbt_reclist_int (mp=0xbffff50c, rp=0x8ab5c64, 
numrecs=1, type=5, ino=182879898, tot=0xbffff270, blkmapp=0xbffff294, 
    first_key=0xbffff1e0, last_key=0xbffff1e8, check_dups=0, whichfork=0) at 
dinode.c:754
#4  0x080546c7 in process_bmbt_reclist (mp=0xbffff50c, rp=0x8ab5c64, numrecs=1, 
type=5, ino=182879898, tot=0xbffff270, blkmapp=0xbffff294, 
    first_key=0xbffff1e0, last_key=0xbffff1e8, whichfork=0) at dinode.c:816
#5  0x08055c8b in process_exinode (mp=0xbffff50c, agno=5, ino=15107738, 
dip=0x8ab5c00, type=5, dirty=0xbffff3b8, tot=0xbffff270, nex=0xbffff280, 
    blkmapp=0xbffff294, whichfork=0, check_dups=0) at dinode.c:1327
#6  0x08057ddf in process_inode_data_fork (mp=0xbffff50c, dino=0x8ab5c00, 
agno=5, ino=15107738, was_free=0, dirty=0xbffff3b8, used=0xbffff3b4, 
    verify_mode=0, uncertain=0, ino_discovery=1, check_dups=0, 
extra_attr_check=1, isa_dir=0xbffff3bc, parent=0xbffff3a8) at dinode.c:2042
#7  process_dinode_int (mp=0xbffff50c, dino=0x8ab5c00, agno=5, ino=15107738, 
was_free=0, dirty=0xbffff3b8, used=0xbffff3b4, verify_mode=0, 
    uncertain=0, ino_discovery=1, check_dups=0, extra_attr_check=1, 
isa_dir=0xbffff3bc, parent=0xbffff3a8) at dinode.c:2692
#8  0x08058d27 in process_dinode (mp=0xbffff50c, dino=0x8ab5c00, agno=5, 
ino=15107738, was_free=0, dirty=0xbffff3b8, used=0xbffff3b4, 
    ino_discovery=1, check_dups=0, extra_attr_check=1, isa_dir=0xbffff3bc, 
parent=0xbffff3a8) at dinode.c:2834
#9  0x08050e85 in process_inode_chunk (mp=0xbffff50c, agno=5, first_irec=0xa, 
ino_discovery=1, check_dups=0, extra_attr_check=1, bogus=0xbffff40c, 
    num_inos=<value optimized out>) at dino_chunks.c:777
#10 0x0805262f in process_aginodes (mp=0xbffff50c, pf_args=0x0, agno=5, 
ino_discovery=1, check_dups=0, extra_attr_check=1) at dino_chunks.c:1024
#11 0x08065f96 in process_ag_func (wq=0x815e608, agno=5, arg=0x0) at 
phase3.c:154
#12 0x080666f4 in process_ags (mp=0xbffff50c) at phase3.c:193
#13 phase3 (mp=0xbffff50c) at phase3.c:232
#14 0x0804a01f in main (argc=4, argv=0xbffff7f4) at xfs_repair.c:724
# xfs_repair -P -v /dev/sdc1
Phase 1 - find and verify superblock...
        - block cache size set to 61472 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 2 tail block 2
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
bad magic number 0x0 on inode 65462593
bad version number 0x0 on inode 65462593
bad magic number 0x694e on inode 65462594
bad version number 0x21 on inode 65462594
bad magic number 0x2000 on inode 65462595
bad version number 0x20 on inode 65462595
inode 65462595 has RT flag set but there is no RT deviceinode 65462595 not rt 
bitmapbad magic number 0x4e45 on inode 65462596
bad version number 0xd on inode 65462596
bad inode format in inode 65462596
bad magic number 0x46b0 on inode 65462598
bad version number 0x12 on inode 65462598
bad inode format in inode 65462598
bad magic number 0x4ce1 on inode 65462600
bad version number 0xa on inode 65462600
bad inode format in inode 65462600
bad magic number 0x4ce1 on inode 65462602
bad version number 0xc on inode 65462602
bad inode format in inode 65462602
bad magic number 0x4ce1 on inode 65462603
bad version number 0xd on inode 65462603
bad inode format in inode 65462603
bad magic number 0x4ce1 on inode 65462605
bad version number 0x9 on inode 65462605
bad inode format in inode 65462605
bad magic number 0x46b0 on inode 65462607
bad version number 0x7 on inode 65462607
bad inode format in inode 65462607
bad magic number 0x4ce1 on inode 65462609
bad version number 0x9 on inode 65462609
bad inode format in inode 65462609
bad magic number 0x4ce1 on inode 65462610
bad version number 0xa on inode 65462610
bad inode format in inode 65462610
bad magic number 0x694e on inode 65462612
bad version number 0x21 on inode 65462612
bad magic number 0x2000 on inode 65462613
bad version number 0x20 on inode 65462613
bad magic number 0x694e on inode 65462614
bad version number 0x21 on inode 65462614
bad magic number 0x694e on inode 65462616
bad version number 0x21 on inode 65462616
bad magic number 0x2000 on inode 65462618
bad version number 0x20 on inode 65462618
bad magic number 0x2000 on inode 65462620
bad version number 0x20 on inode 65462620
bad magic number 0x4ce1 on inode 65462621
bad version number 0x11 on inode 65462621
bad inode format in inode 65462621
bad magic number 0x2000 on inode 65462622
bad version number 0x20 on inode 65462622
bad magic number 0x694e on inode 65462623
bad version number 0x21 on inode 65462623
zero length entry in shortform dir 65462592, junking 255 entries
corrected entry count in directory 65462592, was 32, now 0
corrected directory 65462592 size, was 69, now 6
bad magic number 0x0 on inode 65462593, resetting magic number
bad version number 0x0 on inode 65462593, resetting version number
imap claims a free inode 65462593 is in use, correcting imap and clearing inode
cleared inode 65462593
bad magic number 0x694e on inode 65462594, resetting magic number
bad version number 0x21 on inode 65462594, resetting version number
cleared inode 65462594
bad magic number 0x2000 on inode 65462595, resetting magic number
bad version number 0x20 on inode 65462595, resetting version number
imap claims a free inode 65462595 is in use, correcting imap and clearing inode
cleared inode 65462595
bad magic number 0x4e45 on inode 65462596, resetting magic number
bad version number 0xd on inode 65462596, resetting version number
bad inode format in inode 65462596
cleared inode 65462596
inode 65462597 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462597
cleared inode 65462597
bad magic number 0x46b0 on inode 65462598, resetting magic number
bad version number 0x12 on inode 65462598, resetting version number
bad inode format in inode 65462598
cleared inode 65462598
data fork in regular inode 65462599 claims used block 6909
bad data fork in inode 65462599
cleared inode 65462599
bad magic number 0x4ce1 on inode 65462600, resetting magic number
bad version number 0xa on inode 65462600, resetting version number
bad inode format in inode 65462600
cleared inode 65462600
bad non-zero extent size 1706551223 for non-realtime/extsize inode 65462601, 
resetting to zero
bad attr fork offset 234 in inode 65462601, max=19
cleared inode 65462601
bad magic number 0x4ce1 on inode 65462602, resetting magic number
bad version number 0xc on inode 65462602, resetting version number
bad inode format in inode 65462602
cleared inode 65462602
bad magic number 0x4ce1 on inode 65462603, resetting magic number
bad version number 0xd on inode 65462603, resetting version number
bad inode format in inode 65462603
cleared inode 65462603
bad non-zero extent size 1722839748 for non-realtime/extsize inode 65462604, 
resetting to zero
directory inode 65462604 has bad size 2305843009750565232
cleared inode 65462604
bad magic number 0x4ce1 on inode 65462605, resetting magic number
bad version number 0x9 on inode 65462605, resetting version number
bad inode format in inode 65462605
cleared inode 65462605
bad non-zero extent size 1706534470 for non-realtime/extsize inode 65462606, 
resetting to zero
bad attr fork offset 234 in inode 65462606, max=19
cleared inode 65462606
bad magic number 0x46b0 on inode 65462607, resetting magic number
bad version number 0x7 on inode 65462607, resetting version number
bad inode format in inode 65462607
cleared inode 65462607
inode 65462608 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462608
cleared inode 65462608
bad magic number 0x4ce1 on inode 65462609, resetting magic number
bad version number 0x9 on inode 65462609, resetting version number
bad inode format in inode 65462609
cleared inode 65462609
bad magic number 0x4ce1 on inode 65462610, resetting magic number
bad version number 0xa on inode 65462610, resetting version number
bad inode format in inode 65462610
cleared inode 65462610
bad non-zero extent size 1706542192 for non-realtime/extsize inode 65462611, 
resetting to zero
bad attr fork offset 234 in inode 65462611, max=19
cleared inode 65462611
bad magic number 0x694e on inode 65462612, resetting magic number
bad version number 0x21 on inode 65462612, resetting version number
bad non-zero extent size 536870912 for non-realtime/extsize inode 65462612, 
resetting to zero
inode 65462612 - bad extent starting block number 1099511659384, offset 
4503599628419072
bad data fork in inode 65462612
cleared inode 65462612
bad magic number 0x2000 on inode 65462613, resetting magic number
bad version number 0x20 on inode 65462613, resetting version number
imap claims a free inode 65462613 is in use, correcting imap and clearing inode
cleared inode 65462613
bad magic number 0x694e on inode 65462614, resetting magic number
bad version number 0x21 on inode 65462614, resetting version number
zero length extent (off = 0, fsbno = 0) in ino 65462614
bad data fork in inode 65462614
cleared inode 65462614
data fork in regular inode 65462615 claims used block 34418
bad data fork in inode 65462615
cleared inode 65462615
bad magic number 0x694e on inode 65462616, resetting magic number
bad version number 0x21 on inode 65462616, resetting version number
inode 65462616 - bad extent starting block number 1099511663973, offset 1048576
bad data fork in inode 65462616
cleared inode 65462616
bad non-zero extent size 1706539959 for non-realtime/extsize inode 65462617, 
resetting to zero
bad attr fork offset 234 in inode 65462617, max=19
cleared inode 65462617
bad magic number 0x2000 on inode 65462618, resetting magic number
bad version number 0x20 on inode 65462618, resetting version number
imap claims a free inode 65462618 is in use, correcting imap and clearing inode
cleared inode 65462618
data fork in regular inode 65462619 claims used block 38086
bad data fork in inode 65462619
cleared inode 65462619
bad magic number 0x2000 on inode 65462620, resetting magic number
bad version number 0x20 on inode 65462620, resetting version number
imap claims a free inode 65462620 is in use, correcting imap and clearing inode
cleared inode 65462620
bad magic number 0x4ce1 on inode 65462621, resetting magic number
bad version number 0x11 on inode 65462621, resetting version number
bad inode format in inode 65462621
cleared inode 65462621
bad magic number 0x2000 on inode 65462622, resetting magic number
bad version number 0x20 on inode 65462622, resetting version number
imap claims a free inode 65462622 is in use, correcting imap and clearing inode
cleared inode 65462622
bad magic number 0x694e on inode 65462623, resetting magic number
bad version number 0x21 on inode 65462623, resetting version number
zero length extent (off = 0, fsbno = 0) in ino 65462623
bad data fork in inode 65462623
cleared inode 65462623
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
Segmentation fault (core dumped)
# gdb /sbin/xfs_repair core 
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/xfs_repair...(no debugging symbols found)...done.
[New Thread 29246]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /lib/i386-linux-gnu/i686/cmov/librt.so.1...Reading symbols 
from /usr/lib/debug/lib/i386-linux-gnu/i686/cmov/librt-2.13.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/librt.so.1
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0...Reading 
symbols from 
/usr/lib/debug/lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libc.so.6...Reading symbols 
from /usr/lib/debug/lib/i386-linux-gnu/i686/cmov/libc-2.13.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `xfs_repair -P -v /dev/sdc1'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804ed60 in ?? ()
(gdb) bt
#0  0x0804ed60 in ?? ()
#1  0x0804ee9d in ?? ()
#2  0x08064823 in ?? ()
#3  0x08053dc3 in ?? ()
#4  0x080541ff in ?? ()
#5  0x0805433d in ?? ()
#6  0x0805650f in ?? ()
#7  0x0805908d in ?? ()
#8  0x0805999e in ?? ()
#9  0x080505ab in ?? ()
#10 0x08050f8a in ?? ()
#11 0x080681d3 in ?? ()
#12 0x08068967 in ?? ()
#13 0x0807f7c6 in ?? ()
#14 0xb75c5e46 in __libc_start_main (main=0x807f510, argc=4, ubp_av=0xbfdbafb4, 
init=0x80b8e90, fini=0x80b8e80, rtld_fini=0xb775e2f0, 
    stack_end=0xbfdbafac) at libc-start.c:228
#15 0x08049c71 in ?? ()
# xfs_repair -n -v -P /dev/sdc1
Phase 1 - find and verify superblock...
        - block cache size set to 61472 entries
Phase 2 - using internal log
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan (but don't clear) agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
bad magic number 0x0 on inode 65462593
bad version number 0x0 on inode 65462593
bad magic number 0x694e on inode 65462594
bad version number 0x21 on inode 65462594
bad magic number 0x2000 on inode 65462595
bad version number 0x20 on inode 65462595
inode 65462595 has RT flag set but there is no RT deviceinode 65462595 not rt 
bitmapbad magic number 0x4e45 on inode 65462596
bad version number 0xd on inode 65462596
bad inode format in inode 65462596
bad magic number 0x46b0 on inode 65462598
bad version number 0x12 on inode 65462598
bad inode format in inode 65462598
bad magic number 0x4ce1 on inode 65462600
bad version number 0xa on inode 65462600
bad inode format in inode 65462600
bad magic number 0x4ce1 on inode 65462602
bad version number 0xc on inode 65462602
bad inode format in inode 65462602
bad magic number 0x4ce1 on inode 65462603
bad version number 0xd on inode 65462603
bad inode format in inode 65462603
bad magic number 0x4ce1 on inode 65462605
bad version number 0x9 on inode 65462605
bad inode format in inode 65462605
bad magic number 0x46b0 on inode 65462607
bad version number 0x7 on inode 65462607
bad inode format in inode 65462607
bad magic number 0x4ce1 on inode 65462609
bad version number 0x9 on inode 65462609
bad inode format in inode 65462609
bad magic number 0x4ce1 on inode 65462610
bad version number 0xa on inode 65462610
bad inode format in inode 65462610
bad magic number 0x694e on inode 65462612
bad version number 0x21 on inode 65462612
bad magic number 0x2000 on inode 65462613
bad version number 0x20 on inode 65462613
bad magic number 0x694e on inode 65462614
bad version number 0x21 on inode 65462614
bad magic number 0x694e on inode 65462616
bad version number 0x21 on inode 65462616
bad magic number 0x2000 on inode 65462618
bad version number 0x20 on inode 65462618
bad magic number 0x2000 on inode 65462620
bad version number 0x20 on inode 65462620
bad magic number 0x4ce1 on inode 65462621
bad version number 0x11 on inode 65462621
bad inode format in inode 65462621
bad magic number 0x2000 on inode 65462622
bad version number 0x20 on inode 65462622
bad magic number 0x694e on inode 65462623
bad version number 0x21 on inode 65462623
zero length entry in shortform dir 65462592, would junk 255 entries
would have corrected entry count in directory 65462592 from 32 to 0
would have corrected directory 65462592 size from 69 to 6
bad magic number 0x0 on inode 65462593, would reset magic number
bad version number 0x0 on inode 65462593, would reset version number
imap claims a free inode 65462593 is in use, would correct imap and clear inode
would have cleared inode 65462593
bad magic number 0x694e on inode 65462594, would reset magic number
bad version number 0x21 on inode 65462594, would reset version number
version 2 inode 65462594 claims > 65535 links, would update superblock version 
number
would clear obsolete nlink field in version 2 inode 65462594, currently 1
would have cleared inode 65462594
bad magic number 0x2000 on inode 65462595, would reset magic number
bad version number 0x20 on inode 65462595, would reset version number
imap claims a free inode 65462595 is in use, would correct imap and clear inode
would have cleared inode 65462595
bad magic number 0x4e45 on inode 65462596, would reset magic number
bad version number 0xd on inode 65462596, would reset version number
bad inode format in inode 65462596
would have cleared inode 65462596
inode 65462597 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462597
would have cleared inode 65462597
bad magic number 0x46b0 on inode 65462598, would reset magic number
bad version number 0x12 on inode 65462598, would reset version number
bad inode format in inode 65462598
would have cleared inode 65462598
data fork in regular inode 65462599 claims used block 6909
bad data fork in inode 65462599
would have cleared inode 65462599
bad magic number 0x4ce1 on inode 65462600, would reset magic number
bad version number 0xa on inode 65462600, would reset version number
bad inode format in inode 65462600
would have cleared inode 65462600
bad non-zero extent size 1706551223 for non-realtime/extsize inode 65462601, 
would reset to zero
bad attr fork offset 234 in inode 65462601, max=19
would have cleared inode 65462601
bad magic number 0x4ce1 on inode 65462602, would reset magic number
bad version number 0xc on inode 65462602, would reset version number
bad inode format in inode 65462602
would have cleared inode 65462602
bad magic number 0x4ce1 on inode 65462603, would reset magic number
bad version number 0xd on inode 65462603, would reset version number
bad inode format in inode 65462603
would have cleared inode 65462603
bad non-zero extent size 1722839748 for non-realtime/extsize inode 65462604, 
would reset to zero
directory inode 65462604 has bad size 2305843009750565232
would have cleared inode 65462604
bad magic number 0x4ce1 on inode 65462605, would reset magic number
bad version number 0x9 on inode 65462605, would reset version number
bad inode format in inode 65462605
would have cleared inode 65462605
bad non-zero extent size 1706534470 for non-realtime/extsize inode 65462606, 
would reset to zero
bad attr fork offset 234 in inode 65462606, max=19
would have cleared inode 65462606
bad magic number 0x46b0 on inode 65462607, would reset magic number
bad version number 0x7 on inode 65462607, would reset version number
bad inode format in inode 65462607
would have cleared inode 65462607
inode 65462608 - bad extent starting block number 1099511630080, offset 
4503599636807680
bad data fork in inode 65462608
would have cleared inode 65462608
bad magic number 0x4ce1 on inode 65462609, would reset magic number
bad version number 0x9 on inode 65462609, would reset version number
bad inode format in inode 65462609
would have cleared inode 65462609
bad magic number 0x4ce1 on inode 65462610, would reset magic number
bad version number 0xa on inode 65462610, would reset version number
bad inode format in inode 65462610
would have cleared inode 65462610
bad non-zero extent size 1706542192 for non-realtime/extsize inode 65462611, 
would reset to zero
bad attr fork offset 234 in inode 65462611, max=19
would have cleared inode 65462611
bad magic number 0x694e on inode 65462612, would reset magic number
bad version number 0x21 on inode 65462612, would reset version number
bad non-zero extent size 536870912 for non-realtime/extsize inode 65462612, 
would reset to zero
inode 65462612 - bad extent starting block number 1099511659384, offset 
4503599628419072
bad data fork in inode 65462612
would have cleared inode 65462612
bad magic number 0x2000 on inode 65462613, would reset magic number
bad version number 0x20 on inode 65462613, would reset version number
imap claims a free inode 65462613 is in use, would correct imap and clear inode
would have cleared inode 65462613
bad magic number 0x694e on inode 65462614, would reset magic number
bad version number 0x21 on inode 65462614, would reset version number
zero length extent (off = 0, fsbno = 0) in ino 65462614
bad data fork in inode 65462614
would have cleared inode 65462614
data fork in regular inode 65462615 claims used block 34418
bad data fork in inode 65462615
would have cleared inode 65462615
bad magic number 0x694e on inode 65462616, would reset magic number
bad version number 0x21 on inode 65462616, would reset version number
inode 65462616 - bad extent starting block number 1099511663973, offset 1048576
bad data fork in inode 65462616
would have cleared inode 65462616
bad non-zero extent size 1706539959 for non-realtime/extsize inode 65462617, 
would reset to zero
bad attr fork offset 234 in inode 65462617, max=19
would have cleared inode 65462617
bad magic number 0x2000 on inode 65462618, would reset magic number
bad version number 0x20 on inode 65462618, would reset version number
imap claims a free inode 65462618 is in use, would correct imap and clear inode
would have cleared inode 65462618
data fork in regular inode 65462619 claims used block 38086
bad data fork in inode 65462619
would have cleared inode 65462619
bad magic number 0x2000 on inode 65462620, would reset magic number
bad version number 0x20 on inode 65462620, would reset version number
imap claims a free inode 65462620 is in use, would correct imap and clear inode
would have cleared inode 65462620
bad magic number 0x4ce1 on inode 65462621, would reset magic number
bad version number 0x11 on inode 65462621, would reset version number
bad inode format in inode 65462621
would have cleared inode 65462621
bad magic number 0x2000 on inode 65462622, would reset magic number
bad version number 0x20 on inode 65462622, would reset version number
imap claims a free inode 65462622 is in use, would correct imap and clear inode
would have cleared inode 65462622
bad magic number 0x694e on inode 65462623, would reset magic number
bad version number 0x21 on inode 65462623, would reset version number
zero length extent (off = 0, fsbno = 0) in ino 65462623
bad data fork in inode 65462623
would have cleared inode 65462623
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5

fatal error -- illegal state -1 in block map 20815240

Attachment: xfs_check.txt.gz
Description: GNU Zip compressed data

<Prev in Thread] Current Thread [Next in Thread>