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:
OpenPGP_signature.asc
Description: OpenPGP digital signature