xref: /freebsd/sys/contrib/openzfs/man/man8/zpool-import.8 (revision eda14cbc264d6969b02f2b1994cef11148e914f1)
1*eda14cbcSMatt Macy.\"
2*eda14cbcSMatt Macy.\" CDDL HEADER START
3*eda14cbcSMatt Macy.\"
4*eda14cbcSMatt Macy.\" The contents of this file are subject to the terms of the
5*eda14cbcSMatt Macy.\" Common Development and Distribution License (the "License").
6*eda14cbcSMatt Macy.\" You may not use this file except in compliance with the License.
7*eda14cbcSMatt Macy.\"
8*eda14cbcSMatt Macy.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*eda14cbcSMatt Macy.\" or http://www.opensolaris.org/os/licensing.
10*eda14cbcSMatt Macy.\" See the License for the specific language governing permissions
11*eda14cbcSMatt Macy.\" and limitations under the License.
12*eda14cbcSMatt Macy.\"
13*eda14cbcSMatt Macy.\" When distributing Covered Code, include this CDDL HEADER in each
14*eda14cbcSMatt Macy.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*eda14cbcSMatt Macy.\" If applicable, add the following below this CDDL HEADER, with the
16*eda14cbcSMatt Macy.\" fields enclosed by brackets "[]" replaced with your own identifying
17*eda14cbcSMatt Macy.\" information: Portions Copyright [yyyy] [name of copyright owner]
18*eda14cbcSMatt Macy.\"
19*eda14cbcSMatt Macy.\" CDDL HEADER END
20*eda14cbcSMatt Macy.\"
21*eda14cbcSMatt Macy.\"
22*eda14cbcSMatt Macy.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
23*eda14cbcSMatt Macy.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
24*eda14cbcSMatt Macy.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
25*eda14cbcSMatt Macy.\" Copyright (c) 2017 Datto Inc.
26*eda14cbcSMatt Macy.\" Copyright (c) 2018 George Melikov. All Rights Reserved.
27*eda14cbcSMatt Macy.\" Copyright 2017 Nexenta Systems, Inc.
28*eda14cbcSMatt Macy.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
29*eda14cbcSMatt Macy.\"
30*eda14cbcSMatt Macy.Dd August 9, 2019
31*eda14cbcSMatt Macy.Dt ZPOOL-IMPORT 8
32*eda14cbcSMatt Macy.Os
33*eda14cbcSMatt Macy.Sh NAME
34*eda14cbcSMatt Macy.Nm zpool Ns Pf - Cm import
35*eda14cbcSMatt Macy.Nd Lists ZFS storage pools available to import or import the specified pools
36*eda14cbcSMatt Macy.Sh SYNOPSIS
37*eda14cbcSMatt Macy.Nm
38*eda14cbcSMatt Macy.Cm import
39*eda14cbcSMatt Macy.Op Fl D
40*eda14cbcSMatt Macy.Op Fl d Ar dir Ns | Ns device
41*eda14cbcSMatt Macy.Nm
42*eda14cbcSMatt Macy.Cm import
43*eda14cbcSMatt Macy.Fl a
44*eda14cbcSMatt Macy.Op Fl DflmN
45*eda14cbcSMatt Macy.Op Fl F Oo Fl n Oc Oo Fl T Oc Oo Fl X Oc
46*eda14cbcSMatt Macy.Op Fl -rewind-to-checkpoint
47*eda14cbcSMatt Macy.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns device
48*eda14cbcSMatt Macy.Op Fl o Ar mntopts
49*eda14cbcSMatt Macy.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
50*eda14cbcSMatt Macy.Op Fl R Ar root
51*eda14cbcSMatt Macy.Nm
52*eda14cbcSMatt Macy.Cm import
53*eda14cbcSMatt Macy.Op Fl Dflm
54*eda14cbcSMatt Macy.Op Fl F Oo Fl n Oc Oo Fl T Oc Oo Fl X Oc
55*eda14cbcSMatt Macy.Op Fl -rewind-to-checkpoint
56*eda14cbcSMatt Macy.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns device
57*eda14cbcSMatt Macy.Op Fl o Ar mntopts
58*eda14cbcSMatt Macy.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
59*eda14cbcSMatt Macy.Op Fl R Ar root
60*eda14cbcSMatt Macy.Op Fl s
61*eda14cbcSMatt Macy.Ar pool Ns | Ns Ar id
62*eda14cbcSMatt Macy.Op Ar newpool Oo Fl t Oc
63*eda14cbcSMatt Macy.Sh DESCRIPTION
64*eda14cbcSMatt Macy.Bl -tag -width Ds
65*eda14cbcSMatt Macy.It Xo
66*eda14cbcSMatt Macy.Nm
67*eda14cbcSMatt Macy.Cm import
68*eda14cbcSMatt Macy.Op Fl D
69*eda14cbcSMatt Macy.Op Fl d Ar dir Ns | Ns device
70*eda14cbcSMatt Macy.Xc
71*eda14cbcSMatt MacyLists pools available to import.
72*eda14cbcSMatt MacyIf the
73*eda14cbcSMatt Macy.Fl d or
74*eda14cbcSMatt Macy.Fl c
75*eda14cbcSMatt Macyoptions are not specified, this command searches for devices using libblkid
76*eda14cbcSMatt Macyon Linux and geom on FreeBSD.
77*eda14cbcSMatt MacyThe
78*eda14cbcSMatt Macy.Fl d
79*eda14cbcSMatt Macyoption can be specified multiple times, and all directories are searched.
80*eda14cbcSMatt MacyIf the device appears to be part of an exported pool, this command displays a
81*eda14cbcSMatt Macysummary of the pool with the name of the pool, a numeric identifier, as well as
82*eda14cbcSMatt Macythe vdev layout and current health of the device for each device or file.
83*eda14cbcSMatt MacyDestroyed pools, pools that were previously destroyed with the
84*eda14cbcSMatt Macy.Nm zpool Cm destroy
85*eda14cbcSMatt Macycommand, are not listed unless the
86*eda14cbcSMatt Macy.Fl D
87*eda14cbcSMatt Macyoption is specified.
88*eda14cbcSMatt Macy.Pp
89*eda14cbcSMatt MacyThe numeric identifier is unique, and can be used instead of the pool name when
90*eda14cbcSMatt Macymultiple exported pools of the same name are available.
91*eda14cbcSMatt Macy.Bl -tag -width Ds
92*eda14cbcSMatt Macy.It Fl c Ar cachefile
93*eda14cbcSMatt MacyReads configuration from the given
94*eda14cbcSMatt Macy.Ar cachefile
95*eda14cbcSMatt Macythat was created with the
96*eda14cbcSMatt Macy.Sy cachefile
97*eda14cbcSMatt Macypool property.
98*eda14cbcSMatt MacyThis
99*eda14cbcSMatt Macy.Ar cachefile
100*eda14cbcSMatt Macyis used instead of searching for devices.
101*eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
102*eda14cbcSMatt MacyUses
103*eda14cbcSMatt Macy.Ar device
104*eda14cbcSMatt Macyor searches for devices or files in
105*eda14cbcSMatt Macy.Ar dir .
106*eda14cbcSMatt MacyThe
107*eda14cbcSMatt Macy.Fl d
108*eda14cbcSMatt Macyoption can be specified multiple times.
109*eda14cbcSMatt Macy.It Fl D
110*eda14cbcSMatt MacyLists destroyed pools only.
111*eda14cbcSMatt Macy.El
112*eda14cbcSMatt Macy.It Xo
113*eda14cbcSMatt Macy.Nm
114*eda14cbcSMatt Macy.Cm import
115*eda14cbcSMatt Macy.Fl a
116*eda14cbcSMatt Macy.Op Fl DflmN
117*eda14cbcSMatt Macy.Op Fl F Oo Fl n Oc Oo Fl T Oc Oo Fl X Oc
118*eda14cbcSMatt Macy.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns device
119*eda14cbcSMatt Macy.Op Fl o Ar mntopts
120*eda14cbcSMatt Macy.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
121*eda14cbcSMatt Macy.Op Fl R Ar root
122*eda14cbcSMatt Macy.Op Fl s
123*eda14cbcSMatt Macy.Xc
124*eda14cbcSMatt MacyImports all pools found in the search directories.
125*eda14cbcSMatt MacyIdentical to the previous command, except that all pools with a sufficient
126*eda14cbcSMatt Macynumber of devices available are imported.
127*eda14cbcSMatt MacyDestroyed pools, pools that were previously destroyed with the
128*eda14cbcSMatt Macy.Nm zpool Cm destroy
129*eda14cbcSMatt Macycommand, will not be imported unless the
130*eda14cbcSMatt Macy.Fl D
131*eda14cbcSMatt Macyoption is specified.
132*eda14cbcSMatt Macy.Bl -tag -width Ds
133*eda14cbcSMatt Macy.It Fl a
134*eda14cbcSMatt MacySearches for and imports all pools found.
135*eda14cbcSMatt Macy.It Fl c Ar cachefile
136*eda14cbcSMatt MacyReads configuration from the given
137*eda14cbcSMatt Macy.Ar cachefile
138*eda14cbcSMatt Macythat was created with the
139*eda14cbcSMatt Macy.Sy cachefile
140*eda14cbcSMatt Macypool property.
141*eda14cbcSMatt MacyThis
142*eda14cbcSMatt Macy.Ar cachefile
143*eda14cbcSMatt Macyis used instead of searching for devices.
144*eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
145*eda14cbcSMatt MacyUses
146*eda14cbcSMatt Macy.Ar device
147*eda14cbcSMatt Macyor searches for devices or files in
148*eda14cbcSMatt Macy.Ar dir .
149*eda14cbcSMatt MacyThe
150*eda14cbcSMatt Macy.Fl d
151*eda14cbcSMatt Macyoption can be specified multiple times.
152*eda14cbcSMatt MacyThis option is incompatible with the
153*eda14cbcSMatt Macy.Fl c
154*eda14cbcSMatt Macyoption.
155*eda14cbcSMatt Macy.It Fl D
156*eda14cbcSMatt MacyImports destroyed pools only.
157*eda14cbcSMatt MacyThe
158*eda14cbcSMatt Macy.Fl f
159*eda14cbcSMatt Macyoption is also required.
160*eda14cbcSMatt Macy.It Fl f
161*eda14cbcSMatt MacyForces import, even if the pool appears to be potentially active.
162*eda14cbcSMatt Macy.It Fl F
163*eda14cbcSMatt MacyRecovery mode for a non-importable pool.
164*eda14cbcSMatt MacyAttempt to return the pool to an importable state by discarding the last few
165*eda14cbcSMatt Macytransactions.
166*eda14cbcSMatt MacyNot all damaged pools can be recovered by using this option.
167*eda14cbcSMatt MacyIf successful, the data from the discarded transactions is irretrievably lost.
168*eda14cbcSMatt MacyThis option is ignored if the pool is importable or already imported.
169*eda14cbcSMatt Macy.It Fl l
170*eda14cbcSMatt MacyIndicates that this command will request encryption keys for all encrypted
171*eda14cbcSMatt Macydatasets it attempts to mount as it is bringing the pool online. Note that if
172*eda14cbcSMatt Macyany datasets have a
173*eda14cbcSMatt Macy.Sy keylocation
174*eda14cbcSMatt Macyof
175*eda14cbcSMatt Macy.Sy prompt
176*eda14cbcSMatt Macythis command will block waiting for the keys to be entered. Without this flag
177*eda14cbcSMatt Macyencrypted datasets will be left unavailable until the keys are loaded.
178*eda14cbcSMatt Macy.It Fl m
179*eda14cbcSMatt MacyAllows a pool to import when there is a missing log device.
180*eda14cbcSMatt MacyRecent transactions can be lost because the log device will be discarded.
181*eda14cbcSMatt Macy.It Fl n
182*eda14cbcSMatt MacyUsed with the
183*eda14cbcSMatt Macy.Fl F
184*eda14cbcSMatt Macyrecovery option.
185*eda14cbcSMatt MacyDetermines whether a non-importable pool can be made importable again, but does
186*eda14cbcSMatt Macynot actually perform the pool recovery.
187*eda14cbcSMatt MacyFor more details about pool recovery mode, see the
188*eda14cbcSMatt Macy.Fl F
189*eda14cbcSMatt Macyoption, above.
190*eda14cbcSMatt Macy.It Fl N
191*eda14cbcSMatt MacyImport the pool without mounting any file systems.
192*eda14cbcSMatt Macy.It Fl o Ar mntopts
193*eda14cbcSMatt MacyComma-separated list of mount options to use when mounting datasets within the
194*eda14cbcSMatt Macypool.
195*eda14cbcSMatt MacySee
196*eda14cbcSMatt Macy.Xr zfs 8
197*eda14cbcSMatt Macyfor a description of dataset properties and mount options.
198*eda14cbcSMatt Macy.It Fl o Ar property Ns = Ns Ar value
199*eda14cbcSMatt MacySets the specified property on the imported pool.
200*eda14cbcSMatt MacySee the
201*eda14cbcSMatt Macy.Xr zpoolprops
202*eda14cbcSMatt Macymanual page for more information on the available pool properties.
203*eda14cbcSMatt Macy.It Fl R Ar root
204*eda14cbcSMatt MacySets the
205*eda14cbcSMatt Macy.Sy cachefile
206*eda14cbcSMatt Macyproperty to
207*eda14cbcSMatt Macy.Sy none
208*eda14cbcSMatt Macyand the
209*eda14cbcSMatt Macy.Sy altroot
210*eda14cbcSMatt Macyproperty to
211*eda14cbcSMatt Macy.Ar root .
212*eda14cbcSMatt Macy.It Fl -rewind-to-checkpoint
213*eda14cbcSMatt MacyRewinds pool to the checkpointed state.
214*eda14cbcSMatt MacyOnce the pool is imported with this flag there is no way to undo the rewind.
215*eda14cbcSMatt MacyAll changes and data that were written after the checkpoint are lost!
216*eda14cbcSMatt MacyThe only exception is when the
217*eda14cbcSMatt Macy.Sy readonly
218*eda14cbcSMatt Macymounting option is enabled.
219*eda14cbcSMatt MacyIn this case, the checkpointed state of the pool is opened and an
220*eda14cbcSMatt Macyadministrator can see how the pool would look like if they were
221*eda14cbcSMatt Macyto fully rewind.
222*eda14cbcSMatt Macy.It Fl s
223*eda14cbcSMatt MacyScan using the default search path, the libblkid cache will not be
224*eda14cbcSMatt Macyconsulted. A custom search path may be specified by setting the
225*eda14cbcSMatt MacyZPOOL_IMPORT_PATH environment variable.
226*eda14cbcSMatt Macy.It Fl X
227*eda14cbcSMatt MacyUsed with the
228*eda14cbcSMatt Macy.Fl F
229*eda14cbcSMatt Macyrecovery option. Determines whether extreme
230*eda14cbcSMatt Macymeasures to find a valid txg should take place. This allows the pool to
231*eda14cbcSMatt Macybe rolled back to a txg which is no longer guaranteed to be consistent.
232*eda14cbcSMatt MacyPools imported at an inconsistent txg may contain uncorrectable
233*eda14cbcSMatt Macychecksum errors. For more details about pool recovery mode, see the
234*eda14cbcSMatt Macy.Fl F
235*eda14cbcSMatt Macyoption, above. WARNING: This option can be extremely hazardous to the
236*eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
237*eda14cbcSMatt Macy.It Fl T
238*eda14cbcSMatt MacySpecify the txg to use for rollback. Implies
239*eda14cbcSMatt Macy.Fl FX .
240*eda14cbcSMatt MacyFor more details
241*eda14cbcSMatt Macyabout pool recovery mode, see the
242*eda14cbcSMatt Macy.Fl X
243*eda14cbcSMatt Macyoption, above. WARNING: This option can be extremely hazardous to the
244*eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
245*eda14cbcSMatt Macy.El
246*eda14cbcSMatt Macy.It Xo
247*eda14cbcSMatt Macy.Nm
248*eda14cbcSMatt Macy.Cm import
249*eda14cbcSMatt Macy.Op Fl Dflm
250*eda14cbcSMatt Macy.Op Fl F Oo Fl n Oc Oo Fl t Oc Oo Fl T Oc Oo Fl X Oc
251*eda14cbcSMatt Macy.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns device
252*eda14cbcSMatt Macy.Op Fl o Ar mntopts
253*eda14cbcSMatt Macy.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
254*eda14cbcSMatt Macy.Op Fl R Ar root
255*eda14cbcSMatt Macy.Op Fl s
256*eda14cbcSMatt Macy.Ar pool Ns | Ns Ar id
257*eda14cbcSMatt Macy.Op Ar newpool
258*eda14cbcSMatt Macy.Xc
259*eda14cbcSMatt MacyImports a specific pool.
260*eda14cbcSMatt MacyA pool can be identified by its name or the numeric identifier.
261*eda14cbcSMatt MacyIf
262*eda14cbcSMatt Macy.Ar newpool
263*eda14cbcSMatt Macyis specified, the pool is imported using the name
264*eda14cbcSMatt Macy.Ar newpool .
265*eda14cbcSMatt MacyOtherwise, it is imported with the same name as its exported name.
266*eda14cbcSMatt Macy.Pp
267*eda14cbcSMatt MacyIf a device is removed from a system without running
268*eda14cbcSMatt Macy.Nm zpool Cm export
269*eda14cbcSMatt Macyfirst, the device appears as potentially active.
270*eda14cbcSMatt MacyIt cannot be determined if this was a failed export, or whether the device is
271*eda14cbcSMatt Macyreally in use from another host.
272*eda14cbcSMatt MacyTo import a pool in this state, the
273*eda14cbcSMatt Macy.Fl f
274*eda14cbcSMatt Macyoption is required.
275*eda14cbcSMatt Macy.Bl -tag -width Ds
276*eda14cbcSMatt Macy.It Fl c Ar cachefile
277*eda14cbcSMatt MacyReads configuration from the given
278*eda14cbcSMatt Macy.Ar cachefile
279*eda14cbcSMatt Macythat was created with the
280*eda14cbcSMatt Macy.Sy cachefile
281*eda14cbcSMatt Macypool property.
282*eda14cbcSMatt MacyThis
283*eda14cbcSMatt Macy.Ar cachefile
284*eda14cbcSMatt Macyis used instead of searching for devices.
285*eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
286*eda14cbcSMatt MacyUses
287*eda14cbcSMatt Macy.Ar device
288*eda14cbcSMatt Macyor searches for devices or files in
289*eda14cbcSMatt Macy.Ar dir .
290*eda14cbcSMatt MacyThe
291*eda14cbcSMatt Macy.Fl d
292*eda14cbcSMatt Macyoption can be specified multiple times.
293*eda14cbcSMatt MacyThis option is incompatible with the
294*eda14cbcSMatt Macy.Fl c
295*eda14cbcSMatt Macyoption.
296*eda14cbcSMatt Macy.It Fl D
297*eda14cbcSMatt MacyImports destroyed pool.
298*eda14cbcSMatt MacyThe
299*eda14cbcSMatt Macy.Fl f
300*eda14cbcSMatt Macyoption is also required.
301*eda14cbcSMatt Macy.It Fl f
302*eda14cbcSMatt MacyForces import, even if the pool appears to be potentially active.
303*eda14cbcSMatt Macy.It Fl F
304*eda14cbcSMatt MacyRecovery mode for a non-importable pool.
305*eda14cbcSMatt MacyAttempt to return the pool to an importable state by discarding the last few
306*eda14cbcSMatt Macytransactions.
307*eda14cbcSMatt MacyNot all damaged pools can be recovered by using this option.
308*eda14cbcSMatt MacyIf successful, the data from the discarded transactions is irretrievably lost.
309*eda14cbcSMatt MacyThis option is ignored if the pool is importable or already imported.
310*eda14cbcSMatt Macy.It Fl l
311*eda14cbcSMatt MacyIndicates that this command will request encryption keys for all encrypted
312*eda14cbcSMatt Macydatasets it attempts to mount as it is bringing the pool online. Note that if
313*eda14cbcSMatt Macyany datasets have a
314*eda14cbcSMatt Macy.Sy keylocation
315*eda14cbcSMatt Macyof
316*eda14cbcSMatt Macy.Sy prompt
317*eda14cbcSMatt Macythis command will block waiting for the keys to be entered. Without this flag
318*eda14cbcSMatt Macyencrypted datasets will be left unavailable until the keys are loaded.
319*eda14cbcSMatt Macy.It Fl m
320*eda14cbcSMatt MacyAllows a pool to import when there is a missing log device.
321*eda14cbcSMatt MacyRecent transactions can be lost because the log device will be discarded.
322*eda14cbcSMatt Macy.It Fl n
323*eda14cbcSMatt MacyUsed with the
324*eda14cbcSMatt Macy.Fl F
325*eda14cbcSMatt Macyrecovery option.
326*eda14cbcSMatt MacyDetermines whether a non-importable pool can be made importable again, but does
327*eda14cbcSMatt Macynot actually perform the pool recovery.
328*eda14cbcSMatt MacyFor more details about pool recovery mode, see the
329*eda14cbcSMatt Macy.Fl F
330*eda14cbcSMatt Macyoption, above.
331*eda14cbcSMatt Macy.It Fl o Ar mntopts
332*eda14cbcSMatt MacyComma-separated list of mount options to use when mounting datasets within the
333*eda14cbcSMatt Macypool.
334*eda14cbcSMatt MacySee
335*eda14cbcSMatt Macy.Xr zfs 8
336*eda14cbcSMatt Macyfor a description of dataset properties and mount options.
337*eda14cbcSMatt Macy.It Fl o Ar property Ns = Ns Ar value
338*eda14cbcSMatt MacySets the specified property on the imported pool.
339*eda14cbcSMatt MacySee the
340*eda14cbcSMatt Macy.Xr zpoolprops
341*eda14cbcSMatt Macymanual page for more information on the available pool properties.
342*eda14cbcSMatt Macy.It Fl R Ar root
343*eda14cbcSMatt MacySets the
344*eda14cbcSMatt Macy.Sy cachefile
345*eda14cbcSMatt Macyproperty to
346*eda14cbcSMatt Macy.Sy none
347*eda14cbcSMatt Macyand the
348*eda14cbcSMatt Macy.Sy altroot
349*eda14cbcSMatt Macyproperty to
350*eda14cbcSMatt Macy.Ar root .
351*eda14cbcSMatt Macy.It Fl s
352*eda14cbcSMatt MacyScan using the default search path, the libblkid cache will not be
353*eda14cbcSMatt Macyconsulted. A custom search path may be specified by setting the
354*eda14cbcSMatt MacyZPOOL_IMPORT_PATH environment variable.
355*eda14cbcSMatt Macy.It Fl X
356*eda14cbcSMatt MacyUsed with the
357*eda14cbcSMatt Macy.Fl F
358*eda14cbcSMatt Macyrecovery option. Determines whether extreme
359*eda14cbcSMatt Macymeasures to find a valid txg should take place. This allows the pool to
360*eda14cbcSMatt Macybe rolled back to a txg which is no longer guaranteed to be consistent.
361*eda14cbcSMatt MacyPools imported at an inconsistent txg may contain uncorrectable
362*eda14cbcSMatt Macychecksum errors. For more details about pool recovery mode, see the
363*eda14cbcSMatt Macy.Fl F
364*eda14cbcSMatt Macyoption, above. WARNING: This option can be extremely hazardous to the
365*eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
366*eda14cbcSMatt Macy.It Fl T
367*eda14cbcSMatt MacySpecify the txg to use for rollback. Implies
368*eda14cbcSMatt Macy.Fl FX .
369*eda14cbcSMatt MacyFor more details
370*eda14cbcSMatt Macyabout pool recovery mode, see the
371*eda14cbcSMatt Macy.Fl X
372*eda14cbcSMatt Macyoption, above. WARNING: This option can be extremely hazardous to the
373*eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
374*eda14cbcSMatt Macy.It Fl t
375*eda14cbcSMatt MacyUsed with
376*eda14cbcSMatt Macy.Sy newpool .
377*eda14cbcSMatt MacySpecifies that
378*eda14cbcSMatt Macy.Sy newpool
379*eda14cbcSMatt Macyis temporary. Temporary pool names last until export. Ensures that
380*eda14cbcSMatt Macythe original pool name will be used in all label updates and therefore
381*eda14cbcSMatt Macyis retained upon export.
382*eda14cbcSMatt MacyWill also set -o cachefile=none when not explicitly specified.
383*eda14cbcSMatt Macy.El
384*eda14cbcSMatt Macy.El
385*eda14cbcSMatt Macy.Sh SEE ALSO
386*eda14cbcSMatt Macy.Xr zpool-export 8 ,
387*eda14cbcSMatt Macy.Xr zpool-list 8 ,
388*eda14cbcSMatt Macy.Xr zpool-status 8
389