4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved.
23 .\" lint-ok: WARNING: sections out of conventional order: Sh SYNOPSIS
31 .Nd libzpool debugging tool
33 This utility pokes configuration changes directly into a ZFS pool,
34 which is dangerous and can cause data corruption.
47 .Op Fl d Ar description
54 that is uniquely identified by
56 which is specified in the same form as a
62 is a short human readable explanation of the new feature.
68 can be safely opened in read-only mode by a system that does not understand the
79 Increment the reference count of the
86 flag decrements the reference count of the
94 flag indicates that the
96 feature is now required to read the pool MOS.
103 Repair corrupted labels by rewriting the checksum using the presumed valid
104 contents of the label.
108 The following can be passed to all
110 invocations before any subcommand:
111 .Bl -tag -width "-d dir"
112 .It Fl c Ar cachefile
115 configuration from the
118 .Pa /etc/zfs/zpool.cache
125 Can be specified more than once.
130 .No # Nm zhack Cm feature stat Ar tank
132 org.illumos:lz4_compress = 0
134 com.delphix:async_destroy = 0
135 com.delphix:empty_bpobj = 0
137 com.delphix:async_destroy = Destroy filesystems asynchronously.
138 com.delphix:empty_bpobj = Snapshots use less space.
139 org.illumos:lz4_compress = LZ4 compression algorithm support.
141 .No # Nm zhack Cm feature enable Fl d No 'Predict future disk failures.' Ar tank com.example:clairvoyance
142 .No # Nm zhack Cm feature ref Ar tank com.example:clairvoyance
147 .Xr zpool-features 7 ,