xfs
[Top] [All Lists]

xfs_repair: phase6.c:2604: longform_dir2_rebuild_finish: Assertion `erro

To: "linux-xfs@xxxxxxxxxxx" <linux-xfs@xxxxxxxxxxx>
Subject: xfs_repair: phase6.c:2604: longform_dir2_rebuild_finish: Assertion `error == 0' failed.
From: Tru Huynh <tru@xxxxxxxxxx>
Date: Wed, 24 Sep 2003 00:36:59 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Hi,

Some more trouble on another partition :(

background:

nfs server on RedHat 7.3 based machine + 2.4.22-xfs-cvs20030916
[tru@fly ~]$ dmesg| grep XFS
SGI-XFS CVS-2003-09-15_05:00_UTC with no debug enabled
[tru@fly ~]$ xfs_repair -V
xfs_repair version 2.5.7


/var/log/messages:

xfs_force_shutdown(ide1(22,1),0x8) called from line 1071 of file xfs_trans.c.  
Return address = 0xc01c3bf3
Filesystem "ide1(22,1)": Corruption of in-memory data detected.  Shutting down 
filesystem: ide1(22,1)
Please umount the filesystem, and rectify the problem(s)

The failing filesystem is:
/dev/hdd1      xfs   120612604  58749712  61862892  49% /Bis/db

I umounted the filesystem, run xfs_repair on it:
....
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - clear lost+found (if it exists) ...
        - clearing existing "lost+found" inode
        - marking entry "lost+found" to be deleted
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
entry "/" in directory inode 82364787 points to self: clearing entry
no . entry for directory 82364787
no .. entry for directory 82364787
        - 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
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - ensuring existence of lost+found directory
        - traversing filesystem starting at / ...
rebuilding directory inode 128
        - traversal finished ...
        - traversing all unattached subtrees ...
rebuilding directory inode 82364787
xfs_repair: phase6.c:2604: longform_dir2_rebuild_finish: Assertion `error == 0' 
failed.
Abort

And the xfs_db:

[tru@fly ~]$ sudo xfs_db /dev/hdc1
xfs_db> inode 82364787
xfs_db> print
core.magic = 0x494e
core.mode = 040755
core.version = 1
core.format = 2 (extents) 
core.nlinkv1 = 2
core.uid = 2335
core.gid = 400
core.flushiter = 1
core.atime.sec = Tue Sep 23 23:26:59 2003
core.atime.nsec = 556198000
core.mtime.sec = Tue Sep 23 23:27:04 2003
core.mtime.nsec = 923491000
core.ctime.sec = Tue Sep 23 23:27:04 2003
core.ctime.nsec = 923491000 
core.size = 4096
core.nblocks = 3 
core.extsize = 0
core.nextents = 3
core.naextents = 0
core.forkoff = 0
core.aformat = 2 (extents)
core.dmevmask = 0
core.dmstate = 0
core.newrtbm = 0 
core.prealloc = 0
core.realtime = 0
core.gen = 122
next_unlinked = null


any idea ?

Thanks,

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:tru@xxxxxxxxxx | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  


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