http://oss.sgi.com/bugzilla/show_bug.cgi?id=798
Summary: xfs_repair failed on arm nas (debian)
Product: Linux XFS
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: xfsprogs
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: stsapline@xxxxxxxxxxxx
I noticed some errors on my drive lately and i decided to run a xfs_repair.
On first run with the debian4 package of xfs_repair it failed with segmentation
fault
I downloaded the last version of xfs_progs and i'm still unable to repair the
disk, failure on phase3
./xfs_repair -V
xfs_repair version 2.10.1
./xfs_repair /dev/sda6
Phase 1 - find and verify superblock...
couldn't verify primary superblock - not enough secondary superblocks with
matching geometry !!!
attempting to find secondary superblock...
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
........
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................found
candidate secondary superblock...
verified secondary superblock...
writing modified primary superblock
sb root inode value 18446744073709551615 (NULLFSINO) inconsistent with
calculated value 128
resetting superblock root inode pointer to 128
sb realtime bitmap inode 18446744073709551615 (NULLFSINO) inconsistent with
calculated value 129
resetting superblock realtime bitmap ino pointer to 129
sb realtime summary inode 18446744073709551615 (NULLFSINO) inconsistent with
calculated value 130
resetting superblock realtime summary ino pointer to 130
Phase 2 - using internal log
- zero log...
XFS: Log inconsistent (didn't find previous header)
XFS: failed to find log head
zero_log: cannot find log head/tail (xlog_find_tail=5), zeroing it anyway
- scan filesystem freespace and inode maps...
bad magic # 0x60000 for agf 0
bad version # 536870912 for agf 0
bad length 0 for agf 0, should be 1048576
reset bad agf for ag 0
bad agbno 0 for btbno root, agno 0
bad agbno 0 for btbcnt root, agno 0
bad magic # 0x98f91a40 for agi 99
bad version # -1728505280 for agi 99
bad sequence # -1 for agi 99
bad length # -1 for agi 99, should be 1048576
reset bad agi for ag 99
bad magic # 0x41425442 in inobt block 99/1
expected level 62667 got 0 in inobt block 99/1
inode btree block claimed (state 7), agno 99, bno 1, suspect 0
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
bad magic # 0xed986abe in inobt block 99/1048507
bad magic # 0x20202020 in inobt block 99/69
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
xfs_repair: phase3.c:122: process_agi_unlinked: Assertion `no_modify || (((0) ==
1) ? (agip->agi_seqno) : ((sizeof((agip->agi_seqno)) == 8) ?
((typeof((agip->agi_seqno)))((__builtin_constant_p((__u64)((__u64)((agip->agi_seqno))))
? ({ __u64 __x = (((__u64)((agip->agi_seqno)))); ((__u64)( (__u64)(((__u64)(__x)
& (__u64)0x00000000000000ffULL) << 56) | (__u64)(((__u64)(__x) &
(__u64)0x000000000000ff00ULL) << 40) | (__u64)(((__u64)(__x) &
(__u64)0x0000000000ff0000ULL) << 24) | (__u64)(((__u64)(__x) &
(__u64)0x00000000ff000000ULL) << 8) | (__u64)(((__u64)(__x) &
(__u64)0x000000ff00000000ULL) >> 8) | (__u64)(((__u64)(__x) &
(__u64)0x0000ff0000000000ULL) >> 24) | (__u64)(((__u64)(__x) &
(__u64)0x00ff000000000000ULL) >> 40) | (__u64)(((__u64)(__x) &
(__u64)0xff00000000000000ULL) >> 56) )); }) :
__fswab64(((__u64)((agip->agi_seqno))))))) : ((sizeof((agip->agi_seqno)) == 4) ?
((typeof((agip->agi_seqno)))((__builtin_constant_p((__u32)((__u32)((agip->agi_seqno))))
? ({ __u32 __x = (((__u32)((agip->agi_seqno)))); ((__u32)( (((__u32)(__x) &
(__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) |
(((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) &
(__u32)0xff000000UL) >> 24) )); }) : __fswab32(((__u32)((agip->agi_seqno)))))))
: ((sizeof((agip->agi_seqno)) == 2) ?
((typeof((agip->agi_seqno)))((__builtin_constant_p((__u16)((__u16)((agip->agi_seqno))))
? ({ __u16 __x = (((__u16)((agip->agi_seqno)))); ((__u16)( (((__u16)(__x) &
(__u16)0x00ffU) << 8) | (((__u16)(__x) & (__u16)0xff00U) >> 8) )); }) :
__fswab16(((__u16)((agip->agi_seqno))))))) : ((agip->agi_seqno))))) ) == agno'
failed.
Aborted
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|