zdb.8 revision 228019
te
Copyright (c) 2011, Martin Matuska <mm@FreeBSD.org>.
All Rights Reserved.

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.

$FreeBSD: head/cddl/contrib/opensolaris/cmd/zdb/zdb.8 228019 2011-11-27 11:44:20Z mm $

.Dd November 26, 2011 .Dt ZDB 8 .Os .Sh NAME .Nm zdb .Nd ZFS debugger .Sh SYNOPSIS .Nm .Ar pool .Sh DESCRIPTION The .Nm command is used by support engineers to diagnose failures and gather statistics. Since the .Tn ZFS file system is always consistent on disk and is self-repairing, .Nm should only be run under the direction by a support engineer.

p If no arguments are specified, .Nm performs basic consistency checks on the pool and associated datasets, and report any problems detected. .Nm Any options supported by this command are internal to Sun and subject to change at any time. .Sh EXIT STATUS The following exit values are returned: l -tag -offset 2n -width 2n t 0 The pool is consistent. t 1 An error was detected. t 2 Invalid command line options were specified. .El .Sh SEE ALSO .Xr zfs 8 , .Xr zpool 8 .Sh AUTHORS This manual page is a .Xr mdoc 7 reimplementation of the .Tn OpenSolaris manual page .Em zdb(1M) , modified and customized for .Fx and licensed under the .Tn Common Development and Distribution License

q Tn CDDL .

p The .Xr mdoc 7 implementation of this manual page was initially written by .An Martin Matuska Aq mm@FreeBSD.org .