lizardfs-filerepair(1)

lizardfs-filerepair1

Repair broken files

Usage

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

Overview

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).

Releases

2 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10

-c since Debian 10 (Buster).

From lizardfs-client 3.12.0+dfsg-3+b10 in Debian 10 (Buster). Parsed by carta from the page's man source.