Skip to contentSkip to conversation

xfs_repair: fatal error -- couldn't map inode 13199169, err = 117

DISCUSSION Panagiotis Papadakos 2 participants 2 messages Feb 1, 2023 – Feb 3, 2023

lore
Share & tools
lore
#0 lore raw

Dear all,

I am using XFS on an ICY-BOX 4-bay USB RAID enclosure which unfortunately has been corrupted (probably due to some power-down).

I have used xfs_repair -L, which after a huge number of messages about free inode references, bad hash tables, etc, fails with the following error:

fatal error -- couldn't map inode 13199169, err = 117

Is there anything I can do or should I consider my data lost?

xfs_repair version 6.0.0
kernel: 6.1.0-rc5

Best regards

Panagiotis, a novice XFS user

#1 lore raw
Quoted 4 lines · Panagiotis Papadakos

Dear all,

I am using XFS on an ICY-BOX 4-bay USB RAID enclosure which unfortunately has been corrupted (probably due to some power-down).

XFS filesystem shouldn't be corrupted due to a power failure at the first place, that's the main reason behind journaling filesystems.

Quoted 2 lines

I have used xfs_repair -L,

This is what I'd expect after a power failure, a dirty log which should be replayed *before* attempting to repair the filesystem, why did you discard the journal? Have you tried to mount/umount the filesystem before running xfs_repair -L?

Quoted 5 lines

which after a huge number of messages about
free inode references, bad hash tables, etc, fails with the following error:

fatal error -- couldn't map inode 13199169, err = 117

Always send the full output :)

Quoted 1 line

Is there anything I can do or should I consider my data lost?

The fact you discarded the journal in the first place, you've already lost some data, how much, depends on how much information was in the journal waiting to be replayed :(

Signature · 1 line
Carlos Maiolino