apfsck(8)

apfsck8

Check an apfs filesystem

Usage

apfsck [-cuvw] [-F tier2] device

Overview

Unless you are an APFS developer, you are probably not interested in this tool. It's only intended for testing, and it could potentially be dangerous if run on a maliciously crafted filesystem.

apfsck is an experimental tool that checks an APFS filesystem for corruption. When an issue is found it is reported, but no repair is attempted. For that purpose, you should use the official tools provided by Apple.

Options

-c

Report if the filesystem shows signs of a recent crash.

-u

Report the presence of unknown/unsupported features.

-v

Print the version number of apfsck and exit.

-w

Report unexplained inconsistencies that may or may not be corruption.

-F tier2

Specify the tier 2 device for a fusion drive.

Exit status

The exit status is 0 if there was nothing to report, 1 otherwise.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Reporting bugs

Please report bugs via email or, if preferred, file a github issue at https://github.com/eafer/apfsprogs/issues.

Author

Written by Ernesto A. Fernández <[email protected]>.

From apfsprogs 0.2.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.