1LIZARDFS-FILEREPAIR(1) LIZARDFS-FILEREPAIR(1)
2
3
4
6 lizardfs-filerepair - repair broken files
7
9 lizardfs filerepair [-n|-h|-H] FILE...
10
12 filerepair deals with broken files (those which cause I/O errors on
13 read operations) to make them partially readable. In case of missing
14 chunk it fills missing parts of file with zeros; in case of chunk
15 version mismatch it sets chunk version known to mfsmaster to highest
16 one found on chunkservers.
17
18 Note
19 Because in the second case content mismatch can occur in chunks
20 with the same version, it’s advised to make a copy (not a
21 snapshot!) and delete original file after "repairing".
22
24 -c
25 This option enables correct-only mode, which will restore chunk to
26 a previous version if possible, but will never erase any data.
27
28 -n, -h, -H
29 These options are described in lizardfs(1).
30
32 Copyright 2008-2009 Gemius SA, 2013-2016 Skytechnology sp. z o.o.
33
34 LizardFS is free software: you can redistribute it and/or modify it
35 under the terms of the GNU General Public License as published by the
36 Free Software Foundation, version 3.
37
38 LizardFS is distributed in the hope that it will be useful, but WITHOUT
39 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
40 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
41 for more details.
42
43 You should have received a copy of the GNU General Public License along
44 with LizardFS. If not, see http://www.gnu.org/licenses/.
45
47 lizardfs(1)
48
49
50
51 07/21/2022 LIZARDFS-FILEREPAIR(1)