xref: /titanic_51/usr/src/man/man1m/zdb.1m (revision ed9aabc708901eb85fb058aacbd851c0fd958a16)
te
Copyright (c) 2004, Sun Microsystems, Inc. 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]
zdb 1M "31 Oct 2005" "SunOS 5.11" "System Administration Commands"
NAME
zdb - ZFS debugger
SYNOPSIS

zdb pool
DESCRIPTION

The zdb command is used by support engineers to diagnose failures and gather statistics. Since the ZFS file system is always consistent on disk and is self-repairing, zdb should only be run under the direction by a support engineer.

If no arguments are specified, zdb, performs basic consistency checks on the pool and associated datasets, and report any problems detected.

Any options supported by this command are internal to Sun and subject to change at any time.

EXIT STATUS

The following exit values are returned:

0

The pool is consistent.

1

An error was detected.

2

Invalid command line options were specified.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityUnstable
SEE ALSO

zfs(1M), zpool(1M), attributes(5)