mfsmetarestore(8) - Linux man page
Name
mfsmetarestore - replay MooseFS metadata change logs or dump MooseFS metadata imageSynopsis
mfsmetarestore -m OLDMETADATAFILE -o NEWMETADATAFILE [CHANGELOGFILE...]mfsmetarestore -m METADATAFILE
mfsmetarestore -a [-d DIRECTORY]
mfsmetarestore -v
mfsmetarestore -?
Description
When mfsmetarestore is called with both -m and -o options, it replays given CHANGELOGFILEs on OLDMETADATAFILE and writes result to NEWMETADATAFILE. Multiple change log files can be given.
mfsmetarestore with just -m METADATAFILE option dumps MooseFS metadata image file in human readable form.
mfsmetarestore called with -a option automatically performs all operations needed to merge change log files. Master data directory can be specified using -d DIRECTORY option.
- -v
- print version information and exit
- -?
- print version information and exit
- -a
- autorestore mode (see above)
- -d DATAPATH
- master data directory (for autorestore mode)
- -m METADATAFILE
- specify input metadata image file
- -o NEWMETADATAFILE
- specify output metadata image file
Files
- metadata.mfs
- Moose File System metadata image as read by mfsmaster process
- metadata.mfs.back
- Moose File System metadata image as left by killed or crashed mfsmaster process
- changelog.*.mfs
- Moose File System metadata change logs
Reporting Bugs
Report bugs to <bugs@moosefs.com>.Copyright
Copyright 2008 Gemius SA.MooseFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with MooseFS. If not, see <http://www.gnu.org/licenses/>.