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
23 -s|--support <superblock>::
24 use <superblock>th superblock copy.
26 try to repair the filesystem.
28 create a new CRC tree.
30 create a new extent tree.
34 'btrfs check' returns a zero exist status if it succeeds. Non zero is
35 returned in case of failure.
39 'btrfs' is part of btrfs-progs. Btrfs filesystem is currently under heavy
41 and not suitable for any uses other than benchmarking and review.
42 Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for