BTRFS - Online Linux Manual PageSection : 8
Updated : Mar 26, 2023
Source : 6.2.2
Note : BTRFS
NAMEbtrfs − a toolbox to manage btrfs filesystems
SYNOPSISbtrfs [global] <group> [<group>...] <command> [<args>]
DESCRIPTIONThe btrfs utility is a toolbox for managing btrfs filesystems. There are command groups to work with subvolumes, devices, for whole filesystem or other specific actions. See section COMMANDS. There are also standalone tools for some tasks like btrfs−convert or btrfstune that were separate historically and/or haven't been merged to the main utility. See section STANDALONE TOOLS for more details. For other topics (mount options, etc) please refer to the separate manual page btrfs(5).
COMMAND SYNTAXAny command name can be shortened so long as the shortened form is unambiguous, however, it is recommended to use full command names in scripts. All command groups have their manual page named btrfs−<group>. For example: it is possible to run btrfs sub snaps instead of btrfs subvolume snapshot. But btrfs file s is not allowed, because file s may be interpreted both as filesystem show and as filesystem sync. If the command name is ambiguous, the list of conflicting options is printed. Sizes, both upon input and output, can be expressed in either SI or IEC−I units (see numfmt(1)) with the suffix B appended. All numbers will be formatted according to the rules of the C locale (ignoring the shell locale, see locale(7)). For an overview of a given command use btrfs command −−help or btrfs [command...] −−help −−full to print all available options. There are global options that are passed between btrfs and the group name and affect behaviour not specific to the command, e.g. verbosity or the type of the output. −−format <format> if supported by the command, print subcommand output in that format (text, json) −v|−−verbose increase verbosity of the subcommandn" −q|−−quiet print only errorsn" −−log <level> set log level (default, info, verbose, debug, quiet)n" The remaining options are relevant only for the main tool: −−help print condensed help for all subcommands −−version print version string
COMMANDS balance Balance btrfs filesystem chunks across single or several devices. See btrfs−balance(8) for details. check Do off−line check on a btrfs filesystem. See btrfs−check(8) for details. device Manage devices managed by btrfs, including add/delete/scan and so on. See btrfs−device(8) for details. filesystem Manage a btrfs filesystem, including label setting/sync and so on. See btrfs−filesystem(8) for details. inspect−internal Debug tools for developers/hackers. See btrfs−inspect−internal(8) for details. property Get/set a property from/to a btrfs object. See btrfs−property(8) for details. qgroup Manage quota group(qgroup) for btrfs filesystem. See btrfs−qgroup(8) for details. quota Manage quota on btrfs filesystem like enabling/rescan and etc. See btrfs−quota(8) and btrfs−qgroup(8) for details. receive Receive subvolume data from stdin/file for restore and etc. See btrfs−receive(8) for details. replace Replace btrfs devices. See btrfs−replace(8) for details. rescue Try to rescue damaged btrfs filesystem. See btrfs−rescue(8) for details. restore Try to restore files from a damaged btrfs filesystem. See btrfs−restore(8) for details. scrub Scrub a btrfs filesystem. See btrfs−scrub(8) for details. send Send subvolume data to stdout/file for backup and etc. See btrfs−send(8) for details. subvolume Create/delete/list/manage btrfs subvolume. See btrfs−subvolume(8) for details.
STANDALONE TOOLSNew functionality could be provided using a standalone tool. If the functionality proves to be useful, then the standalone tool is declared obsolete and its functionality is copied to the main tool. Obsolete tools are removed after a long (years) depreciation period. Tools that are still in active use without an equivalent in btrfs: btrfs−convert in−place conversion from ext2/3/4 filesystems to btrfs btrfstune tweak some filesystem properties on a unmounted filesystem btrfs−select−super rescue tool to overwrite primary superblock from a spare copy btrfs−find−root rescue helper to find tree roots in a filesystem For space−constrained environments, it's possible to build a single binary with functionality of several standalone tools. This is following the concept of busybox where the file name selects the functionality. This works for symlinks or hardlinks. The full list can be obtained by btrfs help −−box.
EXIT STATUSbtrfs returns a zero exit status if it succeeds. Non zero is returned in case of failure.
AVAILABILITYbtrfs is part of btrfs−progs. Please refer to the documentation at https://btrfs.readthedocs.io.
SEE ALSObtrfs(5), btrfs−balance(8), btrfs−check(8), btrfs−convert(8), btrfs−device(8), btrfs−filesystem(8), btrfs−inspect−internal(8), btrfs−property(8), btrfs−qgroup(8), btrfs−quota(8), btrfs−receive(8), btrfs−replace(8), btrfs−rescue(8), btrfs−restore(8), btrfs−scrub(8), btrfs−send(8), btrfs−subvolume(8), btrfstune(8), mkfs.btrfs(8) 0
Johanes Gumabo
Data Size : 23,962 byte
man-btrfs.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 184,482
Visitor ID : :
Visitor IP : 18.222.119.143 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.