Skip to content

Commit d832a32

Browse files
csnoveradam900710
authored andcommitted
btrfs-progs: docs: clarify how btrfs check works with replicas
- Btrfs-check does device assembly automatically Thus no difference when specifying different devices of the same filesystem - Btrfs-check automatically choose good metadata Thus as long as there is any good mirror for metadata, it will not report error for that repariable metadata. Signed-off-by: Colin Snover <[email protected]> [ Add an SoB line, remove the scrub recommendation as btrfs-check is supposed to choose the good mirror ] Signed-off-by: Qu Wenruo <[email protected]>
1 parent b3f6300 commit d832a32

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/btrfs-check.rst

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ by the option *--readonly*.
1919

2020
:command:`btrfsck` is an alias of :command:`btrfs check` command and is now deprecated.
2121

22+
.. note::
23+
Even though the filesystem checker requires a device argument, it scans for all
24+
devices belonging to the same filesystem, thus it should not cause a difference
25+
using different devices of the same filesystem.
26+
Furthermore `btrfs check` will automatically choose the good mirror, thus as long
27+
as there is a good copy for metadata, it will not report such case as an error.
28+
2229
.. warning::
2330
Do not use *--repair* unless you are advised to do so by a developer
2431
or an experienced user, and then only after having accepted that no *fsck*

0 commit comments

Comments
 (0)