centos man page for btrfsck

Query: btrfsck

OS: centos

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
btrfsck - check and repair of a Btrfs filesystem
SYNOPSIS
btrfsck [options] <device>
DESCRIPTION
btrfsck is used to check and optionally repair of a Btrfs filesystem. Now, it can only be run on an unmounted FS. Considering it is not well-tested in real-life situations yet. if you have a broken Btrfs filesystem, btrfsck may not repair but cause aditional damages. <device> is the device file where the filesystem is stored. Options -s,--super <superblock> specify which superblock copy that you want to use. --repair try to repair the filesystem. --init-csum-tree create a new CRC tree. --init-extent-tree create a new extent tree.
EXIT CODE
btrfsck will return 0 exit code if no error happened. Other exit code means some problems happened. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
mkfs.btrfs(8), btrfs(8) BTRFSCK(8)
Related Man Pages
btrfs-debug-tree(8) - centos
btrfs-image(8) - centos
btrfsctl(8) - suse
fsck_msdos(8) - netbsd
mkfs.btrfs(8) - suse
Similar Topics in the Unix Linux Community
Tar Command
CentOS7 restoring file capabilities
Shopt -s histappend
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq