xfs_repair after reboot refuse repair my filesystem
Eric Sandeen
sandeen at sandeen.net
Sat May 16 13:17:09 CDT 2009
Vitaly V. Ch wrote:
> HI,
>
> on my PC:
>
> Fri 15 May 00:02:37|root at cvv:xfs# xfs_repair -V
> xfs_repair version 3.0.1
> Fri 15 May 00:03:26|root at cvv:xfs# xfs_mdrestore xfs.dump xfs.metaimg
> Fri 15 May 00:03:37|root at cvv:xfs# xfs_repair -v xfs.metaimg
> Phase 1 - find and verify superblock...
> - block cache size set to 133976 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
> 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:2115: process_dir2: Assertion `(ino !=
> mp->m_sb.sb_rootino && ino != *parent) || (ino == mp->m_sb.sb_rootino
> && (ino == *p
> arent || need_root_dotdot == 1))' failed.
> Aborted
Is that the first repair of the image? When I repair it on my box it
finds many more errors, and does not trip the assert. I tested 3.0.1 in
fedora rawhide on x86 this time ...
-Eric
More information about the xfs
mailing list