xfs_repair refuse to repair my corrupted xfs partition
sandeen at sandeen.net
Mon Jan 26 12:30:59 CST 2009
Vitaly V. Ch wrote:
> Hi All!
> #xfs_repai /dev/loop0
> Phase 1 - find and verify superblock...
> Phase 2 - using internal log
> - zero log...
> - 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
> entry "" in shortform directory 128 references invalid inode 0
> zero length entry in shortform dir 128, junking 3 entries
> corrected entry count in directory 128, was 3, now 0
> corrected directory 128 size, was 69, now 6
> bogus .. inode number (0) in directory inode 128, clearing inode number
> xfs_repair: dir2.c:2133: process_dir2: Assertion `(ino !=
> mp->m_sb.sb_rootino && ino != *parent) || (ino == mp->m_sb.sb_rootino
> && (ino == *parent || need_root_dotdot == 1))' failed.
> What I can do for repair my data? There was no hardware failure
you haven't said what version of xfs_repair you're using; if you are not
using the latest (2.10.2) please try that first.
More information about the xfs