Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mfschunktool(8)		    This is part of MooseFS	       mfschunktool(8)

NAME
       mfschunktool - checks chunk integrity offline

SYNOPSIS
       mfschunktool [-f] [-r] [-n] [-e]	[-x] chunk_file	...

DESCRIPTION
       mfschunktool  checks  chunk  integrity  using  stored  CRC checksums in
       chunk's header.	It can also 'repair'  chunk  (fix  stored  checksums).
       This  tool  may	be  useful to check last written chunks	after possible
       data corruption (power down etc.)

       Options:

       -f     turn on fast mode	(in this mode only last	block is tested	- usu-
	      ally this	is enough to find corrupted chunks)

       -r     turn on repair mode (if checksums	on  given  chunk  don't	 match
	      then  they will be overwritten by	checksums calculated using ac-
	      tual data)

       -n     turn on name fixing mode (if the chunk file name is not  correct
	      but there	is proper file header, the tool	will rename given file
	      using data stored	in the header)

       -e     turn  on	empty  block  crc  check for 1.0 version chunks	(force
	      checking crc values for non existing blocks - may	fail  in  case
	      of chunks	that were truncated)

       -x     turn  on	reporting  successful  check  (print 'OK' message when
	      everything is correct)

REPORTING BUGS
       Report bugs to <bugs@moosefs.com>.

COPYRIGHT
       Copyright (C) 2023 Jakub	Kruszona-Zawadzki, Saglabs SA

       This file is part of MooseFS.

       MooseFS is free software; you can redistribute it and/or	modify it  un-
       der  the	 terms	of  the	GNU General Public License as published	by the
       Free Software Foundation, version 2 (only).

       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, write to	the Free Software Foundation, Inc., 51
       Franklin	 St,  Fifth  Floor,  Boston,  MA  02111-1301,  USA  or	 visit
       http://www.gnu.org/licenses/gpl-2.0.html

SEE ALSO
       mfschunkserver(8)

MooseFS	3.0.117-1		 February 2023		       mfschunktool(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mfschunktool&sektion=8&manpath=FreeBSD+Ports+14.3.quarterly>

home | help