public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_repair: fatal error -- couldn't map inode 13199169, err = 117
@ 2023-02-01 12:55 ` Panagiotis Papadakos
  2023-02-03 12:38   ` Carlos Maiolino
  0 siblings, 1 reply; 2+ messages in thread
From: Panagiotis Papadakos @ 2023-02-01 12:55 UTC (permalink / raw)
  To: linux-xfs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xfs_repair: fatal error -- couldn't map inode 13199169, err = 117
  2023-02-01 12:55 ` xfs_repair: fatal error -- couldn't map inode 13199169, err = 117 Panagiotis Papadakos
@ 2023-02-03 12:38   ` Carlos Maiolino
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Maiolino @ 2023-02-03 12:38 UTC (permalink / raw)
  To: Panagiotis Papadakos; +Cc: linux-xfs

On Wed, Feb 01, 2023 at 02:55:12PM +0200, Panagiotis Papadakos wrote:
> 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.

> 
> 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?

> 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 :)

> 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 :(

-- 
Carlos Maiolino

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-03 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EHyZekx1O-pqePkGfRDKAjIdo4T1Oc5ZgucxgVcs4zwc5d7uPmA6F9sPBM9gjh7xw8hXbfVfy_kg7NtvmvBU8A==@protonmail.internalid>
2023-02-01 12:55 ` xfs_repair: fatal error -- couldn't map inode 13199169, err = 117 Panagiotis Papadakos
2023-02-03 12:38   ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox