fsck.btrfs - do nothing, successfully
| Use Case | Command | Description |
|---|---|---|
| ๐ข Run the standard fsck placeholder | fsck.btrfs [options] <device> |
Non-interactive mode exits successfully; interactive mode prints a message about btrfs-check. |
| ๐ฉบ Check Btrfs filesystem consistency | btrfs check <device> |
Default action checks filesystem consistency without repair. |
| ๐ง Repair a damaged Btrfs filesystem | btrfs check --repair <device> |
โ ๏ธ Use with extreme care. Repairs the filesystem. |
fsck.btrfs [-aApy] [<device>...]
๐ง fsck.btrfs is a type of utility that should exist for any filesystem and is called during system setup when the corresponding /etc/fstab entries contain non-zero value for fs_passno, see fstab(5) for more.
โ Traditional filesystems need to run their respective fsck utility in case the filesystem was not unmounted cleanly and the log needs to be replayed before mount. This is not needed for BTRFS. You should set fs_passno to 0.
๐ฉบ If you wish to check the consistency of a BTRFS filesystem or repair a damaged filesystem, see btrfs-check(8). By default filesystem consistency is checked, the repair mode is enabled via the --repair option (use with care!).
โป๏ธ The options are all the same and detect if fsck.btrfs is executed in non-interactive mode and exits with success, otherwise prints a message about btrfs check.
0 โ โ
No error8 โ โ Operational error, eg. device does not exist/etc/fstab
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-15 18:31 @216.73.217.64
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)