The btrfs-progs package provides all the userspace programs needed to create,
check, modify and correct any inconsistencies in the btrfs filesystem.
btrfs This document describes topics related to BTRFS that are not specific to the tools. btrfs The btrfs utility is a toolbox for managing btrfs filesystems. There are command groups to work with subvolumes, devices, for whole filesystem or other specific... btrfs-balance The primary purpose of the balance feature is to spread block groups across all devices so they match constraints defined by the respective profiles. See... btrfs-check The filesystem checker is used to verify structural integrity of a filesystem and attempt to repair it if requested. The filesystem must be unmounted. By... btrfs-convert btrfs-convert is used to convert existing ext2/3/4 filesystem image to a btrfs filesystem in-place. The original filesystem image is accessible subvolume named... btrfs-device The btrfs device command group is used to manage devices of the btrfs filesystems. btrfs-filesystem btrfs filesystem is used to perform several whole filesystem level tasks, including all the regular filesystem operations like resizing, space stats, label... btrfs-find-root btrfs-find-root is used to find the satisfied root, you can filter by root tree’s objectid, generation, level. btrfs-image btrfs-image is used to create an image of a btrfs filesystem. All data will be zeroed, but metadata and the like is preserved. Mainly used for debugging... btrfs-inspect-internal This command group provides an interface to query internal information. The functionality ranges from a simple UI to an ioctl or a more complex query that... btrfs-map-logical btrfs-map-logical can be used to find out what the physical offsets are on the mirrors, the result is dumped into stdout in default. Mainly used for debug... btrfs-property btrfs property is used to get/set/list property for given btrfs object. See the description of get subcommand for more information about both btrfs object and... btrfs-qgroup btrfs qgroup is used to control quota group (qgroup) of a btrfs filesystem. btrfs-quota The commands under btrfs quota are used to affect the global status of quotas of a btrfs filesystem. The quota groups (qgroups) are managed by the subcommand... btrfs-receive Receive a stream of changes and replicate one or more subvolumes that were previously used with btrfs send The received subvolumes are stored to path. btrfs-replace btrfs replace is used to replace btrfs managed devices with other device. btrfs-rescue btrfs rescue is used to try to recover a damaged btrfs filesystem. btrfs-restore btrfs restore is used to try to salvage files from a damaged filesystem and restore them into <path> or just list the subvolume tree roots. The filesystem image... btrfs-scrub btrfs scrub is used to scrub a btrfs filesystem, which will read all data and metadata blocks from all devices and verify checksums. Automatically repair... btrfs-select-super Destructively overwrite all copies of the superblock with a specified copy. This helps in certain cases, for example when write barriers were disabled during a... btrfs-send This command will generate a stream of instructions that describe changes between two subvolumes. The stream can be consumed by the btrfs receive command to... btrfs-subvolume btrfs subvolume is used to create/delete/list/show btrfs subvolumes and snapshots. btrfstune btrfstune can be used to enable, disable or set various filesystem parameters. The filesystem must be unmounted. The common usecase is to enable features that... fsck.btrfs 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... mkfs.btrfs mkfs.btrfs is used to create the btrfs filesystem on a single or multiple devices. <device> is typically a block device but can be a file-backed image as well...