xfs
[Top] [All Lists]

Bug#713994: XFS repair

To: 713994@xxxxxxxxxxxxxxx
Subject: Bug#713994: XFS repair
From: Wes Deviers <yhetti@xxxxxxxxx>
Date: Mon, 24 Jun 2013 12:43:55 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vVd+kZGfcySKp8fAt4Hx1XuqnS+6F0VDqdqNTYhutNI=; b=sInQ4uvRwGaaUVugOXZoo/AC1Avl1vbWTqBRYPIiBfB2UIrca/aQiUd+sJsQdocgW6 dQ0xyAv9p744DxNQdYdETFIoYZElJzgi74nyTpCaMGJEOVJVdbQ2osH5KR50BAzO+YaZ nrH7w7AHYMrzNToQCkHtUkRD0RwUESW5WLZoxk5aTELDWBF0weVQGPAXIKQnTGRBATVy XC29kJmVBRIBKwxM9n3BbswnNuS8YOdUseboiEHWSOH1HNj1Mo4zVgPnKsku+757/gJP XrIPS9Ag8a9oKxHSlMTL/Sidfu9PwpxbLtxJWaIwzRLtioyqOUVdn3ygYUNo45OlCrrr o4TQ==
Reply-to: Wes Deviers <yhetti@xxxxxxxxx>, 713994@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Mon, 24 Jun 2013 16:45:08 +0000
Resent-from: Wes Deviers <yhetti@xxxxxxxxx>
Resent-message-id: <handler.713994.B713994.137209224218430@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
Update:

xfs_repair has fixed the problem:

root@ashdbtrk-s008-02:/home/wdeviers# xfs_check /dev/vg0/mysql
agf_freeblks 327676, counted 655100 in ag 4
agf_longest 327676, counted 655100 in ag 4
block 12/1 expected type unknown got btbno
block 12/4 expected type unknown got free2
...
block 12/45268 expected type unknown got free2
block 12/45269 expected type unknown got free2
block 12/45270 expected type unknown got free2
block 12/45271 expected type unknown got free2
block 12/45272 expected type unknown got free2
block 12/45273 expected type unknown got free2
block 12/45274 expected type unknown got free2
block 12/45275 expected type unknown got free2

root@ashdbtrk-s008-02:/home/wdeviers# xfs_repair /dev/vg0/mysql
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
primary/secondary superblock 4 conflict - AG superblock geometry info conflicts with filesystem geometry
bad sequence # 12 for agf 4
bad length 327680 for agf 4, should be 655104
bad sequence # 12 for agi 4
bad length # 327680 for agi 4, should be 655104
reset bad sb for ag 4
reset bad agf for ag 4
reset bad agi for ag 4
sb_fdblocks 28836636, counted 28509212
        - 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
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
        - agno = 16
        - agno = 17
        - agno = 18
        - agno = 19
        - agno = 20
        - agno = 21
        - agno = 22
        - agno = 23
        - agno = 24
        - agno = 25
        - agno = 26
        - agno = 27
        - agno = 28
        - agno = 29
        - agno = 30
        - agno = 31
        - agno = 32
        - agno = 33
        - agno = 34
        - agno = 35
        - agno = 36
        - agno = 37
        - agno = 38
        - agno = 39
        - agno = 40
        - agno = 41
        - agno = 42
        - agno = 43
        - agno = 44
        - agno = 45
        - agno = 46
        - agno = 47
        - agno = 48
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
        - agno = 16
        - agno = 17
        - agno = 18
        - agno = 19
        - agno = 20
        - agno = 21
        - agno = 22
        - agno = 23
        - agno = 24
        - agno = 25
        - agno = 26
        - agno = 27
        - agno = 28
        - agno = 29
        - agno = 30
        - agno = 31
        - agno = 32
        - agno = 33
        - agno = 34
        - agno = 35
        - agno = 36
        - agno = 37
        - agno = 38
        - agno = 39
        - agno = 40
        - agno = 41
        - agno = 42
        - agno = 43
        - agno = 44
        - agno = 45
        - agno = 46
        - agno = 47
        - agno = 48
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done


Thanks!

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