Show Table of Contents
12.2.3. Btrfs
The
btrfsck tool is used to check and repair btrfs filesystems. This tool is still in early development and may not detect or repair all types of filesystem corruption.
By default,
btrfsck does not make changes to the filesystem; that is, it runs check-only mode by default. If repairs are desired the --repair option must be specified.
The following three basic phases are performed by
btrfsck while running:
- Extent checks.
- Filesystem root checks.
- Root reference count checks.
The
btrfs-image(8) utility can be used to create a metadata image prior to repair for diagnostic or testing purposes.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.