Linux XFS filesystem development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "Bc. Martin Šafránek" <safranek@ntc.zcu.cz>
Cc: linux-xfs@vger.kernel.org
Subject: Re: Question: Is it possible to recover deleted files from a healthy XFS filesystem?
Date: Mon, 5 May 2025 21:30:32 -0700	[thread overview]
Message-ID: <aBmQaN5EAmwfVYaP@infradead.org> (raw)
In-Reply-To: <18512e-6818b200-1ab-59e10800@49678430>

A long time ago there was a simple xfs_irecover tool to scan blocks
for inode signatures.  We never managed to port it to use libxfs and
the code repository for it seems to have disappeared.

But in general, yes you can scan for inode clusters that have not been
reused, but it is very low-level and dangerous if you don't know what
you are doing.


  parent reply	other threads:[~2025-05-06  4:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <_ptC29dJ9nfKvxmWTJAEDaRH7gGc9qNbSz6zJBbEHl7ayyih4vrwmVznoGN1Mu_Luiru-PDMk_anzdCDzzUQlw==@protonmail.internalid>
2025-05-05 12:42 ` Question: Is it possible to recover deleted files from a healthy XFS filesystem? Bc. Martin Šafránek
2025-05-05 19:48   ` Carlos Maiolino
2025-05-05 20:39   ` Carlos E. R.
2025-05-06  4:30   ` Christoph Hellwig [this message]
2025-05-06  4:34     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aBmQaN5EAmwfVYaP@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=safranek@ntc.zcu.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox