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 October 30, 2019 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 l Ar pfs_names 50.Op Fl c Ar cache_count 51.Ar special 52.Sh DESCRIPTION 53The 54.Nm 55utility verifies 56.Tn HAMMER2 57file system. 58.Bl -tag -width indent 59.It Fl f 60Force option. 61.It Fl v 62Verbose option. 63Print blockref data on failure if possible. 64.It Fl q 65Quiet option. 66.It Fl e 67Count empty blockrefs. 68.It Fl b 69Scan only best zone. 70.It Fl p 71Scan each PFS separately. 72.It Fl l 73Specify PFS names when 74.Fl p 75is used. 76.It Fl c 77Specify blockref cache count. 78.El 79.Sh SEE ALSO 80.Xr fsck 8 , 81.Xr hammer2 8 , 82.Xr mount_hammer2 8 , 83.Xr newfs_hammer2 8 84.Sh HISTORY 85The 86.Nm 87utility appeared in 88.Dx 5.7 . 89.Sh AUTHORS 90.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org 91