lizardfs-filerepair man page

lizardfs-filerepair — repair broken files

Synopsis

lizardfs filerepair [-n|-h|-H] FILE...

Description

filerepair deals with broken files (those which cause I/O errors on read operations) to make them partially readable. In case of missing chunk it fills missing parts of file with zeros; in case of chunk version mismatch it sets chunk version known to mfsmaster to highest one found on chunkservers.

Note

Because in the second case content mismatch can occur in chunks with the same version, it’s advised to make a copy (not a snapshot!) and delete original file after "repairing".

Options

-c

This option enables correct-only mode, which will restore chunk to a previous version if possible, but will never erase any data.

-n, -h, -H

These options are described in lizardfs(1).

See Also

lizardfs(1)

Referenced By

lizardfs(1).

08/24/2019