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)NAMEbtrfsck - check and repair of a Btrfs filesystemSYNOPSISbtrfsck [options] <device>DESCRIPTIONbtrfsck 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 CODEbtrfsck 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 ALSOmkfs.btrfs(8), btrfs(8) BTRFSCK(8)