]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - cddl/contrib/opensolaris/cmd/zdb/zdb.8
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / cddl / contrib / opensolaris / cmd / zdb / zdb.8
1 '\" te
2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH zdb 1M "31 Oct 2005" "SunOS 5.11" "System Administration Commands"
7 .SH NAME
8 zdb \- ZFS debugger
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBzdb\fR \fIpool\fR
13 .fi
14
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBzdb\fR command is used by support engineers to diagnose failures and gather statistics. Since the \fBZFS\fR file system is always consistent on disk and is self-repairing, \fBzdb\fR should only be run under the direction by a support engineer.
19 .sp
20 .LP
21 If no arguments are specified, \fBzdb\fR, performs basic consistency checks on the pool and associated datasets, and report any problems detected.
22 .sp
23 .LP
24 Any options supported by this command are internal to Sun and subject to change at any time.
25 .SH EXIT STATUS
26 .sp
27 .LP
28 The following exit values are returned:
29 .sp
30 .ne 2
31 .mk
32 .na
33 \fB\fB0\fR\fR
34 .ad
35 .RS 5n
36 .rt  
37 The pool is consistent.
38 .RE
39
40 .sp
41 .ne 2
42 .mk
43 .na
44 \fB\fB1\fR\fR
45 .ad
46 .RS 5n
47 .rt  
48 An error was detected.
49 .RE
50
51 .sp
52 .ne 2
53 .mk
54 .na
55 \fB\fB2\fR\fR
56 .ad
57 .RS 5n
58 .rt  
59 Invalid command line options were specified.
60 .RE
61
62 .SH ATTRIBUTES
63 .sp
64 .LP
65 See \fBattributes\fR(5) for descriptions of the following attributes:
66 .sp
67
68 .sp
69 .TS
70 tab(\a) box;
71 cw(2.75i) |cw(2.75i) 
72 lw(2.75i) |lw(2.75i) 
73 .
74 ATTRIBUTE TYPE\aATTRIBUTE VALUE
75 _
76 Availability\aSUNWzfsu
77 _
78 Interface Stability\aUnstable
79 .TE
80
81 .SH SEE ALSO
82 .sp
83 .LP
84 \fBzfs\fR(1M), \fBzpool\fR(1M), \fBattributes\fR(5)