apfsck

apfsck(8) System Manager's Manual apfsck(8)

NAME

   apfsck - check an APFS filesystem

SYNOPSIS

   apfsck [-cuvw] [-F tier2] device

DESCRIPTION

   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.

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 <ernesto.mnd.fernandez@gmail.com>.

SEE ALSO

   mkapfs(8)

apfsprogs 0.2.1 June 2025 apfsck(8)