6 btrfs-check - check or repair a btrfs filesystem offline
10 *btrfs check* [options] <device>
14 *btrfs check* is used to check or repair a btrfs filesystem offline.
16 NOTE: Since btrfs is under heavy development especially the *btrfs check*
17 command, it is *highly* recommended to read the following btrfs wiki before
18 executing *btrfs check* with '--repair' option: +
19 https://btrfs.wiki.kernel.org/index.php/Btrfsck
21 *btrfsck* is an alias of *btrfs check* command and is now deprecated.
25 -s|--super <superblock>::
26 use <superblock>th superblock copy.
28 try to repair the filesystem.
30 create a new CRC tree.
32 create a new extent tree.
36 *btrfs check* returns a zero exist status if it succeeds. Non zero is
37 returned in case of failure.
41 *btrfs* is part of btrfs-progs.
42 Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for