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