1.\" Copyright (c) 2019 Tomohiro Kusumi <tkusumi@netbsd.org> 2.\" Copyright (c) 2019 The DragonFly Project 3.\" All rights reserved. 4.\" 5.\" This code is derived from software contributed to The DragonFly Project 6.\" by Matthew Dillon <dillon@backplane.com> 7.\" 8.\" Redistribution and use in source and binary forms, with or without 9.\" modification, are permitted provided that the following conditions 10.\" are met: 11.\" 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in 16.\" the documentation and/or other materials provided with the 17.\" distribution. 18.\" 3. Neither the name of The DragonFly Project nor the names of its 19.\" contributors may be used to endorse or promote products derived 20.\" from this software without specific, prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 25.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 26.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 27.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 28.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 30.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 31.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 32.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.Dd September 30, 2020 36.Dt FSCK_HAMMER2 8 37.Os 38.Sh NAME 39.Nm fsck_hammer2 40.Nd HAMMER2 file system consistency checker 41.Sh SYNOPSIS 42.Nm 43.Op Fl f 44.Op Fl v 45.Op Fl q 46.Op Fl e 47.Op Fl b 48.Op Fl p 49.Op Fl P 50.Op Fl l Ar pfs_names 51.Op Fl c Ar cache_count 52.Ar special 53.Sh DESCRIPTION 54The 55.Nm 56utility verifies 57.Tn HAMMER2 58file system. 59.Bl -tag -width indent 60.It Fl f 61Force option. 62.It Fl v 63Verbose option. 64Print blockref data on failure if possible. 65.It Fl q 66Quiet option. 67.It Fl e 68Count empty blockrefs. 69.It Fl b 70Scan only best zone. 71.It Fl p 72Scan each PFS separately. 73.It Fl P 74Print PFS information. 75.It Fl l 76Specify PFS names when 77.Fl p 78is used. 79.It Fl c 80Specify blockref cache count. 81.El 82.Sh SEE ALSO 83.Xr fsck 8 , 84.Xr hammer2 8 , 85.Xr mount_hammer2 8 , 86.Xr newfs_hammer2 8 87.Sh HISTORY 88The 89.Nm 90utility appeared in 91.Dx 5.7 . 92.Sh AUTHORS 93.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org 94