How Do You Read Microsoft's Undocumented ReFS on Linux? linux-refs Uses a Clean-Room Approach and Claude
ReFS, or Resilient File System, is a Microsoft file system introduced with Windows Server 2012. It was designed for data integrity, corruption resilience, and large storage environments. It also powers Dev Drive in Windows 11, giving it a role on client systems as well as Windows Server.
Microsoft has not published the on-disk ReFS data format. No official documentation explains how the bytes are laid out. A reader has to be built from scratch.
The linux-refs project says it took a clean-room approach. The team studying the format is separated from the team writing the implementation, which works only from documented findings. The project says its code was written without referring directly to the original binaries, a technique commonly used to reduce intellectual property risk.
The development also used Anthropic's Claude AI. The repository lists one contributor, who built user-space tools, a FUSE driver, and a kernel driver, along with forensics and disk image support.
The project tests every file on every test volume against the output recorded by Windows, byte for byte. The kernel driver was tested on Linux 6.18, 7.0, and 7.3 under KASAN and UBSAN, and every parser was fuzz-tested. The project's stated principle is to avoid guessing. It returns an error when a file cannot be read reliably and is designed to reject corrupted volumes without crashing.
From Windows Server 2012 to Dev Drive
linux-refs offers three implementations. They share the same core and read any given volume in the same way.
The user-space tools read disks and disk images directly without root access. refs-info reports volume information, refs-ls lists files, refs-cat displays contents, and refs-extract extracts files. Forensic tools introduced in the 1.5 series include refs-recover to recover deleted files, refs-log to build a timeline from the redo log, and refs-usn to read the change journal.
The FUSE driver, refs-fuse, mounts ReFS volumes with ordinary user privileges. FUSE, or Filesystem in Userspace, lets users mount a file system without modifying the kernel or requiring administrator privileges.
Three linux-refs implementations
| User-space tools | FUSE | Kernel driver | |
|---|---|---|---|
| Root privileges | Not required | Not required | Required |
| Mounting | — | ○ | ○ |
| Disk image support | ○ | ○ | — |
| Recovery and forensics | ○ | — | — |
| EFS decryption | Supported with a key | Supported with a key | — |
※— indicates a feature that the implementation does not offer.
The project also provides a kernel driver outside the mainline Linux kernel. It is distributed as a DKMS module and mounts volumes with mount -t refs.
Supported versions include ReFS 1.1 and 1.2 from Windows Server 2012 and 2012 R2, and 3.1 through 3.14, spanning Windows Server 2016, 2019, 2022, and 2025, Windows 10 versions 1703 and 1709, and Windows 11 Dev Drive. It reads physical media and RAW, VHD (fixed, dynamic, and differencing), VHDX, and qcow2 images directly. It supports GPT and MBR as well as 512-byte and 4,096-byte sectors.
It supports sparse files, hard links, symbolic links, junctions, deduplicated files, and block-cloned files. It verifies data checksums in integrity streams. Alternate data streams are readable as extended attributes or as files in the hidden .refs-streams folder.
The sister project linux-storage-spaces reads Windows Storage Spaces from Linux. It handles virtual disks spanning physical drives with simple layouts, two- or three-way mirrors, and single or dual parity. It also used Claude and the same clean-room approach.
Read support is complete, with writes on the roadmap
The 1.5 series is the long-term support branch for the complete read-only implementation. Version 1.5.1, released November 28, is a follow-up to version 1.5.0 from the previous day and incorporates findings from four independent code reviews.
The changes focus on security and robustness. The kernel driver fixes an out-of-bounds stack write in path handling, and disk image processing confines parent images to the image directory. The user-space tool refs-extract confines writes to the selected output directory and escapes control characters in text output. The project verified that 960 outputs from 240 test volumes exactly matched version 1.5.0.
The 2.x series plans to add write support in stages. Version 2.0 is expected to offer basic opt-in writes for ReFS 3.4, 3.7, and 3.14 through the kernel and FUSE drivers. Version 2.1 plans to handle reading and writing volumes that were not shut down cleanly by replaying the redo log. Later releases are expected to add formatting, repair, earlier ReFS versions, and writes to Storage Spaces.
BitLocker-encrypted volumes must currently be unlocked first, for example with dislocker. The tools and FUSE driver can decrypt files protected by EFS, the Encrypting File System available from Windows Server 2025, if supplied with the corresponding RSA key in PFX format. The kernel driver does not support decryption.
linux-refs is released under GPL version 2. It is independent of Microsoft, and its repository contains no Microsoft code, binaries, decompiled code, or disk images made with Windows. The project states it comes without a warranty. Other options for ReFS on Linux include the open-source OpenReFS and Paragon Software's closed-source driver.
With AI assistance, one developer made an undocumented file system readable on Linux. The next challenge is writing to it, a substantially harder engineering problem.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
