Linux XFS filesystem development
 help / color / mirror / Atom feed
From: "Carlos E. R." <robin.listas@telefonica.net>
To: Linux-XFS mailing list <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 22:39:55 +0200	[thread overview]
Message-ID: <2b2b20be-6b9c-4378-a3f2-471785cab9e4@telefonica.net> (raw)
In-Reply-To: <18512e-6818b200-1ab-59e10800@49678430>


[-- Attachment #1.1: Type: text/plain, Size: 959 bytes --]

On 2025-05-05 14:42, Bc. Martin Šafránek wrote:
> Hello everyone,
> 
> I have a question regarding XFS and file recovery.
> 
> Is there any method — official or unofficial — to recover deleted files from a healthy, uncorrupted XFS filesystem? I understand that XFS does not support undeletion, but I'm wondering if any remnants of metadata might still allow partial or full recovery, perhaps under specific conditions.
> 
> If anyone has insights, tools, or suggestions, I’d be very grateful.
> 
> Thank you for your time.

There are tools that search the disk blocks trying to find blocks that 
belonged to a file that was deleted. The first step would be to set that 
filesystem to read only, and hopefully, create an image.

I have never tried on an XFS filesystem, so I can't recommend any tool. 
Tools need to know the type of file you want to find.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 15.6 x86_64 at Telcontar)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

  parent reply	other threads:[~2025-05-05 20:48 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. [this message]
2025-05-06  4:30   ` Christoph Hellwig
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=2b2b20be-6b9c-4378-a3f2-471785cab9e4@telefonica.net \
    --to=robin.listas@telefonica.net \
    --cc=linux-xfs@vger.kernel.org \
    /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