xfs
[Top] [All Lists]

Re: xfs_repair segfaut in stage 6

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: xfs_repair segfaut in stage 6
From: Bartosz Cisek <bartosz.cisek@xxxxxxxxxxxxxx>
Date: Wed, 14 Sep 2011 11:38:44 +0200
Cc: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20110912161215.GA17798@xxxxxxxxxxxxx>
References: <4E69D1B9.8070201@xxxxxxxxxxxxxx> <201109091401.31422@xxxxxx> <4E6A2B73.50503@xxxxxxxxxxxxxx> <20110912161215.GA17798@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Iceowl/1.0b1 Icedove/3.0.11
W dniu 12.09.2011 18:12, Christoph Hellwig pisze:
> I've repaired the image fine using xfs_repair from the Debian testing
> xfsprogs 3.1.5+nmu1 package.  It found two invalid blocks in a
> directory, which look like the result from the hardware error you saw.
> 
> You should be able to just rebuild the current xfsprogs (from
> testing/unstable or git) on Lenny and get the same result.

I've build xfs_repair from git on lenny and got segfault before my first
email to this list (please refer to first email in this thread) :)

What else I can do to find what differ our two cases?


hd-slave5 ~/devel/xfsprogs/repair # LC_ALL=en_EN ./xfs_repair -v
/dev/cciss/c0d5p1
Phase 1 - find and verify superblock...
        - block cache size set to 3446312 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
xfs_repair: read failed: Input/output error
can't read block 0 for directory inode 146453
no . entry for directory 146453
no .. entry for directory 146453
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 2
        - agno = 3
        - agno = 1
xfs_repair: read failed: Input/output error
can't read block 0 for directory inode 146453
no . entry for directory 146453
no .. entry for directory 146453
Phase 5 - rebuild AG headers and trees...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - agno = 0
entry "subdir49" in dir ino 437 doesn't have a .. entry, will set it in
ino 146453.
xfs_repair: read failed: Input/output error
Naruszenie ochrony pamięci (segfault)
hd-slave5 ~/devel/xfsprogs/repair # LC_ALL=en_EN ./xfs_repair -V
xfs_repair version 3.1.5

-- 
Bartosz Cisek
Admin

email: bartosz.cisek@xxxxxxxxxxxxxx
tel: +48 519 300 122

Nasza Klasa Sp. z o.o.,
ul. Gen. J. Bema 2, 50-265 Wrocław

Sąd Rejonowy dla Wrocławia - Fabrycznej we Wrocławiu,
VI Wydział Gospodarczy Krajowego Rejestru Sądowego,
nr KRS:0000289629, NIP:898-21-22-104 REGON:020586020,
Kapitał zakładowy: 67 850,00 PLN

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