Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

zdb - Man Page

ZFS debugger

Examples (TL;DR)

  • Show detailed configuration of all mounted ZFS zpools: zdb
  • Show detailed configuration for a specific ZFS pool: zdb -C poolname
  • Show statistics about number, size and deduplication of blocks: zdb -b poolname

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
AvailabilitySUNWzfsu
Interface StabilityUnstable

See Also

zfs(8), zpool(8), attributes(5)

Referenced By

zfs-fuse(8).

31 Oct 2005 SunOS 5.11 System Administration Commands