SELECT 1
Entry 035Sat 2026.11.14
One launch a day. Picked, run, explained.

Sat 2026.11.14

Reflota: file recovery for damaged disks

Today's pick: Reflota

Reflota is a product that brings back deleted and unreadable files from broken disks, USB drives and memory cards.

It is today’s pick because one program replaces several tools that people use to recover files.

exit 0Ran itIt works. Deleted files came back identical to the originals, and so did a photo from a quick-formatted image.
Found on
Show HN
Built with
Python

The problem

When a disk fails or you delete a file by mistake, the data often stays on the disk. In many cases, the file system only deletes or loses its record of where each file is. TestDisk and PhotoRec are widely used free tools for bringing such files back. TestDisk’s official documentation says it recovers lost partitions and deleted files. PhotoRec’s documentation says it ignores the file system and finds files in the data itself.

If a disk is failing, it is safer to copy it to an image file first and work on the copy. People use a separate tool such as GNU ddrescue to make this copy. So you have to pick a different program for each situation.

How it solves it

Reflota was posted on Hacker News as a Show HN on November 13, 2026. The maker, Christian, says the goal was a free alternative to commercial recovery software.

Reflota reads the disk directly and rebuilds the file list. On NTFS, it reads the whole table that lists the files. On FAT and exFAT, it follows the folders and the clusterThe unit a file system uses to divide disk space. A large file is stored in several clusters, and FAT records the order of those clusters in a table. chains. It also shows deleted files in their original folders and tells you how intact each one is. If the file system is broken, Reflota uses file carvingRecovering files without the file system’s records, by finding the start bytes and structure of each file format in the disk’s data. to find photos, documents and archives by patterns in their content. It also finds lost partitions. When it copies a failing disk to an image file, it reads the easy areas first and retries the failed areas later.

What is different

The first difference is the number of programs. People use TestDisk for partitions and deleted files, PhotoRec for finding files by content, and a program like ddrescue for copying a disk. Reflota does these jobs in one window. According to the README, the window shows a tree of disks, partitions and folders. You select the files to recover and choose a folder to save them to. But the README also says the maker checked some recently added features only on test images, not on real disks. They include FAT16 support, rebuilding fragmented JPEGs and copying a disk in phases.

The second difference is where it runs. According to its official documentation, PhotoRec runs on several operating systems. Reflota’s maker ships one executable for Windows. According to the README, it needs no installation and no Python. The code that lists disks uses the Windows API. On Linux, I ran the source with Python and recovered files from disk image files.

How it was built

  • The repository has 1 commit, from November 13, 2026, with the message "Reflota 0.1.0".
  • The program is one Python file of 6,812 lines and uses only the standard library. The window is built with tkinter.
  • The tests folder has 13 test scripts. It includes a tkinter stub for testing the window without a display, and code that builds test FAT images.
  • The README is written in Spanish, with an English summary at the end.

Running it

I cloned the repository on Linux and ran Reflota’s test scripts and its CLI. Instead of a disk, I used a 64 MB FAT32 image file that I built myself.

  1. Test scripts. 12 of the 13 scripts passed in full. The one that checks the window layout was skipped because tkinter was missing. The test that rebuilds 24 fragmented JPEGs took 190 seconds. Reflota restored 20 of them exactly. The test reports this count and does not treat the other 4 as failures.
  2. Deleted files. I built a disk image with a separate library, pyfatfs, and put 4 files in it. Then I deleted 2 of them the way Windows does, by marking their directory entries as deleted and clearing their cluster chains. --ls --borrados showed the deleted vacaciones.jpg and borrar_me.txt with their original names. I copied out the 2 deleted files and informe.bin with --copiar. All 3 had the same md5A 128-bit hash computed from a file’s content. Comparing the md5 of two files checks whether their content is the same. as the originals. The image had the same md5 before and after the run.
  3. After a format. I quick-formatted the image so its root directory was empty, and called the Reflota function that does file carving. The CLI has no option for this. It found 1 JPEG in the 64 MB image in 0.64 seconds, with the same length and md5 as the original.
  4. A fragmented file. I deleted a file that was stored in 2 pieces and then recovered it. Its md5 did not match the original. Reflota marked the file PARCIAL, meaning partial, and wrote in its log that it had assumed the file was stored in one piece.
Terminal, reflota.py --copiar /d.bin --borrados
Listo: {'ok': 0, 'parcial': 1, 'saltado': 0, 'fallo': 0, 'bytes': 150000, 'omitidos': 0}
$ cat recuperacion_log.csv
2026-11-13 20:53:51,PARCIAL,/d.bin,se asumio archivo contiguo; borrado: 33% de los clusters sin reutilizar

Verdict

It works. Deleted files came back identical to the originals, and so did a photo from a quick-formatted image. But a deleted file that was stored in pieces came back with different content. Reflota marked it as a partial recovery. It is worth trying if you need to recover files from a USB drive or memory card.

What to take away

  • If your tool cannot verify a result, mark it as unverified and record the reason. Reflota marked the fragmented file PARCIAL and wrote in its log that it had assumed the file was stored in one piece.
  • If your tool is meant to be read-only, test that by comparing the input’s hash before and after a run. Today the image’s md5 stayed the same after Reflota listed and recovered files.

Getting started

  1. GitHub Releases 에서 Reflota.exe 를 내려받아 실행
  2. 복구할 디스크나 파일을 체크하고 다른 디스크의 폴더를 골라 RECUPERAR
You need
Windows. Reading a disk directly needs administrator rights. Running from source needs Python 3.8 or later.
Cost
Free under the MIT license.

It is in beta. The maker recommends trying it on a copy first if the disk matters.

Steps select 1 ran.

Progress

  1. Day 3Some commits
  2. Day 7Quiet
  3. Day 15Quiet
  4. Day 30Upcoming
  5. Day 90Upcoming
  6. Day 180Upcoming
  7. Day 365Upcoming

Latest check Day 15, Sat 2026.11.28

Commits since launch
1
Stars
14 → 29
Last commit
2026.11.13
HN points
27 → 30

No commits in this period.

Full history →