-x shouldn't warn about old on-disk format or unavailable features
[zfs.git] / man / man8 / zpool.8
1 '\" te
2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
4 .\" Copyright (c) 2012 by Delphix. All Rights Reserved.
5 .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
6 .\" The contents of this file are subject to the terms of the Common Development
7 .\" and Distribution License (the "License"). You may not use this file except
8 .\" in compliance with the License. You can obtain a copy of the license at
9 .\" usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
10 .\"
11 .\" See the License for the specific language governing permissions and
12 .\" limitations under the License. When distributing Covered Code, include this
13 .\" CDDL HEADER in each file and include the License file at
14 .\" usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this
15 .\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
16 .\" own identifying information:
17 .\" Portions Copyright [yyyy] [name of copyright owner]
18 .TH zpool 8 "14 December 2012" "ZFS pool 28, filesystem 5" "System Administration Commands"
19 .SH NAME
20 zpool \- configures ZFS storage pools
21 .SH SYNOPSIS
22 .LP
23 .nf
24 \fBzpool\fR [\fB-?\fR]
25 .fi
26
27 .LP
28 .nf
29 \fBzpool add\fR [\fB-fn\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fIvdev\fR ...
30 .fi
31
32 .LP
33 .nf
34 \fBzpool attach\fR [\fB-f\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fIdevice\fR \fInew_device\fR
35 .fi
36
37 .LP
38 .nf
39 \fBzpool clear\fR \fIpool\fR [\fIdevice\fR]
40 .fi
41
42 .LP
43 .nf
44 \fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-O\fR \fIfile-system-property=value\fR]
45      ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] \fIpool\fR \fIvdev\fR ...
46 .fi
47
48 .LP
49 .nf
50 \fBzpool destroy\fR [\fB-f\fR] \fIpool\fR
51 .fi
52
53 .LP
54 .nf
55 \fBzpool detach\fR \fIpool\fR \fIdevice\fR
56 .fi
57
58 .LP
59 .nf
60 \fBzpool export\fR [\fB-f\fR] \fIpool\fR ...
61 .fi
62
63 .LP
64 .nf
65 \fBzpool get\fR "\fIall\fR" | \fIproperty\fR[,...] \fIpool\fR ...
66 .fi
67
68 .LP
69 .nf
70 \fBzpool history\fR [\fB-il\fR] [\fIpool\fR] ...
71 .fi
72
73 .LP
74 .nf
75 \fBzpool import\fR [\fB-d\fR \fIdir\fR] [\fB-D\fR]
76 .fi
77
78 .LP
79 .nf
80 \fBzpool import\fR [\fB-o \fImntopts\fR\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR]
81      [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-N\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fB-a\fR
82 .fi
83
84 .LP
85 .nf
86 \fBzpool import\fR [\fB-o \fImntopts\fR\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR]
87      [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fIpool\fR |\fIid\fR [\fInewpool\fR]
88 .fi
89
90 .LP
91 .nf
92 \fBzpool iostat\fR [\fB-T\fR u | d ] [\fB-v\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]
93 .fi
94
95 .LP
96 .nf
97 \fBzpool list\fR [\fB-Hv\fR] [\fB-o\fR \fIproperty\fR[,...]] [\fIpool\fR] ...
98 .fi
99
100 .LP
101 .nf
102 \fBzpool offline\fR [\fB-t\fR] \fIpool\fR \fIdevice\fR ...
103 .fi
104
105 .LP
106 .nf
107 \fBzpool online\fR \fIpool\fR \fIdevice\fR ...
108 .fi
109
110 .LP
111 .nf
112 \fBzpool reguid\fR \fIpool\fR
113 .fi
114
115 .LP
116 .nf
117 \fBzpool remove\fR \fIpool\fR \fIdevice\fR ...
118 .fi
119
120 .LP
121 .nf
122 \fBzpool replace\fR [\fB-f\fR] \fIpool\fR \fIdevice\fR [\fInew_device\fR]
123 .fi
124
125 .LP
126 .nf
127 \fBzpool scrub\fR [\fB-s\fR] \fIpool\fR ...
128 .fi
129
130 .LP
131 .nf
132 \fBzpool set\fR \fIproperty\fR=\fIvalue\fR \fIpool\fR
133 .fi
134
135 .LP
136 .nf
137 \fBzpool status\fR [\fB-xv\fR] [\fIpool\fR] ...
138 .fi
139
140 .LP
141 .nf
142 \fBzpool upgrade\fR 
143 .fi
144
145 .LP
146 .nf
147 \fBzpool upgrade\fR \fB-v\fR
148 .fi
149
150 .LP
151 .nf
152 \fBzpool upgrade\fR [\fB-V\fR \fIversion\fR] \fB-a\fR | \fIpool\fR ...
153 .fi
154
155 .SH DESCRIPTION
156 .sp
157 .LP
158 The \fBzpool\fR command configures \fBZFS\fR storage pools. A storage pool is a collection of devices that provides physical storage and data replication for \fBZFS\fR datasets.
159 .sp
160 .LP
161 All datasets within a storage pool share the same space. See \fBzfs\fR(8) for information on managing datasets.
162 .SS "Virtual Devices (\fBvdev\fRs)"
163 .sp
164 .LP
165 A "virtual device" describes a single device or a collection of devices organized according to certain performance and fault characteristics. The following virtual devices are supported:
166 .sp
167 .ne 2
168 .mk
169 .na
170 \fB\fBdisk\fR\fR
171 .ad
172 .RS 10n
173 .rt  
174 A block device, typically located under \fB/dev\fR. \fBZFS\fR can use individual partitions, though the recommended mode of operation is to use whole disks. A disk can be specified by a full path, or it can be a shorthand name (the relative portion of the path under "/dev"). For example, "sda" is equivalent to "/dev/sda". A whole disk can be specified by omitting the partition designation. When given a whole disk, \fBZFS\fR automatically labels the disk, if necessary.
175 .RE
176
177 .sp
178 .ne 2
179 .mk
180 .na
181 \fB\fBfile\fR\fR
182 .ad
183 .RS 10n
184 .rt  
185 A regular file. The use of files as a backing store is strongly discouraged. It is designed primarily for experimental purposes, as the fault tolerance of a file is only as good as the file system of which it is a part. A file must be specified by a full path.
186 .RE
187
188 .sp
189 .ne 2
190 .mk
191 .na
192 \fB\fBmirror\fR\fR
193 .ad
194 .RS 10n
195 .rt  
196 A mirror of two or more devices. Data is replicated in an identical fashion across all components of a mirror. A mirror with \fIN\fR disks of size \fIX\fR can hold \fIX\fR bytes and can withstand (\fIN-1\fR) devices failing before data integrity is compromised.
197 .RE
198
199 .sp
200 .ne 2
201 .mk
202 .na
203 \fB\fBraidz\fR\fR
204 .ad
205 .br
206 .na
207 \fB\fBraidz1\fR\fR
208 .ad
209 .br
210 .na
211 \fB\fBraidz2\fR\fR
212 .ad
213 .br
214 .na
215 \fB\fBraidz3\fR\fR
216 .ad
217 .RS 10n
218 .rt  
219 A variation on \fBRAID-5\fR that allows for better distribution of parity and eliminates the "\fBRAID-5\fR write hole" (in which data and parity become inconsistent after a power loss). Data and parity is striped across all disks within a \fBraidz\fR group.
220 .sp
221 A \fBraidz\fR group can have single-, double- , or triple parity, meaning that the \fBraidz\fR group can sustain one, two, or three failures, respectively, without losing any data. The \fBraidz1\fR \fBvdev\fR type specifies a single-parity \fBraidz\fR group; the \fBraidz2\fR \fBvdev\fR type specifies a double-parity \fBraidz\fR group; and the \fBraidz3\fR \fBvdev\fR type specifies a triple-parity \fBraidz\fR group. The \fBraidz\fR \fBvdev\fR type is an alias for \fBraidz1\fR.
222 .sp
223 A \fBraidz\fR group with \fIN\fR disks of size \fIX\fR with \fIP\fR parity disks can hold approximately (\fIN-P\fR)*\fIX\fR bytes and can withstand \fIP\fR device(s) failing before data integrity is compromised. The minimum number of devices in a \fBraidz\fR group is one more than the number of parity disks. The recommended number is between 3 and 9 to help increase performance.
224 .RE
225
226 .sp
227 .ne 2
228 .mk
229 .na
230 \fB\fBspare\fR\fR
231 .ad
232 .RS 10n
233 .rt  
234 A special pseudo-\fBvdev\fR which keeps track of available hot spares for a pool. For more information, see the "Hot Spares" section.
235 .RE
236
237 .sp
238 .ne 2
239 .mk
240 .na
241 \fB\fBlog\fR\fR
242 .ad
243 .RS 10n
244 .rt  
245 A separate-intent log device. If more than one log device is specified, then writes are load-balanced between devices. Log devices can be mirrored. However, \fBraidz\fR \fBvdev\fR types are not supported for the intent log. For more information, see the "Intent Log" section.
246 .RE
247
248 .sp
249 .ne 2
250 .mk
251 .na
252 \fB\fBcache\fR\fR
253 .ad
254 .RS 10n
255 .rt  
256 A device used to cache storage pool data. A cache device cannot be configured as a mirror or \fBraidz\fR group. For more information, see the "Cache Devices" section.
257 .RE
258
259 .sp
260 .LP
261 Virtual devices cannot be nested, so a mirror or \fBraidz\fR virtual device can only contain files or disks. Mirrors of mirrors (or other combinations) are not allowed.
262 .sp
263 .LP
264 A pool can have any number of virtual devices at the top of the configuration (known as "root vdevs"). Data is dynamically distributed across all top-level devices to balance data among devices. As new virtual devices are added, \fBZFS\fR automatically places data on the newly available devices.
265 .sp
266 .LP
267 Virtual devices are specified one at a time on the command line, separated by whitespace. The keywords "mirror" and "raidz" are used to distinguish where a group ends and another begins. For example, the following creates two root vdevs, each a mirror of two disks:
268 .sp
269 .in +2
270 .nf
271 # \fBzpool create mypool mirror sda sdb mirror sdc sdd\fR
272 .fi
273 .in -2
274 .sp
275
276 .SS "Device Failure and Recovery"
277 .sp
278 .LP
279 \fBZFS\fR supports a rich set of mechanisms for handling device failure and data corruption. All metadata and data is checksummed, and \fBZFS\fR automatically repairs bad data from a good copy when corruption is detected.
280 .sp
281 .LP
282 In order to take advantage of these features, a pool must make use of some form of redundancy, using either mirrored or \fBraidz\fR groups. While \fBZFS\fR supports running in a non-redundant configuration, where each root vdev is simply a disk or file, this is strongly discouraged. A single case of bit corruption can render some or all of your data unavailable.
283 .sp
284 .LP
285 A pool's health status is described by one of three states: online, degraded, or faulted. An online pool has all devices operating normally. A degraded pool is one in which one or more devices have failed, but the data is still available due to a redundant configuration. A faulted pool has corrupted metadata, or one or more faulted devices, and insufficient replicas to continue functioning. 
286 .sp
287 .LP
288 The health of the top-level vdev, such as mirror or \fBraidz\fR device, is potentially impacted by the state of its associated vdevs, or component devices. A top-level vdev or component device is in one of the following states:
289 .sp
290 .ne 2
291 .mk
292 .na
293 \fB\fBDEGRADED\fR\fR
294 .ad
295 .RS 12n
296 .rt  
297 One or more top-level vdevs is in the degraded state because one or more component devices are offline. Sufficient replicas exist to continue functioning.
298 .sp
299 One or more component devices is in the degraded or faulted state, but sufficient replicas exist to continue functioning. The underlying conditions are as follows:
300 .RS +4
301 .TP
302 .ie t \(bu
303 .el o
304 The number of checksum errors exceeds acceptable levels and the device is degraded as an indication that something may be wrong. \fBZFS\fR continues to use the device as necessary.
305 .RE
306 .RS +4
307 .TP
308 .ie t \(bu
309 .el o
310 The number of I/O errors exceeds acceptable levels. The device could not be marked as faulted because there are insufficient replicas to continue functioning.
311 .RE
312 .RE
313
314 .sp
315 .ne 2
316 .mk
317 .na
318 \fB\fBFAULTED\fR\fR
319 .ad
320 .RS 12n
321 .rt  
322 One or more top-level vdevs is in the faulted state because one or more component devices are offline. Insufficient replicas exist to continue functioning. 
323 .sp
324 One or more component devices is in the faulted state, and insufficient replicas exist to continue functioning. The underlying conditions are as follows:
325 .RS +4
326 .TP
327 .ie t \(bu
328 .el o
329 The device could be opened, but the contents did not match expected values. 
330 .RE
331 .RS +4
332 .TP
333 .ie t \(bu
334 .el o
335 The number of I/O errors exceeds acceptable levels and the device is faulted to prevent further use of the device.
336 .RE
337 .RE
338
339 .sp
340 .ne 2
341 .mk
342 .na
343 \fB\fBOFFLINE\fR\fR
344 .ad
345 .RS 12n
346 .rt  
347 The device was explicitly taken offline by the "\fBzpool offline\fR" command.
348 .RE
349
350 .sp
351 .ne 2
352 .mk
353 .na
354 \fB\fBONLINE\fR\fR
355 .ad
356 .RS 12n
357 .rt  
358 The device is online and functioning.
359 .RE
360
361 .sp
362 .ne 2
363 .mk
364 .na
365 \fB\fBREMOVED\fR\fR
366 .ad
367 .RS 12n
368 .rt  
369 The device was physically removed while the system was running. Device removal detection is hardware-dependent and may not be supported on all platforms.
370 .RE
371
372 .sp
373 .ne 2
374 .mk
375 .na
376 \fB\fBUNAVAIL\fR\fR
377 .ad
378 .RS 12n
379 .rt  
380 The device could not be opened. If a pool is imported when a device was unavailable, then the device will be identified by a unique identifier instead of its path since the path was never correct in the first place.
381 .RE
382
383 .sp
384 .LP
385 If a device is removed and later re-attached to the system, \fBZFS\fR attempts to put the device online automatically. Device attach detection is hardware-dependent and might not be supported on all platforms.
386 .SS "Hot Spares"
387 .sp
388 .LP
389 \fBZFS\fR allows devices to be associated with pools as "hot spares". These devices are not actively used in the pool, but when an active device fails, it is automatically replaced by a hot spare. To create a pool with hot spares, specify a "spare" \fBvdev\fR with any number of devices. For example, 
390 .sp
391 .in +2
392 .nf
393 # zpool create pool mirror sda sdb spare sdc sdd
394 .fi
395 .in -2
396 .sp
397
398 .sp
399 .LP
400 Spares can be shared across multiple pools, and can be added with the "\fBzpool add\fR" command and removed with the "\fBzpool remove\fR" command. Once a spare replacement is initiated, a new "spare" \fBvdev\fR is created within the configuration that will remain there until the original device is replaced. At this point, the hot spare becomes available again.
401 .sp
402 .LP
403 If a pool has a shared spare that is currently being used, the pool can not be exported since other pools may use this shared spare, which may lead to potential data corruption.
404 .sp
405 .LP
406 An in-progress spare replacement can be cancelled by detaching the hot spare. If the original faulted device is detached, then the hot spare assumes its place in the configuration, and is removed from the spare list of all active pools.
407 .sp
408 .LP
409 Spares cannot replace log devices.
410 .SS "Intent Log"
411 .sp
412 .LP
413 The \fBZFS\fR Intent Log (\fBZIL\fR) satisfies \fBPOSIX\fR requirements for synchronous transactions. For instance, databases often require their transactions to be on stable storage devices when returning from a system call. \fBNFS\fR and other applications can also use \fBfsync\fR() to ensure data stability. By default, the intent log is allocated from blocks within the main pool. However, it might be possible to get better performance using separate intent log devices such as \fBNVRAM\fR or a dedicated disk. For example:
414 .sp
415 .in +2
416 .nf
417 \fB# zpool create pool sda sdb log sdc\fR
418 .fi
419 .in -2
420 .sp
421
422 .sp
423 .LP
424 Multiple log devices can also be specified, and they can be mirrored. See the EXAMPLES section for an example of mirroring multiple log devices.
425 .sp
426 .LP
427 Log devices can be added, replaced, attached, detached, and imported and exported as part of the larger pool. Mirrored log devices can be removed by specifying the top-level mirror for the log.
428 .SS "Cache Devices"
429 .sp
430 .LP
431 Devices can be added to a storage pool as "cache devices." These devices provide an additional layer of caching between main memory and disk. For read-heavy workloads, where the working set size is much larger than what can be cached in main memory, using cache devices allow much more of this working set to be served from low latency media. Using cache devices provides the greatest performance improvement for random read-workloads of mostly static content.
432 .sp
433 .LP
434 To create a pool with cache devices, specify a "cache" \fBvdev\fR with any number of devices. For example:
435 .sp
436 .in +2
437 .nf
438 \fB# zpool create pool sda sdb cache sdc sdd\fR
439 .fi
440 .in -2
441 .sp
442
443 .sp
444 .LP
445 Cache devices cannot be mirrored or part of a \fBraidz\fR configuration. If a read error is encountered on a cache device, that read \fBI/O\fR is reissued to the original storage pool device, which might be part of a mirrored or \fBraidz\fR configuration.
446 .sp
447 .LP
448 The content of the cache devices is considered volatile, as is the case with other system caches.
449 .SS "Properties"
450 .sp
451 .LP
452 Each pool has several properties associated with it. Some properties are read-only statistics while others are configurable and change the behavior of the pool. The following are read-only properties:
453 .sp
454 .ne 2
455 .mk
456 .na
457 \fB\fBavailable\fR\fR
458 .ad
459 .RS 20n
460 .rt  
461 Amount of storage available within the pool. This property can also be referred to by its shortened column name, "avail".
462 .RE
463
464 .sp
465 .ne 2
466 .mk
467 .na
468 \fB\fBcapacity\fR\fR
469 .ad
470 .RS 20n
471 .rt  
472 Percentage of pool space used. This property can also be referred to by its shortened column name, "cap".
473 .RE
474
475 .sp
476 .ne 2
477 .mk
478 .na
479 \fB\fBexpandsize\fR\fR
480 .ad
481 .RS 20n
482 Amount of uninitialized space within the pool or device that can be used to
483 increase the total capacity of the pool.  Uninitialized space consists of
484 any space on an EFI labeled vdev which has not been brought online
485 (i.e. zpool online -e).  This space occurs when a LUN is dynamically expanded.
486 .RE
487
488 .sp
489 .ne 2
490 .na
491 \fB\fBfree\fR\fR
492 .ad
493 .RS 20n
494 The amount of free space available in the pool.
495 .RE
496
497 .sp
498 .ne 2
499 .na
500 \fB\fBfreeing\fR\fR
501 .ad
502 .RS 20n
503 After a file system or snapshot is destroyed, the space it was using is
504 returned to the pool asynchronously. \fB\fBfreeing\fR\fR is the amount of
505 space remaining to be reclaimed. Over time \fB\fBfreeing\fR\fR will decrease
506 while \fB\fBfree\fR\fR increases.
507 .RE
508
509 .sp
510 .ne 2
511 .na
512 \fB\fBhealth\fR\fR
513 .ad
514 .RS 20n
515 .rt  
516 The current health of the pool. Health can be "\fBONLINE\fR", "\fBDEGRADED\fR", "\fBFAULTED\fR", " \fBOFFLINE\fR", "\fBREMOVED\fR", or "\fBUNAVAIL\fR".
517 .RE
518
519 .sp
520 .ne 2
521 .mk
522 .na
523 \fB\fBguid\fR\fR
524 .ad
525 .RS 20n
526 .rt  
527 A unique identifier for the pool.
528 .RE
529
530 .sp
531 .ne 2
532 .mk
533 .na
534 \fB\fBsize\fR\fR
535 .ad
536 .RS 20n
537 .rt  
538 Total size of the storage pool.
539 .RE
540
541 .sp
542 .ne 2
543 .na
544 \fB\fBunsupported@\fR\fIfeature_guid\fR\fR
545 .ad
546 .RS 20n
547 Information about unsupported features that are enabled on the pool. See
548 \fBzpool-features\fR(5) for details.
549 .RE
550
551 .sp
552 .ne 2
553 .mk
554 .na
555 \fB\fBused\fR\fR
556 .ad
557 .RS 20n
558 .rt  
559 Amount of storage space used within the pool.
560 .RE
561
562 .sp
563 .LP
564 The space usage properties report actual physical space available to the storage pool. The physical space can be different from the total amount of space that any contained datasets can actually use. The amount of space used in a \fBraidz\fR configuration depends on the characteristics of the data being written. In addition, \fBZFS\fR reserves some space for internal accounting that the \fBzfs\fR(8) command takes into account, but the \fBzpool\fR command does not. For non-full pools of a reasonable size, these effects should be invisible. For small pools, or pools that are close to being completely full, these discrepancies may become more noticeable.
565
566 .sp
567 .LP
568 The following property can be set at creation time:
569 .sp
570 .ne 2
571 .mk
572 .na
573 \fB\fBashift\fR\fR
574 .ad
575 .sp .6
576 .RS 4n
577 Pool sector size exponent, to the power of 2 (internally referred to as "ashift"). I/O operations will be aligned to the specified size boundaries. Additionally, the minimum (disk) write size will be set to the specified size, so this represents a space vs. performance trade-off. The typical case for setting this property is when performance is important and the underlying disks use 4KiB sectors but report 512B sectors to the OS (for compatibility reasons); in that case, set \fBashift=12\fR (which is 1<<12 = 4096).
578 .LP
579 For optimal performance, the pool sector size should be greater than or equal to the sector size of the underlying disks. Since the property cannot be changed after pool creation, if in a given pool, you \fIever\fR want to use drives that \fIreport\fR 4KiB sectors, you must set \fBashift=12\fR at pool creation time.
580 .RE
581
582 .sp
583 .LP
584 The following property can be set at creation time and import time:
585 .sp
586 .ne 2
587 .mk
588 .na
589 \fB\fBaltroot\fR\fR
590 .ad
591 .sp .6
592 .RS 4n
593 Alternate root directory. If set, this directory is prepended to any mount points within the pool. This can be used when examining an unknown pool where the mount points cannot be trusted, or in an alternate boot environment, where the typical paths are not valid. \fBaltroot\fR is not a persistent property. It is valid only while the system is up. Setting \fBaltroot\fR defaults to using \fBcachefile\fR=none, though this may be overridden using an explicit setting.
594 .RE
595
596 .sp
597 .LP
598 The following properties can be set at creation time and import time, and later changed with the \fBzpool set\fR command:
599 .sp
600 .ne 2
601 .mk
602 .na
603 \fB\fBautoexpand\fR=\fBon\fR | \fBoff\fR\fR
604 .ad
605 .sp .6
606 .RS 4n
607 Controls automatic pool expansion when the underlying LUN is grown. If set to \fBon\fR, the pool will be resized according to the size of the expanded device. If the device is part of a mirror or \fBraidz\fR then all devices within that mirror/\fBraidz\fR group must be expanded before the new space is made available to the pool. The default behavior is \fBoff\fR. This property can also be referred to by its shortened column name, \fBexpand\fR.
608 .RE
609
610 .sp
611 .ne 2
612 .mk
613 .na
614 \fB\fBautoreplace\fR=\fBon\fR | \fBoff\fR\fR
615 .ad
616 .sp .6
617 .RS 4n
618 Controls automatic device replacement. If set to "\fBoff\fR", device replacement must be initiated by the administrator by using the "\fBzpool replace\fR" command. If set to "\fBon\fR", any new device, found in the same physical location as a device that previously belonged to the pool, is automatically formatted and replaced. The default behavior is "\fBoff\fR". This property can also be referred to by its shortened column name, "replace".
619 .RE
620
621 .sp
622 .ne 2
623 .mk
624 .na
625 \fB\fBbootfs\fR=\fIpool\fR/\fIdataset\fR\fR
626 .ad
627 .sp .6
628 .RS 4n
629 Identifies the default bootable dataset for the root pool. This property is expected to be set mainly by the installation and upgrade programs.
630 .RE
631
632 .sp
633 .ne 2
634 .mk
635 .na
636 \fB\fBcachefile\fR=\fIpath\fR | \fBnone\fR\fR
637 .ad
638 .sp .6
639 .RS 4n
640 Controls the location of where the pool configuration is cached. Discovering all pools on system startup requires a cached copy of the configuration data that is stored on the root file system. All pools in this cache are automatically imported when the system boots. Some environments, such as install and clustering, need to cache this information in a different location so that pools are not automatically imported. Setting this property caches the pool configuration in a different location that can later be imported with "\fBzpool import -c\fR". Setting it to the special value "\fBnone\fR" creates a temporary pool that is never cached, and the special value \fB\&''\fR (empty string) uses the default location. 
641 .sp
642 Multiple pools can share the same cache file. Because the kernel destroys and recreates this file when pools are added and removed, care should be taken when attempting to access this file. When the last pool using a \fBcachefile\fR is exported or destroyed, the file is removed.
643 .RE
644
645 .sp
646 .ne 2
647 .mk
648 .na
649 \fB\fBcomment\fR=\fB\fItext\fR\fR
650 .ad
651 .sp .6
652 .RS 4n
653 A text string consisting of printable ASCII characters that will be stored such that it is available even if the pool becomes faulted.  An administrator can provide additional information about a pool using this property.
654 .RE
655
656 .sp
657 .ne 2
658 .mk
659 .na
660 \fB\fBdelegation\fR=\fBon\fR | \fBoff\fR\fR
661 .ad
662 .sp .6
663 .RS 4n
664 Controls whether a non-privileged user is granted access based on the dataset permissions defined on the dataset. See \fBzfs\fR(8) for more information on \fBZFS\fR delegated administration.
665 .RE
666
667 .sp
668 .ne 2
669 .mk
670 .na
671 \fB\fBfailmode\fR=\fBwait\fR | \fBcontinue\fR | \fBpanic\fR\fR
672 .ad
673 .sp .6
674 .RS 4n
675 Controls the system behavior in the event of catastrophic pool failure. This condition is typically a result of a loss of connectivity to the underlying storage device(s) or a failure of all devices within the pool. The behavior of such an event is determined as follows:
676 .sp
677 .ne 2
678 .mk
679 .na
680 \fB\fBwait\fR\fR
681 .ad
682 .RS 12n
683 .rt  
684 Blocks all \fBI/O\fR access until the device connectivity is recovered and the errors are cleared. This is the default behavior.
685 .RE
686
687 .sp
688 .ne 2
689 .mk
690 .na
691 \fB\fBcontinue\fR\fR
692 .ad
693 .RS 12n
694 .rt  
695 Returns \fBEIO\fR to any new write \fBI/O\fR requests but allows reads to any of the remaining healthy devices. Any write requests that have yet to be committed to disk would be blocked.
696 .RE
697
698 .sp
699 .ne 2
700 .mk
701 .na
702 \fB\fBpanic\fR\fR
703 .ad
704 .RS 12n
705 .rt  
706 Prints out a message to the console and generates a system crash dump.
707 .RE
708
709 .RE
710
711 .sp
712 .ne 2
713 .na
714 \fB\fBfeature@\fR\fIfeature_name\fR=\fBenabled\fR\fR
715 .ad
716 .RS 4n
717 The value of this property is the current state of \fIfeature_name\fR. The
718 only valid value when setting this property is \fBenabled\fR which moves
719 \fIfeature_name\fR to the enabled state. See \fBzpool-features\fR(5) for
720 details on feature states.
721 .RE
722
723 .sp
724 .ne 2
725 .mk
726 .na
727 \fB\fBlistsnaps\fR=on | off\fR
728 .ad
729 .sp .6
730 .RS 4n
731 Controls whether information about snapshots associated with this pool is output when "\fBzfs list\fR" is run without the \fB-t\fR option. The default value is "off".
732 .RE
733
734 .sp
735 .ne 2
736 .mk
737 .na
738 \fB\fBversion\fR=\fIversion\fR\fR
739 .ad
740 .sp .6
741 .RS 4n
742 The current on-disk version of the pool. This can be increased, but never decreased. The preferred method of updating pools is with the "\fBzpool upgrade\fR" command, though this property can be used when a specific version is needed for backwards compatibility. Once feature flags are enabled on a pool this property will no longer have a value.
743 .RE
744
745 .SS "Subcommands"
746 .sp
747 .LP
748 All subcommands that modify state are logged persistently to the pool in their original form.
749 .sp
750 .LP
751 The \fBzpool\fR command provides subcommands to create and destroy storage pools, add capacity to storage pools, and provide information about the storage pools. The following subcommands are supported:
752 .sp
753 .ne 2
754 .mk
755 .na
756 \fB\fBzpool\fR \fB-?\fR\fR
757 .ad
758 .sp .6
759 .RS 4n
760 Displays a help message.
761 .RE
762
763 .sp
764 .ne 2
765 .mk
766 .na
767 \fB\fBzpool add\fR [\fB-fn\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fIvdev\fR ...\fR
768 .ad
769 .sp .6
770 .RS 4n
771 Adds the specified virtual devices to the given pool. The \fIvdev\fR specification is described in the "Virtual Devices" section. The behavior of the \fB-f\fR option, and the device checks performed are described in the "zpool create" subcommand.
772 .sp
773 .ne 2
774 .mk
775 .na
776 \fB\fB-f\fR\fR
777 .ad
778 .RS 6n
779 .rt  
780 Forces use of \fBvdev\fRs, even if they appear in use or specify a conflicting replication level. Not all devices can be overridden in this manner.
781 .RE
782
783 .sp
784 .ne 2
785 .mk
786 .na
787 \fB\fB-n\fR\fR
788 .ad
789 .RS 6n
790 .rt  
791 Displays the configuration that would be used without actually adding the \fBvdev\fRs. The actual pool creation can still fail due to insufficient privileges or device sharing.
792 .RE
793
794 .sp
795 .ne 2
796 .mk
797 .na
798 \fB\fB-o\fR \fIproperty=value\fR
799 .ad
800 .sp .6
801 .RS 4n
802 Sets the given pool properties. See the "Properties" section for a list of valid properties that can be set. The only property supported at the moment is "ashift".
803 .RE
804
805 Do not add a disk that is currently configured as a quorum device to a zpool. After a disk is in the pool, that disk can then be configured as a quorum device.
806 .RE
807
808 .sp
809 .ne 2
810 .mk
811 .na
812 \fB\fBzpool attach\fR [\fB-f\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fIdevice\fR \fInew_device\fR\fR
813 .ad
814 .sp .6
815 .RS 4n
816 Attaches \fInew_device\fR to an existing \fBzpool\fR device. The existing device cannot be part of a \fBraidz\fR configuration. If \fIdevice\fR is not currently part of a mirrored configuration, \fIdevice\fR automatically transforms into a two-way mirror of \fIdevice\fR and \fInew_device\fR. If \fIdevice\fR is part of a two-way mirror, attaching \fInew_device\fR creates a three-way mirror, and so on. In either case, \fInew_device\fR begins to resilver immediately.
817 .sp
818 .ne 2
819 .mk
820 .na
821 \fB\fB-f\fR\fR
822 .ad
823 .RS 6n
824 .rt  
825 Forces use of \fInew_device\fR, even if its appears to be in use. Not all devices can be overridden in this manner.
826 .RE
827
828 .sp
829 .ne 2
830 .mk
831 .na
832 \fB\fB-o\fR \fIproperty=value\fR
833 .ad
834 .sp .6
835 .RS 4n
836 Sets the given pool properties. See the "Properties" section for a list of valid properties that can be set. The only property supported at the moment is "ashift".
837 .RE
838
839 .RE
840
841 .sp
842 .ne 2
843 .mk
844 .na
845 \fB\fBzpool clear\fR \fIpool\fR [\fIdevice\fR] ...\fR
846 .ad
847 .sp .6
848 .RS 4n
849 Clears device errors in a pool. If no arguments are specified, all device errors within the pool are cleared. If one or more devices is specified, only those errors associated with the specified device or devices are cleared.
850 .RE
851
852 .sp
853 .ne 2
854 .mk
855 .na
856 \fB\fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-O\fR \fIfile-system-property=value\fR] ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] \fIpool\fR \fIvdev\fR ...\fR
857 .ad
858 .sp .6
859 .RS 4n
860 Creates a new storage pool containing the virtual devices specified on the command line. The pool name must begin with a letter, and can only contain alphanumeric characters as well as underscore ("_"), dash ("-"), period ("."), colon (":"), and space (" "). The pool names "mirror", "raidz", "spare" and "log" are reserved, as are names beginning with the pattern "c[0-9]". The \fBvdev\fR specification is described in the "Virtual Devices" section.
861 .sp
862 The command verifies that each device specified is accessible and not currently in use by another subsystem. There are some uses, such as being currently mounted, or specified as the dedicated dump device, that prevents a device from ever being used by \fBZFS\fR. Other uses, such as having a preexisting \fBUFS\fR file system, can be overridden with the \fB-f\fR option.
863 .sp
864 The command also checks that the replication strategy for the pool is consistent. An attempt to combine redundant and non-redundant storage in a single pool, or to mix disks and files, results in an error unless \fB-f\fR is specified. The use of differently sized devices within a single \fBraidz\fR or mirror group is also flagged as an error unless \fB-f\fR is specified.
865 .sp
866 Unless the \fB-R\fR option is specified, the default mount point is "/\fIpool\fR". The mount point must not exist or must be empty, or else the root dataset cannot be mounted. This can be overridden with the \fB-m\fR option.
867 .sp
868 By default all supported features are enabled on the new pool unless the \fB-d\fR option is specified.
869 .sp
870 .ne 2
871 .mk
872 .na
873 \fB\fB-f\fR\fR
874 .ad
875 .sp .6
876 .RS 4n
877 Forces use of \fBvdev\fRs, even if they appear in use or specify a conflicting replication level. Not all devices can be overridden in this manner.
878 .RE
879
880 .sp
881 .ne 2
882 .mk
883 .na
884 \fB\fB-n\fR\fR
885 .ad
886 .sp .6
887 .RS 4n
888 Displays the configuration that would be used without actually creating the pool. The actual pool creation can still fail due to insufficient privileges or device sharing.
889 .RE
890
891 .sp
892 .ne 2
893 .mk
894 .na
895 \fB\fB-d\fR\fR
896 .ad
897 .sp .6
898 .RS 4n
899 Do not enable any features on the new pool. Individual features can be enabled by setting their corresponding properties to \fBenabled\fR with the \fB-o\fR option. See \fBzpool-features\fR(5) for details about feature properties.
900 .RE
901
902 .sp
903 .ne 2
904 .na
905 \fB\fB-o\fR \fIproperty=value\fR [\fB-o\fR \fIproperty=value\fR] ...\fR
906 .ad
907 .sp .6
908 .RS 4n
909 Sets the given pool properties. See the "Properties" section for a list of valid properties that can be set.
910 .RE
911
912 .sp
913 .ne 2
914 .mk
915 .na
916 \fB\fB-O\fR \fIfile-system-property=value\fR\fR
917 .ad
918 .br
919 .na
920 \fB[\fB-O\fR \fIfile-system-property=value\fR] ...\fR
921 .ad
922 .sp .6
923 .RS 4n
924 Sets the given file system properties in the root file system of the pool. See the "Properties" section of \fBzfs\fR(8) for a list of valid properties that can be set.
925 .RE
926
927 .sp
928 .ne 2
929 .mk
930 .na
931 \fB\fB-R\fR \fIroot\fR\fR
932 .ad
933 .sp .6
934 .RS 4n
935 Equivalent to "-o cachefile=none,altroot=\fIroot\fR"
936 .RE
937
938 .sp
939 .ne 2
940 .mk
941 .na
942 \fB\fB-m\fR \fImountpoint\fR\fR
943 .ad
944 .sp .6
945 .RS 4n
946 Sets the mount point for the root dataset. The default mount point is "/\fIpool\fR" or "\fBaltroot\fR/\fIpool\fR" if \fBaltroot\fR is specified. The mount point must be an absolute path, "\fBlegacy\fR", or "\fBnone\fR". For more information on dataset mount points, see \fBzfs\fR(8).
947 .RE
948
949 .RE
950
951 .sp
952 .ne 2
953 .mk
954 .na
955 \fB\fBzpool destroy\fR [\fB-f\fR] \fIpool\fR\fR
956 .ad
957 .sp .6
958 .RS 4n
959 Destroys the given pool, freeing up any devices for other use. This command tries to unmount any active datasets before destroying the pool.
960 .sp
961 .ne 2
962 .mk
963 .na
964 \fB\fB-f\fR\fR
965 .ad
966 .RS 6n
967 .rt  
968 Forces any active datasets contained within the pool to be unmounted.
969 .RE
970
971 .RE
972
973 .sp
974 .ne 2
975 .mk
976 .na
977 \fB\fBzpool detach\fR \fIpool\fR \fIdevice\fR\fR
978 .ad
979 .sp .6
980 .RS 4n
981 Detaches \fIdevice\fR from a mirror. The operation is refused if there are no other valid replicas of the data.
982 .RE
983
984 .sp
985 .ne 2
986 .mk
987 .na
988 \fB\fBzpool export\fR [\fB-f\fR] \fIpool\fR ...\fR
989 .ad
990 .sp .6
991 .RS 4n
992 Exports the given pools from the system. All devices are marked as exported, but are still considered in use by other subsystems. The devices can be moved between systems (even those of different endianness) and imported as long as a sufficient number of devices are present.
993 .sp
994 Before exporting the pool, all datasets within the pool are unmounted. A pool can not be exported if it has a shared spare that is currently being used.
995 .sp
996 For pools to be portable, you must give the \fBzpool\fR command whole disks, not just partitions, so that \fBZFS\fR can label the disks with portable \fBEFI\fR labels. Otherwise, disk drivers on platforms of different endianness will not recognize the disks.
997 .sp
998 .ne 2
999 .mk
1000 .na
1001 \fB\fB-f\fR\fR
1002 .ad
1003 .RS 6n
1004 .rt  
1005 Forcefully unmount all datasets, using the "\fBunmount -f\fR" command.
1006 .sp
1007 This command will forcefully export the pool even if it has a shared spare that is currently being used. This may lead to potential data corruption.
1008 .RE
1009
1010 .RE
1011
1012 .sp
1013 .ne 2
1014 .mk
1015 .na
1016 \fB\fBzpool get\fR "\fIall\fR" | \fIproperty\fR[,...] \fIpool\fR ...\fR
1017 .ad
1018 .sp .6
1019 .RS 4n
1020 Retrieves the given list of properties (or all properties if "\fBall\fR" is used) for the specified storage pool(s). These properties are displayed with the following fields:
1021 .sp
1022 .in +2
1023 .nf
1024        name          Name of storage pool
1025         property      Property name
1026         value         Property value
1027         source        Property source, either 'default' or 'local'.
1028 .fi
1029 .in -2
1030 .sp
1031
1032 See the "Properties" section for more information on the available pool properties.
1033 .RE
1034
1035 .sp
1036 .ne 2
1037 .mk
1038 .na
1039 \fB\fBzpool history\fR [\fB-il\fR] [\fIpool\fR] ...\fR
1040 .ad
1041 .sp .6
1042 .RS 4n
1043 Displays the command history of the specified pools or all pools if no pool is specified.
1044 .sp
1045 .ne 2
1046 .mk
1047 .na
1048 \fB\fB-i\fR\fR
1049 .ad
1050 .RS 6n
1051 .rt  
1052 Displays internally logged \fBZFS\fR events in addition to user initiated events.
1053 .RE
1054
1055 .sp
1056 .ne 2
1057 .mk
1058 .na
1059 \fB\fB-l\fR\fR
1060 .ad
1061 .RS 6n
1062 .rt  
1063 Displays log records in long format, which in addition to standard format includes, the user name, the hostname, and the zone in which the operation was performed.
1064 .RE
1065
1066 .RE
1067
1068 .sp
1069 .ne 2
1070 .mk
1071 .na
1072 \fB\fBzpool import\fR [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR]\fR
1073 .ad
1074 .sp .6
1075 .RS 4n
1076 Lists pools available to import. If the \fB-d\fR option is not specified, this command searches for devices in "/dev". The \fB-d\fR option can be specified multiple times, and all directories are searched. If the device appears to be part of an exported pool, this command displays a summary of the pool with the name of the pool, a numeric identifier, as well as the \fIvdev\fR layout and current health of the device for each device or file. Destroyed pools, pools that were previously destroyed with the "\fBzpool destroy\fR" command, are not listed unless the \fB-D\fR option is specified. 
1077 .sp
1078 The numeric identifier is unique, and can be used instead of the pool name when multiple exported pools of the same name are available.
1079 .sp
1080 .ne 2
1081 .mk
1082 .na
1083 \fB\fB-c\fR \fIcachefile\fR\fR
1084 .ad
1085 .RS 16n
1086 .rt  
1087 Reads configuration from the given \fBcachefile\fR that was created with the "\fBcachefile\fR" pool property. This \fBcachefile\fR is used instead of searching for devices.
1088 .RE
1089
1090 .sp
1091 .ne 2
1092 .mk
1093 .na
1094 \fB\fB-d\fR \fIdir\fR\fR
1095 .ad
1096 .RS 16n
1097 .rt  
1098 Searches for devices or files in \fIdir\fR. The \fB-d\fR option can be specified multiple times. 
1099 .RE
1100
1101 .sp
1102 .ne 2
1103 .mk
1104 .na
1105 \fB\fB-D\fR\fR
1106 .ad
1107 .RS 16n
1108 .rt  
1109 Lists destroyed pools only.
1110 .RE
1111
1112 .RE
1113
1114 .sp
1115 .ne 2
1116 .mk
1117 .na
1118 \fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-N\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fB-a\fR\fR
1119 .ad
1120 .sp .6
1121 .RS 4n
1122 Imports all pools found in the search directories. Identical to the previous command, except that all pools with a sufficient number of devices available are imported. Destroyed pools, pools that were previously destroyed with the "\fBzpool destroy\fR" command, will not be imported unless the \fB-D\fR option is specified.
1123 .sp
1124 .ne 2
1125 .mk
1126 .na
1127 \fB\fB-o\fR \fImntopts\fR\fR
1128 .ad
1129 .RS 21n
1130 .rt  
1131 Comma-separated list of mount options to use when mounting datasets within the pool. See \fBzfs\fR(8) for a description of dataset properties and mount options.
1132 .RE
1133
1134 .sp
1135 .ne 2
1136 .mk
1137 .na
1138 \fB\fB-o\fR \fIproperty=value\fR\fR
1139 .ad
1140 .RS 21n
1141 .rt  
1142 Sets the specified property on the imported pool. See the "Properties" section for more information on the available pool properties.
1143 .RE
1144
1145 .sp
1146 .ne 2
1147 .mk
1148 .na
1149 \fB\fB-c\fR \fIcachefile\fR\fR
1150 .ad
1151 .RS 21n
1152 .rt  
1153 Reads configuration from the given \fBcachefile\fR that was created with the "\fBcachefile\fR" pool property. This \fBcachefile\fR is used instead of searching for devices.
1154 .RE
1155
1156 .sp
1157 .ne 2
1158 .mk
1159 .na
1160 \fB\fB-d\fR \fIdir\fR\fR
1161 .ad
1162 .RS 21n
1163 .rt  
1164 Searches for devices or files in \fIdir\fR. The \fB-d\fR option can be specified multiple times. This option is incompatible with the \fB-c\fR option.
1165 .RE
1166
1167 .sp
1168 .ne 2
1169 .mk
1170 .na
1171 \fB\fB-D\fR\fR
1172 .ad
1173 .RS 21n
1174 .rt  
1175 Imports destroyed pools only. The \fB-f\fR option is also required.
1176 .RE
1177
1178 .sp
1179 .ne 2
1180 .mk
1181 .na
1182 \fB\fB-f\fR\fR
1183 .ad
1184 .RS 21n
1185 .rt  
1186 Forces import, even if the pool appears to be potentially active.
1187 .RE
1188
1189 .sp
1190 .ne 2
1191 .mk
1192 .na
1193 \fB\fB-F\fR\fR
1194 .ad
1195 .RS 21n
1196 Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported.
1197 .RE
1198
1199 .sp
1200 .ne 2
1201 .mk
1202 .na
1203 \fB\fB-a\fR\fR
1204 .ad
1205 .RS 21n
1206 .rt  
1207 Searches for and imports all pools found. 
1208 .RE
1209
1210 .sp
1211 .ne 2
1212 .mk
1213 .na
1214 \fB\fB-m\fR\fR
1215 .ad
1216 .RS 21n
1217 Allows a pool to import when there is a missing log device.
1218 .RE
1219
1220 .sp
1221 .ne 2
1222 .mk
1223 .na
1224 \fB\fB-R\fR \fIroot\fR\fR
1225 .ad
1226 .RS 21n
1227 .rt  
1228 Sets the "\fBcachefile\fR" property to "\fBnone\fR" and the "\fIaltroot\fR" property to "\fIroot\fR".
1229 .RE
1230
1231 .sp
1232 .ne 2
1233 .mk
1234 .na
1235 \fB\fB-N\fR\fR
1236 .ad
1237 .RS 21n
1238 Import the pool without mounting any file systems.
1239 .RE
1240
1241 .sp
1242 .ne 2
1243 .mk
1244 .na
1245 \fB\fB-n\fR\fR
1246 .ad
1247 .RS 21n
1248 Used with the \fB-F\fR recovery option. Determines whether a non-importable pool can be made importable again, but does not actually perform the pool recovery. For more details about pool recovery mode, see the \fB-F\fR option, above.
1249 .RE
1250
1251 .RE
1252
1253 .sp
1254 .ne 2
1255 .mk
1256 .na
1257 \fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fIpool\fR | \fIid\fR [\fInewpool\fR]\fR
1258 .ad
1259 .sp .6
1260 .RS 4n
1261 Imports a specific pool. A pool can be identified by its name or the numeric identifier. If \fInewpool\fR is specified, the pool is imported using the name \fInewpool\fR. Otherwise, it is imported with the same name as its exported name.
1262 .sp
1263 If a device is removed from a system without running "\fBzpool export\fR" first, the device appears as potentially active. It cannot be determined if this was a failed export, or whether the device is really in use from another host. To import a pool in this state, the \fB-f\fR option is required.
1264 .sp
1265 .ne 2
1266 .mk
1267 .na
1268 \fB\fB-o\fR \fImntopts\fR\fR
1269 .ad
1270 .sp .6
1271 .RS 4n
1272 Comma-separated list of mount options to use when mounting datasets within the pool. See \fBzfs\fR(8) for a description of dataset properties and mount options.
1273 .RE
1274
1275 .sp
1276 .ne 2
1277 .mk
1278 .na
1279 \fB\fB-o\fR \fIproperty=value\fR\fR
1280 .ad
1281 .sp .6
1282 .RS 4n
1283 Sets the specified property on the imported pool. See the "Properties" section for more information on the available pool properties.
1284 .RE
1285
1286 .sp
1287 .ne 2
1288 .mk
1289 .na
1290 \fB\fB-c\fR \fIcachefile\fR\fR
1291 .ad
1292 .sp .6
1293 .RS 4n
1294 Reads configuration from the given \fBcachefile\fR that was created with the "\fBcachefile\fR" pool property. This \fBcachefile\fR is used instead of searching for devices.
1295 .RE
1296
1297 .sp
1298 .ne 2
1299 .mk
1300 .na
1301 \fB\fB-d\fR \fIdir\fR\fR
1302 .ad
1303 .sp .6
1304 .RS 4n
1305 Searches for devices or files in \fIdir\fR. The \fB-d\fR option can be specified multiple times. This option is incompatible with the \fB-c\fR option.
1306 .RE
1307
1308 .sp
1309 .ne 2
1310 .mk
1311 .na
1312 \fB\fB-D\fR\fR
1313 .ad
1314 .sp .6
1315 .RS 4n
1316 Imports destroyed pool. The \fB-f\fR option is also required.
1317 .RE
1318
1319 .sp
1320 .ne 2
1321 .mk
1322 .na
1323 \fB\fB-f\fR\fR
1324 .ad
1325 .sp .6
1326 .RS 4n
1327 Forces import, even if the pool appears to be potentially active.
1328 .RE
1329
1330 .sp
1331 .ne 2
1332 .mk
1333 .na
1334 \fB\fB-F\fR\fR
1335 .ad
1336 .sp .6
1337 .RS 4n
1338 Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported.
1339 .RE
1340
1341 .sp
1342 .ne 2
1343 .mk
1344 .na
1345 \fB\fB-R\fR \fIroot\fR\fR
1346 .ad
1347 .sp .6
1348 .RS 4n
1349 Sets the "\fBcachefile\fR" property to "\fBnone\fR" and the "\fIaltroot\fR" property to "\fIroot\fR".
1350 .RE
1351
1352 .sp
1353 .ne 2
1354 .mk
1355 .na
1356 \fB\fB-n\fR\fR
1357 .ad
1358 .sp .6
1359 .RS 4n
1360 Used with the \fB-F\fR recovery option. Determines whether a non-importable pool can be made importable again, but does not actually perform the pool recovery. For more details about pool recovery mode, see the \fB-F\fR option, above.
1361 .RE
1362
1363 .sp
1364 .ne 2
1365 .mk
1366 .na
1367 \fB\fB-m\fR\fR
1368 .ad
1369 .sp .6
1370 .RS 4n
1371 Allows a pool to import when there is a missing log device.
1372 .RE
1373
1374 .RE
1375
1376 .sp
1377 .ne 2
1378 .mk
1379 .na
1380 \fB\fBzpool iostat\fR [\fB-T\fR \fBu\fR | \fBd\fR] [\fB-v\fR] [\fIpool\fR] ... [\fIinterval\fR[\fIcount\fR]]\fR
1381 .ad
1382 .sp .6
1383 .RS 4n
1384 Displays \fBI/O\fR statistics for the given pools. When given an interval, the statistics are printed every \fIinterval\fR seconds until \fBCtrl-C\fR is pressed. If no \fIpools\fR are specified, statistics for every pool in the system is shown. If \fIcount\fR is specified, the command exits after \fIcount\fR reports are printed.
1385 .sp
1386 .ne 2
1387 .mk
1388 .na
1389 \fB\fB-T\fR \fBu\fR | \fBd\fR\fR
1390 .ad
1391 .RS 12n
1392 .rt  
1393 Display a time stamp.
1394 .sp
1395 Specify \fBu\fR for a printed representation of the internal representation of time. See \fBtime\fR(2). Specify \fBd\fR for standard date format. See \fBdate\fR(1).
1396 .RE
1397
1398 .sp
1399 .ne 2
1400 .mk
1401 .na
1402 \fB\fB-v\fR\fR
1403 .ad
1404 .RS 12n
1405 .rt  
1406 Verbose statistics. Reports usage statistics for individual \fIvdevs\fR within the pool, in addition to the pool-wide statistics.
1407 .RE
1408
1409 .RE
1410
1411 .sp
1412 .ne 2
1413 .mk
1414 .na
1415 \fB\fBzpool list\fR [\fB-Hv\fR] [\fB-o\fR \fIprops\fR[,...]] [\fIpool\fR] ...\fR
1416 .ad
1417 .sp .6
1418 .RS 4n
1419 Lists the given pools along with a health status and space usage. When given no arguments, all pools in the system are listed.
1420 .sp
1421 .ne 2
1422 .mk
1423 .na
1424 \fB\fB-H\fR\fR
1425 .ad
1426 .RS 12n
1427 .rt  
1428 Scripted mode. Do not display headers, and separate fields by a single tab instead of arbitrary space.
1429 .RE
1430
1431 .sp
1432 .ne 2
1433 .mk
1434 .na
1435 \fB\fB-o\fR \fIprops\fR\fR
1436 .ad
1437 .RS 12n
1438 .rt  
1439 Comma-separated list of properties to display. See the "Properties" section for a list of valid properties. The default list is "name, size, used, available, expandsize, capacity, dedupratio, health, altroot"
1440 .RE
1441
1442 .sp
1443 .ne 2
1444 .mk
1445 .na
1446 \fB\fB-v\fR\fR
1447 .ad
1448 .RS 12n
1449 .rt
1450 Verbose statistics. Reports usage statistics for individual \fIvdevs\fR within the pool, in addition to the pool-wise statistics.
1451 .RE
1452
1453 .RE
1454
1455 .sp
1456 .ne 2
1457 .mk
1458 .na
1459 \fB\fBzpool offline\fR [\fB-t\fR] \fIpool\fR \fIdevice\fR ...\fR
1460 .ad
1461 .sp .6
1462 .RS 4n
1463 Takes the specified physical device offline. While the \fIdevice\fR is offline, no attempt is made to read or write to the device.
1464 .sp
1465 This command is not applicable to spares or cache devices.
1466 .sp
1467 .ne 2
1468 .mk
1469 .na
1470 \fB\fB-t\fR\fR
1471 .ad
1472 .RS 6n
1473 .rt  
1474 Temporary. Upon reboot, the specified physical device reverts to its previous state.
1475 .RE
1476
1477 .RE
1478
1479 .sp
1480 .ne 2
1481 .mk
1482 .na
1483 \fB\fBzpool online\fR [\fB-e\fR] \fIpool\fR \fIdevice\fR...\fR
1484 .ad
1485 .sp .6
1486 .RS 4n
1487 Brings the specified physical device online.
1488 .sp
1489 This command is not applicable to spares or cache devices.
1490 .sp
1491 .ne 2
1492 .mk
1493 .na
1494 \fB\fB-e\fR\fR
1495 .ad
1496 .RS 6n
1497 .rt  
1498 Expand the device to use all available space. If the device is part of a mirror or \fBraidz\fR then all devices must be expanded before the new space will become available to the pool.
1499 .RE
1500
1501 .RE
1502
1503 .sp
1504 .ne 2
1505 .mk
1506 .na
1507 \fB\fBzpool reguid\fR \fIpool\fR
1508 .ad
1509 .sp .6
1510 .RS 4n
1511 Generates a new unique identifier for the pool.  You must ensure that all devices in this pool are online and
1512 healthy before performing this action.
1513 .RE
1514
1515 .sp
1516 .ne 2
1517 .na
1518 \fB\fBzpool remove\fR \fIpool\fR \fIdevice\fR ...\fR
1519 .ad
1520 .sp .6
1521 .RS 4n
1522 Removes the specified device from the pool. This command currently only supports removing hot spares, cache, and log devices. A mirrored log device can be removed by specifying the top-level mirror for the log. Non-log devices that are part of a mirrored configuration can be removed using the \fBzpool detach\fR command. Non-redundant and \fBraidz\fR devices cannot be removed from a pool.
1523 .RE
1524
1525 .sp
1526 .ne 2
1527 .mk
1528 .na
1529 \fB\fBzpool replace\fR [\fB-f\fR] \fIpool\fR \fIold_device\fR [\fInew_device\fR]\fR
1530 .ad
1531 .sp .6
1532 .RS 4n
1533 Replaces \fIold_device\fR with \fInew_device\fR. This is equivalent to attaching \fInew_device\fR, waiting for it to resilver, and then detaching \fIold_device\fR.
1534 .sp
1535 The size of \fInew_device\fR must be greater than or equal to the minimum size of all the devices in a mirror or \fBraidz\fR configuration.
1536 .sp
1537 \fInew_device\fR is required if the pool is not redundant. If \fInew_device\fR is not specified, it defaults to \fIold_device\fR. This form of replacement is useful after an existing disk has failed and has been physically replaced. In this case, the new disk may have the same \fB/dev\fR path as the old device, even though it is actually a different disk. \fBZFS\fR recognizes this.
1538 .sp
1539 .ne 2
1540 .mk
1541 .na
1542 \fB\fB-f\fR\fR
1543 .ad
1544 .RS 6n
1545 .rt  
1546 Forces use of \fInew_device\fR, even if its appears to be in use. Not all devices can be overridden in this manner.
1547 .RE
1548
1549 .RE
1550
1551 .sp
1552 .ne 2
1553 .mk
1554 .na
1555 \fB\fBzpool scrub\fR [\fB-s\fR] \fIpool\fR ...\fR
1556 .ad
1557 .sp .6
1558 .RS 4n
1559 Begins a scrub. The scrub examines all data in the specified pools to verify that it checksums correctly. For replicated (mirror or \fBraidz\fR) devices, \fBZFS\fR automatically repairs any damage discovered during the scrub. The "\fBzpool status\fR" command reports the progress of the scrub and summarizes the results of the scrub upon completion.
1560 .sp
1561 Scrubbing and resilvering are very similar operations. The difference is that resilvering only examines data that \fBZFS\fR knows to be out of date (for example, when attaching a new device to a mirror or replacing an existing device), whereas scrubbing examines all data to discover silent errors due to hardware faults or disk failure.
1562 .sp
1563 Because scrubbing and resilvering are \fBI/O\fR-intensive operations, \fBZFS\fR only allows one at a time. If a scrub is already in progress, the "\fBzpool scrub\fR" command terminates it and starts a new scrub. If a resilver is in progress, \fBZFS\fR does not allow a scrub to be started until the resilver completes.
1564 .sp
1565 .ne 2
1566 .mk
1567 .na
1568 \fB\fB-s\fR\fR
1569 .ad
1570 .RS 6n
1571 .rt  
1572 Stop scrubbing.
1573 .RE
1574
1575 .RE
1576
1577 .sp
1578 .ne 2
1579 .mk
1580 .na
1581 \fB\fBzpool set\fR \fIproperty\fR=\fIvalue\fR \fIpool\fR\fR
1582 .ad
1583 .sp .6
1584 .RS 4n
1585 Sets the given property on the specified pool. See the "Properties" section for more information on what properties can be set and acceptable values.
1586 .RE
1587
1588 .sp
1589 .ne 2
1590 .mk
1591 .na
1592 \fB\fBzpool status\fR [\fB-xv\fR] [\fIpool\fR] ...\fR
1593 .ad
1594 .sp .6
1595 .RS 4n
1596 Displays the detailed health status for the given pools. If no \fIpool\fR is specified, then the status of each pool in the system is displayed. For more information on pool and device health, see the "Device Failure and Recovery" section.
1597 .sp
1598 If a scrub or resilver is in progress, this command reports the percentage done and the estimated time to completion. Both of these are only approximate, because the amount of data in the pool and the other workloads on the system can change.
1599 .sp
1600 .ne 2
1601 .mk
1602 .na
1603 \fB\fB-x\fR\fR
1604 .ad
1605 .RS 6n
1606 .rt  
1607 Only display status for pools that are exhibiting errors or are otherwise unavailable. Warnings about pools not using the latest on-disk format will not be included.
1608 .RE
1609
1610 .sp
1611 .ne 2
1612 .mk
1613 .na
1614 \fB\fB-v\fR\fR
1615 .ad
1616 .RS 6n
1617 .rt  
1618 Displays verbose data error information, printing out a complete list of all data errors since the last complete pool scrub.
1619 .RE
1620
1621 .RE
1622
1623 .sp
1624 .ne 2
1625 .mk
1626 .na
1627 \fB\fBzpool upgrade\fR\fR
1628 .ad
1629 .sp .6
1630 .RS 4n
1631 Displays pools which do not have all supported features enabled and pools formatted using a legacy ZFS version number. These pools can continue to be used, but some features may not be available. Use "\fBzpool upgrade -a\fR" to enable all features on all pools.
1632 .RE
1633
1634 .sp
1635 .ne 2
1636 .mk
1637 .na
1638 \fB\fBzpool upgrade\fR \fB-v\fR\fR
1639 .ad
1640 .sp .6
1641 .RS 4n
1642 Displays legacy \fBZFS\fR versions supported by the current software. See \fBzfs-features\fR(5) for a description of feature flags features supported by the current software.
1643 .RE
1644
1645 .sp
1646 .ne 2
1647 .mk
1648 .na
1649 \fB\fBzpool upgrade\fR [\fB-V\fR \fIversion\fR] \fB-a\fR | \fIpool\fR ...\fR
1650 .ad
1651 .sp .6
1652 .RS 4n
1653 Enables all supported features on the given pool. Once this is done, the pool will no longer be accessible on systems that do not support feature flags. See \fBzfs-features\fR(5) for details on compatability with systems that support feature flags, but do not support all features enabled on the pool.
1654 .sp
1655 .ne 2
1656 .mk
1657 .na
1658 \fB\fB-a\fR\fR
1659 .ad
1660 .RS 14n
1661 .rt
1662 Enables all supported features on all pools.
1663 .RE
1664
1665 .sp
1666 .ne 2
1667 .mk
1668 .na
1669 \fB\fB-V\fR \fIversion\fR\fR
1670 .ad
1671 .RS 14n
1672 .rt
1673 Upgrade to the specified legacy version. If the \fB-V\fR flag is specified, no features will be enabled on the pool. This option can only be used to increase the version number up to the last supported legacy version number.
1674 .RE
1675
1676 .RE
1677
1678 .SH EXAMPLES
1679 .LP
1680 \fBExample 1 \fRCreating a RAID-Z Storage Pool
1681 .sp
1682 .LP
1683 The following command creates a pool with a single \fBraidz\fR root \fIvdev\fR that consists of six disks.
1684
1685 .sp
1686 .in +2
1687 .nf
1688 # \fBzpool create tank raidz sda sdb sdc sdd sde sdf\fR
1689 .fi
1690 .in -2
1691 .sp
1692
1693 .LP
1694 \fBExample 2 \fRCreating a Mirrored Storage Pool
1695 .sp
1696 .LP
1697 The following command creates a pool with two mirrors, where each mirror contains two disks.
1698
1699 .sp
1700 .in +2
1701 .nf
1702 # \fBzpool create tank mirror sda sdb mirror sdc sdd\fR
1703 .fi
1704 .in -2
1705 .sp
1706
1707 .LP
1708 \fBExample 3 \fRCreating a ZFS Storage Pool by Using Partitions
1709 .sp
1710 .LP
1711 The following command creates an unmirrored pool using two disk partitions.
1712
1713 .sp
1714 .in +2
1715 .nf
1716 # \fBzpool create tank sda1 sdb2\fR
1717 .fi
1718 .in -2
1719 .sp
1720
1721 .LP
1722 \fBExample 4 \fRCreating a ZFS Storage Pool by Using Files
1723 .sp
1724 .LP
1725 The following command creates an unmirrored pool using files. While not recommended, a pool based on files can be useful for experimental purposes.
1726
1727 .sp
1728 .in +2
1729 .nf
1730 # \fBzpool create tank /path/to/file/a /path/to/file/b\fR
1731 .fi
1732 .in -2
1733 .sp
1734
1735 .LP
1736 \fBExample 5 \fRAdding a Mirror to a ZFS Storage Pool
1737 .sp
1738 .LP
1739 The following command adds two mirrored disks to the pool \fItank\fR, assuming the pool is already made up of two-way mirrors. The additional space is immediately available to any datasets within the pool.
1740
1741 .sp
1742 .in +2
1743 .nf
1744 # \fBzpool add tank mirror sda sdb\fR
1745 .fi
1746 .in -2
1747 .sp
1748
1749 .LP
1750 \fBExample 6 \fRListing Available ZFS Storage Pools
1751 .sp
1752 .LP
1753 The following command lists all available pools on the system. In this case, the pool \fIzion\fR is faulted due to a missing device.
1754
1755 .sp
1756 .LP
1757 The results from this command are similar to the following:
1758
1759 .sp
1760 .in +2
1761 .nf
1762 # \fBzpool list\fR
1763      NAME    SIZE  ALLOC   FREE  EXPANDSZ    CAP  DEDUP  HEALTH  ALTROOT
1764      rpool  19.9G  8.43G  11.4G         -    42%  1.00x  ONLINE  -
1765      tank   61.5G  20.0G  41.5G         -    32%  1.00x  ONLINE  -
1766      zion       -      -      -         -      -      -  FAULTED -
1767 .fi
1768 .in -2
1769 .sp
1770
1771 .LP
1772 \fBExample 7 \fRDestroying a ZFS Storage Pool
1773 .sp
1774 .LP
1775 The following command destroys the pool \fItank\fR and any datasets contained within.
1776
1777 .sp
1778 .in +2
1779 .nf
1780 # \fBzpool destroy -f tank\fR
1781 .fi
1782 .in -2
1783 .sp
1784
1785 .LP
1786 \fBExample 8 \fRExporting a ZFS Storage Pool
1787 .sp
1788 .LP
1789 The following command exports the devices in pool \fItank\fR so that they can be relocated or later imported.
1790
1791 .sp
1792 .in +2
1793 .nf
1794 # \fBzpool export tank\fR
1795 .fi
1796 .in -2
1797 .sp
1798
1799 .LP
1800 \fBExample 9 \fRImporting a ZFS Storage Pool
1801 .sp
1802 .LP
1803 The following command displays available pools, and then imports the pool \fItank\fR for use on the system.
1804
1805 .sp
1806 .LP
1807 The results from this command are similar to the following:
1808
1809 .sp
1810 .in +2
1811 .nf
1812 # \fBzpool import\fR
1813   pool: tank
1814     id: 15451357997522795478
1815  state: ONLINE
1816 action: The pool can be imported using its name or numeric identifier.
1817 config:
1818
1819         tank        ONLINE
1820           mirror    ONLINE
1821             sda     ONLINE
1822             sdb     ONLINE
1823
1824 # \fBzpool import tank\fR
1825 .fi
1826 .in -2
1827 .sp
1828
1829 .LP
1830 \fBExample 10 \fRUpgrading All ZFS Storage Pools to the Current Version
1831 .sp
1832 .LP
1833 The following command upgrades all ZFS Storage pools to the current version of the software.
1834
1835 .sp
1836 .in +2
1837 .nf
1838 # \fBzpool upgrade -a\fR
1839 This system is currently running ZFS pool version 28.
1840 .fi
1841 .in -2
1842 .sp
1843
1844 .LP
1845 \fBExample 11 \fRManaging Hot Spares
1846 .sp
1847 .LP
1848 The following command creates a new pool with an available hot spare:
1849
1850 .sp
1851 .in +2
1852 .nf
1853 # \fBzpool create tank mirror sda sdb spare sdc\fR
1854 .fi
1855 .in -2
1856 .sp
1857
1858 .sp
1859 .LP
1860 If one of the disks were to fail, the pool would be reduced to the degraded state. The failed device can be replaced using the following command:
1861
1862 .sp
1863 .in +2
1864 .nf
1865 # \fBzpool replace tank sda sdd\fR
1866 .fi
1867 .in -2
1868 .sp
1869
1870 .sp
1871 .LP
1872 Once the data has been resilvered, the spare is automatically removed and is made available for use should another device fails. The hot spare can be permanently removed from the pool using the following command:
1873
1874 .sp
1875 .in +2
1876 .nf
1877 # \fBzpool remove tank sdc\fR
1878 .fi
1879 .in -2
1880 .sp
1881
1882 .LP
1883 \fBExample 12 \fRCreating a ZFS Pool with Mirrored Separate Intent Logs
1884 .sp
1885 .LP
1886 The following command creates a ZFS storage pool consisting of two, two-way mirrors and mirrored log devices:
1887
1888 .sp
1889 .in +2
1890 .nf
1891 # \fBzpool create pool mirror sda sdb mirror sdc sdd log mirror \e
1892    sde sdf\fR
1893 .fi
1894 .in -2
1895 .sp
1896
1897 .LP
1898 \fBExample 13 \fRAdding Cache Devices to a ZFS Pool
1899 .sp
1900 .LP
1901 The following command adds two disks for use as cache devices to a ZFS storage pool:
1902
1903 .sp
1904 .in +2
1905 .nf
1906 # \fBzpool add pool cache sdc sdd\fR
1907 .fi
1908 .in -2
1909 .sp
1910
1911 .sp
1912 .LP
1913 Once added, the cache devices gradually fill with content from main memory. Depending on the size of your cache devices, it could take over an hour for them to fill. Capacity and reads can be monitored using the \fBiostat\fR option as follows: 
1914
1915 .sp
1916 .in +2
1917 .nf
1918 # \fBzpool iostat -v pool 5\fR
1919 .fi
1920 .in -2
1921 .sp
1922
1923 .LP
1924 \fBExample 14 \fRRemoving a Mirrored Log Device
1925 .sp
1926 .LP
1927 The following command removes the mirrored log device \fBmirror-2\fR.
1928
1929 .sp
1930 .LP
1931 Given this configuration:
1932
1933 .sp
1934 .in +2
1935 .nf
1936    pool: tank
1937   state: ONLINE
1938   scrub: none requested
1939 config:
1940
1941          NAME        STATE     READ WRITE CKSUM
1942          tank        ONLINE       0     0     0
1943            mirror-0  ONLINE       0     0     0
1944              sda     ONLINE       0     0     0
1945              sdb     ONLINE       0     0     0
1946            mirror-1  ONLINE       0     0     0
1947              sdc     ONLINE       0     0     0
1948              sdd     ONLINE       0     0     0
1949          logs
1950            mirror-2  ONLINE       0     0     0
1951              sde     ONLINE       0     0     0
1952              sdf     ONLINE       0     0     0
1953 .fi
1954 .in -2
1955 .sp
1956
1957 .sp
1958 .LP
1959 The command to remove the mirrored log \fBmirror-2\fR is:
1960
1961 .sp
1962 .in +2
1963 .nf
1964 # \fBzpool remove tank mirror-2\fR
1965 .fi
1966 .in -2
1967 .sp
1968
1969 .LP
1970 \fBExample 15 \fRDisplaying expanded space on a device
1971 .sp
1972 .LP
1973 The following command dipslays the detailed information for the \fIdata\fR
1974 pool. This pool is comprised of a single \fIraidz\fR vdev where one of its
1975 devices increased its capacity by 1GB. In this example, the pool will not 
1976 be able to utilized this extra capacity until all the devices under the
1977 \fIraidz\fR vdev have been expanded.
1978
1979 .sp
1980 .in +2
1981 .nf
1982 # \fBzpool list -v data\fR
1983    NAME         SIZE  ALLOC   FREE  EXPANDSZ    CAP  DEDUP  HEALTH  ALTROOT
1984    data        17.9G   174K  17.9G         -     0%  1.00x  ONLINE  -
1985      raidz1    17.9G   174K  17.9G         -
1986        c4t2d0      -      -      -        1G
1987        c4t3d0      -      -      -         -
1988        c4t4d0      -      -      -         - 
1989 .fi
1990 .in -2
1991
1992 .SH EXIT STATUS
1993 .sp
1994 .LP
1995 The following exit values are returned:
1996 .sp
1997 .ne 2
1998 .mk
1999 .na
2000 \fB\fB0\fR\fR
2001 .ad
2002 .RS 5n
2003 .rt  
2004 Successful completion. 
2005 .RE
2006
2007 .sp
2008 .ne 2
2009 .mk
2010 .na
2011 \fB\fB1\fR\fR
2012 .ad
2013 .RS 5n
2014 .rt  
2015 An error occurred.
2016 .RE
2017
2018 .sp
2019 .ne 2
2020 .mk
2021 .na
2022 \fB\fB2\fR\fR
2023 .ad
2024 .RS 5n
2025 .rt  
2026 Invalid command line options were specified.
2027 .RE
2028
2029 .SH SEE ALSO
2030 .sp
2031 .LP
2032 \fBzfs\fR(8), \fBzpool-features\fR(5)