|author||Josef Bacik <email@example.com>||2013-03-28 10:26:09 -0400|
|committer||David Sterba <firstname.lastname@example.org>||2013-04-23 18:56:26 +0200|
Btrfs-progs: add an option to btrfs-image to walk the trees
When working with a user with a broken file system I noticed I wasn't able to read some of the blocks properly from the restored image. This is because his extent tree was corrupt and was missing references to some of the blocks, which means they weren't copied into the image when he generated it. So add a -w option which will walk all of the trees manually and copy them into the image. This way we can run fsck against a complete file system image and fix any bugs in fsck. Thanks, Signed-off-by: Josef Bacik <email@example.com>
Diffstat (limited to 'man')
1 files changed, 5 insertions, 0 deletions
diff --git a/man/btrfs-image.8.in b/man/btrfs-image.8.in
index b738f672..7e0e3b0b 100644
@@ -28,6 +28,11 @@ number of threads (1 ~ 32) to be used to process the image dump or restore.
use the old restore method, this does not fixup the chunk tree so the restored
file system will not be able to be mounted.
+Walk all the trees manually and copy any blocks that are referenced. Use this
+option if your extent tree is corrupted to make sure that all of the metadata is
is part of btrfs-progs. Btrfs is currently under heavy development,