xref: /dflybsd-src/sbin/fsck_hammer2/fsck_hammer2.8 (revision 0a013d46098e83438e54b17cca48eb20a2429b2e)
15554cc8bSTomohiro Kusumi.\" Copyright (c) 2019 Tomohiro Kusumi <tkusumi@netbsd.org>
25554cc8bSTomohiro Kusumi.\" Copyright (c) 2019 The DragonFly Project
35554cc8bSTomohiro Kusumi.\" All rights reserved.
45554cc8bSTomohiro Kusumi.\"
55554cc8bSTomohiro Kusumi.\" This code is derived from software contributed to The DragonFly Project
65554cc8bSTomohiro Kusumi.\" by Matthew Dillon <dillon@backplane.com>
75554cc8bSTomohiro Kusumi.\"
85554cc8bSTomohiro Kusumi.\" Redistribution and use in source and binary forms, with or without
95554cc8bSTomohiro Kusumi.\" modification, are permitted provided that the following conditions
105554cc8bSTomohiro Kusumi.\" are met:
115554cc8bSTomohiro Kusumi.\"
125554cc8bSTomohiro Kusumi.\" 1. Redistributions of source code must retain the above copyright
135554cc8bSTomohiro Kusumi.\"    notice, this list of conditions and the following disclaimer.
145554cc8bSTomohiro Kusumi.\" 2. Redistributions in binary form must reproduce the above copyright
155554cc8bSTomohiro Kusumi.\"    notice, this list of conditions and the following disclaimer in
165554cc8bSTomohiro Kusumi.\"    the documentation and/or other materials provided with the
175554cc8bSTomohiro Kusumi.\"    distribution.
185554cc8bSTomohiro Kusumi.\" 3. Neither the name of The DragonFly Project nor the names of its
195554cc8bSTomohiro Kusumi.\"    contributors may be used to endorse or promote products derived
205554cc8bSTomohiro Kusumi.\"    from this software without specific, prior written permission.
215554cc8bSTomohiro Kusumi.\"
225554cc8bSTomohiro Kusumi.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
235554cc8bSTomohiro Kusumi.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
245554cc8bSTomohiro Kusumi.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
255554cc8bSTomohiro Kusumi.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
265554cc8bSTomohiro Kusumi.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
275554cc8bSTomohiro Kusumi.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
285554cc8bSTomohiro Kusumi.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
295554cc8bSTomohiro Kusumi.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
305554cc8bSTomohiro Kusumi.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
315554cc8bSTomohiro Kusumi.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
325554cc8bSTomohiro Kusumi.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
335554cc8bSTomohiro Kusumi.\" SUCH DAMAGE.
345554cc8bSTomohiro Kusumi.\"
35*0a013d46STomohiro Kusumi.Dd September 30, 2020
365554cc8bSTomohiro Kusumi.Dt FSCK_HAMMER2 8
375554cc8bSTomohiro Kusumi.Os
385554cc8bSTomohiro Kusumi.Sh NAME
395554cc8bSTomohiro Kusumi.Nm fsck_hammer2
405554cc8bSTomohiro Kusumi.Nd HAMMER2 file system consistency checker
415554cc8bSTomohiro Kusumi.Sh SYNOPSIS
425554cc8bSTomohiro Kusumi.Nm
435554cc8bSTomohiro Kusumi.Op Fl f
445554cc8bSTomohiro Kusumi.Op Fl v
455554cc8bSTomohiro Kusumi.Op Fl q
460abd9570STomohiro Kusumi.Op Fl e
479b8542e1STomohiro Kusumi.Op Fl b
48e8135320STomohiro Kusumi.Op Fl p
49*0a013d46STomohiro Kusumi.Op Fl P
502f7891ddSTomohiro Kusumi.Op Fl l Ar pfs_names
51958de672STomohiro Kusumi.Op Fl c Ar cache_count
525554cc8bSTomohiro Kusumi.Ar special
535554cc8bSTomohiro Kusumi.Sh DESCRIPTION
545554cc8bSTomohiro KusumiThe
555554cc8bSTomohiro Kusumi.Nm
565554cc8bSTomohiro Kusumiutility verifies
575554cc8bSTomohiro Kusumi.Tn HAMMER2
585554cc8bSTomohiro Kusumifile system.
595554cc8bSTomohiro Kusumi.Bl -tag -width indent
605554cc8bSTomohiro Kusumi.It Fl f
615554cc8bSTomohiro KusumiForce option.
625554cc8bSTomohiro Kusumi.It Fl v
6336932a01STomohiro KusumiVerbose option.
64bad8b3c2STomohiro KusumiPrint blockref data on failure if possible.
655554cc8bSTomohiro Kusumi.It Fl q
6636932a01STomohiro KusumiQuiet option.
670abd9570STomohiro Kusumi.It Fl e
680abd9570STomohiro KusumiCount empty blockrefs.
699b8542e1STomohiro Kusumi.It Fl b
709b8542e1STomohiro KusumiScan only best zone.
71e8135320STomohiro Kusumi.It Fl p
72e8135320STomohiro KusumiScan each PFS separately.
73*0a013d46STomohiro Kusumi.It Fl P
74*0a013d46STomohiro KusumiPrint PFS information.
75e8135320STomohiro Kusumi.It Fl l
7641195a6fSTomohiro KusumiSpecify PFS names when
77e8135320STomohiro Kusumi.Fl p
78e8135320STomohiro Kusumiis used.
79958de672STomohiro Kusumi.It Fl c
80958de672STomohiro KusumiSpecify blockref cache count.
815554cc8bSTomohiro Kusumi.El
825554cc8bSTomohiro Kusumi.Sh SEE ALSO
835554cc8bSTomohiro Kusumi.Xr fsck 8 ,
845554cc8bSTomohiro Kusumi.Xr hammer2 8 ,
85c83f7fa1SSascha Wildner.Xr mount_hammer2 8 ,
86c83f7fa1SSascha Wildner.Xr newfs_hammer2 8
875554cc8bSTomohiro Kusumi.Sh HISTORY
885554cc8bSTomohiro KusumiThe
895554cc8bSTomohiro Kusumi.Nm
905554cc8bSTomohiro Kusumiutility appeared in
915554cc8bSTomohiro Kusumi.Dx 5.7 .
925554cc8bSTomohiro Kusumi.Sh AUTHORS
935554cc8bSTomohiro Kusumi.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org
94