1MFSMETARESTORE(8) MFSMETARESTORE(8)
2
3
4
6 mfsmetarestore - replay LizardFS metadata change logs or dump LizardFS
7 metadata image
8
10 mfsmetarestore [-z] -m OLDMETADATAFILE -o NEWMETADATAFILE [CHANGELOGFILE...]
11
12 mfsmetarestore -m METADATAFILE
13
14 mfsmetarestore [-z] -a [-d DIRECTORY]
15
16 mfsmetarestore -g -d DIRECTORY
17
18 mfsmetarestore -v
19
20 mfsmetarestore -?
21
23 When mfsmetarestore is called with both -m and -o options, it replays
24 given CHANGELOGFILEs on OLDMETADATAFILE and writes result to
25 NEWMETADATAFILE. Multiple change log files can be given.
26
27 mfsmetarestore with just -m METADATAFILE option dumps LizardFS metadata
28 image file in human readable form.
29
30 mfsmetarestore called with -a option automatically performs all
31 operations needed to merge change log files. Master data directory can
32 be specified using -d DIRECTORY option.
33
34 mfsmetarestore -g with path to metadata files, prints latest metadata
35 version that can be restored from disk. Prints 0 if metadata files are
36 corrupted.
37
38 -v
39 print version information and exit
40
41 -?
42 print version information and exit
43
44 -a
45 autorestore mode (see above)
46
47 -d DATAPATH
48 master data directory (for autorestore mode)
49
50 -m METADATAFILE
51 specify input metadata image file
52
53 -o NEWMETADATAFILE
54 specify output metadata image file
55
56 -z
57 ignore metadata checksum inconsistency while applying changelogs
58
60 metadata.mfs
61 Lizard File System metadata image as read by mfsmaster process
62
63 metadata.mfs.back
64 Lizard File System metadata image as left by killed or crashed
65 mfsmaster process
66
67 changelog.*.mfs
68 Lizard File System metadata change logs
69
71 Report bugs to <contact@lizardfs.org>.
72
74 Copyright 2008-2009 Gemius SA, 2013-2015 Skytechnology sp. z o.o.
75
76 LizardFS is free software: you can redistribute it and/or modify it
77 under the terms of the GNU General Public License as published by the
78 Free Software Foundation, version 3.
79
80 LizardFS is distributed in the hope that it will be useful, but WITHOUT
81 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
82 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
83 for more details.
84
85 You should have received a copy of the GNU General Public License along
86 with LizardFS. If not, see http://www.gnu.org/licenses/.
87
89 mfsmaster(8), moosefs(7)
90
91
92
93 08/09/2020 MFSMETARESTORE(8)