xref: /freebsd/sys/contrib/openzfs/man/man8/zpool-import.8 (revision 3ff01b231dfa83d518854c63e7c9cd1debd1139e)
1eda14cbcSMatt Macy.\"
2eda14cbcSMatt Macy.\" CDDL HEADER START
3eda14cbcSMatt Macy.\"
4eda14cbcSMatt Macy.\" The contents of this file are subject to the terms of the
5eda14cbcSMatt Macy.\" Common Development and Distribution License (the "License").
6eda14cbcSMatt Macy.\" You may not use this file except in compliance with the License.
7eda14cbcSMatt Macy.\"
8eda14cbcSMatt Macy.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eda14cbcSMatt Macy.\" or http://www.opensolaris.org/os/licensing.
10eda14cbcSMatt Macy.\" See the License for the specific language governing permissions
11eda14cbcSMatt Macy.\" and limitations under the License.
12eda14cbcSMatt Macy.\"
13eda14cbcSMatt Macy.\" When distributing Covered Code, include this CDDL HEADER in each
14eda14cbcSMatt Macy.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15eda14cbcSMatt Macy.\" If applicable, add the following below this CDDL HEADER, with the
16eda14cbcSMatt Macy.\" fields enclosed by brackets "[]" replaced with your own identifying
17eda14cbcSMatt Macy.\" information: Portions Copyright [yyyy] [name of copyright owner]
18eda14cbcSMatt Macy.\"
19eda14cbcSMatt Macy.\" CDDL HEADER END
20eda14cbcSMatt Macy.\"
21eda14cbcSMatt Macy.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
22eda14cbcSMatt Macy.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
23eda14cbcSMatt Macy.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
24eda14cbcSMatt Macy.\" Copyright (c) 2017 Datto Inc.
25eda14cbcSMatt Macy.\" Copyright (c) 2018 George Melikov. All Rights Reserved.
26eda14cbcSMatt Macy.\" Copyright 2017 Nexenta Systems, Inc.
27eda14cbcSMatt Macy.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
28eda14cbcSMatt Macy.\"
29eda14cbcSMatt Macy.Dd August 9, 2019
30eda14cbcSMatt Macy.Dt ZPOOL-IMPORT 8
31eda14cbcSMatt Macy.Os
3216038816SMartin Matuska.
33eda14cbcSMatt Macy.Sh NAME
347877fdebSMatt Macy.Nm zpool-import
3516038816SMartin Matuska.Nd import ZFS storage pools or list available pools
36eda14cbcSMatt Macy.Sh SYNOPSIS
377877fdebSMatt Macy.Nm zpool
38eda14cbcSMatt Macy.Cm import
39eda14cbcSMatt Macy.Op Fl D
4016038816SMartin Matuska.Oo Fl d Ar dir Ns | Ns Ar device Oc Ns …
417877fdebSMatt Macy.Nm zpool
42eda14cbcSMatt Macy.Cm import
43eda14cbcSMatt Macy.Fl a
44eda14cbcSMatt Macy.Op Fl DflmN
4516038816SMartin Matuska.Op Fl F Op Fl nTX
46eda14cbcSMatt Macy.Op Fl -rewind-to-checkpoint
4716038816SMartin Matuska.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns Ar device
48eda14cbcSMatt Macy.Op Fl o Ar mntopts
4916038816SMartin Matuska.Oo Fl o Ar property Ns = Ns Ar value Oc Ns …
50eda14cbcSMatt Macy.Op Fl R Ar root
517877fdebSMatt Macy.Nm zpool
52eda14cbcSMatt Macy.Cm import
5316038816SMartin Matuska.Op Fl Dflmt
5416038816SMartin Matuska.Op Fl F Op Fl nTX
55eda14cbcSMatt Macy.Op Fl -rewind-to-checkpoint
5616038816SMartin Matuska.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns Ar device
57eda14cbcSMatt Macy.Op Fl o Ar mntopts
5816038816SMartin Matuska.Oo Fl o Ar property Ns = Ns Ar value Oc Ns …
59eda14cbcSMatt Macy.Op Fl R Ar root
60eda14cbcSMatt Macy.Op Fl s
61eda14cbcSMatt Macy.Ar pool Ns | Ns Ar id
6216038816SMartin Matuska.Op Ar newpool
6316038816SMartin Matuska.
64eda14cbcSMatt Macy.Sh DESCRIPTION
65eda14cbcSMatt Macy.Bl -tag -width Ds
66eda14cbcSMatt Macy.It Xo
677877fdebSMatt Macy.Nm zpool
68eda14cbcSMatt Macy.Cm import
69eda14cbcSMatt Macy.Op Fl D
7016038816SMartin Matuska.Oo Fl d Ar dir Ns | Ns Ar device Oc Ns …
71eda14cbcSMatt Macy.Xc
72eda14cbcSMatt MacyLists pools available to import.
73eda14cbcSMatt MacyIf the
74eda14cbcSMatt Macy.Fl d or
75eda14cbcSMatt Macy.Fl c
76eda14cbcSMatt Macyoptions are not specified, this command searches for devices using libblkid
7716038816SMartin Matuskaon Linux and geom on
7816038816SMartin Matuska.Fx .
79eda14cbcSMatt MacyThe
80eda14cbcSMatt Macy.Fl d
81eda14cbcSMatt Macyoption can be specified multiple times, and all directories are searched.
82eda14cbcSMatt MacyIf the device appears to be part of an exported pool, this command displays a
83eda14cbcSMatt Macysummary of the pool with the name of the pool, a numeric identifier, as well as
84eda14cbcSMatt Macythe vdev layout and current health of the device for each device or file.
85eda14cbcSMatt MacyDestroyed pools, pools that were previously destroyed with the
86eda14cbcSMatt Macy.Nm zpool Cm destroy
87eda14cbcSMatt Macycommand, are not listed unless the
88eda14cbcSMatt Macy.Fl D
89eda14cbcSMatt Macyoption is specified.
90eda14cbcSMatt Macy.Pp
91eda14cbcSMatt MacyThe numeric identifier is unique, and can be used instead of the pool name when
92eda14cbcSMatt Macymultiple exported pools of the same name are available.
93eda14cbcSMatt Macy.Bl -tag -width Ds
94eda14cbcSMatt Macy.It Fl c Ar cachefile
95eda14cbcSMatt MacyReads configuration from the given
96eda14cbcSMatt Macy.Ar cachefile
97eda14cbcSMatt Macythat was created with the
98eda14cbcSMatt Macy.Sy cachefile
99eda14cbcSMatt Macypool property.
100eda14cbcSMatt MacyThis
101eda14cbcSMatt Macy.Ar cachefile
102eda14cbcSMatt Macyis used instead of searching for devices.
103eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
104eda14cbcSMatt MacyUses
105eda14cbcSMatt Macy.Ar device
106eda14cbcSMatt Macyor searches for devices or files in
107eda14cbcSMatt Macy.Ar dir .
108eda14cbcSMatt MacyThe
109eda14cbcSMatt Macy.Fl d
110eda14cbcSMatt Macyoption can be specified multiple times.
111eda14cbcSMatt Macy.It Fl D
112eda14cbcSMatt MacyLists destroyed pools only.
113eda14cbcSMatt Macy.El
114eda14cbcSMatt Macy.It Xo
1157877fdebSMatt Macy.Nm zpool
116eda14cbcSMatt Macy.Cm import
117eda14cbcSMatt Macy.Fl a
118eda14cbcSMatt Macy.Op Fl DflmN
11916038816SMartin Matuska.Op Fl F Op Fl nTX
12016038816SMartin Matuska.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns Ar device
121eda14cbcSMatt Macy.Op Fl o Ar mntopts
12216038816SMartin Matuska.Oo Fl o Ar property Ns = Ns Ar value Oc Ns …
123eda14cbcSMatt Macy.Op Fl R Ar root
124eda14cbcSMatt Macy.Op Fl s
125eda14cbcSMatt Macy.Xc
126eda14cbcSMatt MacyImports all pools found in the search directories.
127eda14cbcSMatt MacyIdentical to the previous command, except that all pools with a sufficient
128eda14cbcSMatt Macynumber of devices available are imported.
129eda14cbcSMatt MacyDestroyed pools, pools that were previously destroyed with the
130eda14cbcSMatt Macy.Nm zpool Cm destroy
131eda14cbcSMatt Macycommand, will not be imported unless the
132eda14cbcSMatt Macy.Fl D
133eda14cbcSMatt Macyoption is specified.
134eda14cbcSMatt Macy.Bl -tag -width Ds
135eda14cbcSMatt Macy.It Fl a
136eda14cbcSMatt MacySearches for and imports all pools found.
137eda14cbcSMatt Macy.It Fl c Ar cachefile
138eda14cbcSMatt MacyReads configuration from the given
139eda14cbcSMatt Macy.Ar cachefile
140eda14cbcSMatt Macythat was created with the
141eda14cbcSMatt Macy.Sy cachefile
142eda14cbcSMatt Macypool property.
143eda14cbcSMatt MacyThis
144eda14cbcSMatt Macy.Ar cachefile
145eda14cbcSMatt Macyis used instead of searching for devices.
146eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
147eda14cbcSMatt MacyUses
148eda14cbcSMatt Macy.Ar device
149eda14cbcSMatt Macyor searches for devices or files in
150eda14cbcSMatt Macy.Ar dir .
151eda14cbcSMatt MacyThe
152eda14cbcSMatt Macy.Fl d
153eda14cbcSMatt Macyoption can be specified multiple times.
154eda14cbcSMatt MacyThis option is incompatible with the
155eda14cbcSMatt Macy.Fl c
156eda14cbcSMatt Macyoption.
157eda14cbcSMatt Macy.It Fl D
158eda14cbcSMatt MacyImports destroyed pools only.
159eda14cbcSMatt MacyThe
160eda14cbcSMatt Macy.Fl f
161eda14cbcSMatt Macyoption is also required.
162eda14cbcSMatt Macy.It Fl f
163eda14cbcSMatt MacyForces import, even if the pool appears to be potentially active.
164eda14cbcSMatt Macy.It Fl F
165eda14cbcSMatt MacyRecovery mode for a non-importable pool.
166eda14cbcSMatt MacyAttempt to return the pool to an importable state by discarding the last few
167eda14cbcSMatt Macytransactions.
168eda14cbcSMatt MacyNot all damaged pools can be recovered by using this option.
169eda14cbcSMatt MacyIf successful, the data from the discarded transactions is irretrievably lost.
170eda14cbcSMatt MacyThis option is ignored if the pool is importable or already imported.
171eda14cbcSMatt Macy.It Fl l
172eda14cbcSMatt MacyIndicates that this command will request encryption keys for all encrypted
17316038816SMartin Matuskadatasets it attempts to mount as it is bringing the pool online.
17416038816SMartin MatuskaNote that if any datasets have a
175eda14cbcSMatt Macy.Sy keylocation
176eda14cbcSMatt Macyof
177eda14cbcSMatt Macy.Sy prompt
17816038816SMartin Matuskathis command will block waiting for the keys to be entered.
17916038816SMartin MatuskaWithout this flag
180eda14cbcSMatt Macyencrypted datasets will be left unavailable until the keys are loaded.
181eda14cbcSMatt Macy.It Fl m
182eda14cbcSMatt MacyAllows a pool to import when there is a missing log device.
183eda14cbcSMatt MacyRecent transactions can be lost because the log device will be discarded.
184eda14cbcSMatt Macy.It Fl n
185eda14cbcSMatt MacyUsed with the
186eda14cbcSMatt Macy.Fl F
187eda14cbcSMatt Macyrecovery option.
188eda14cbcSMatt MacyDetermines whether a non-importable pool can be made importable again, but does
189eda14cbcSMatt Macynot actually perform the pool recovery.
190eda14cbcSMatt MacyFor more details about pool recovery mode, see the
191eda14cbcSMatt Macy.Fl F
192eda14cbcSMatt Macyoption, above.
193eda14cbcSMatt Macy.It Fl N
194eda14cbcSMatt MacyImport the pool without mounting any file systems.
195eda14cbcSMatt Macy.It Fl o Ar mntopts
196eda14cbcSMatt MacyComma-separated list of mount options to use when mounting datasets within the
197eda14cbcSMatt Macypool.
198eda14cbcSMatt MacySee
199eda14cbcSMatt Macy.Xr zfs 8
200eda14cbcSMatt Macyfor a description of dataset properties and mount options.
201eda14cbcSMatt Macy.It Fl o Ar property Ns = Ns Ar value
202eda14cbcSMatt MacySets the specified property on the imported pool.
203eda14cbcSMatt MacySee the
204*3ff01b23SMartin Matuska.Xr zpoolprops 7
205eda14cbcSMatt Macymanual page for more information on the available pool properties.
206eda14cbcSMatt Macy.It Fl R Ar root
207eda14cbcSMatt MacySets the
208eda14cbcSMatt Macy.Sy cachefile
209eda14cbcSMatt Macyproperty to
210eda14cbcSMatt Macy.Sy none
211eda14cbcSMatt Macyand the
212eda14cbcSMatt Macy.Sy altroot
213eda14cbcSMatt Macyproperty to
214eda14cbcSMatt Macy.Ar root .
215eda14cbcSMatt Macy.It Fl -rewind-to-checkpoint
216eda14cbcSMatt MacyRewinds pool to the checkpointed state.
217eda14cbcSMatt MacyOnce the pool is imported with this flag there is no way to undo the rewind.
218eda14cbcSMatt MacyAll changes and data that were written after the checkpoint are lost!
219eda14cbcSMatt MacyThe only exception is when the
220eda14cbcSMatt Macy.Sy readonly
221eda14cbcSMatt Macymounting option is enabled.
222eda14cbcSMatt MacyIn this case, the checkpointed state of the pool is opened and an
223eda14cbcSMatt Macyadministrator can see how the pool would look like if they were
224eda14cbcSMatt Macyto fully rewind.
225eda14cbcSMatt Macy.It Fl s
226eda14cbcSMatt MacyScan using the default search path, the libblkid cache will not be
22716038816SMartin Matuskaconsulted.
22816038816SMartin MatuskaA custom search path may be specified by setting the
22916038816SMartin Matuska.Sy ZPOOL_IMPORT_PATH
23016038816SMartin Matuskaenvironment variable.
231eda14cbcSMatt Macy.It Fl X
232eda14cbcSMatt MacyUsed with the
233eda14cbcSMatt Macy.Fl F
23416038816SMartin Matuskarecovery option.
23516038816SMartin MatuskaDetermines whether extreme measures to find a valid txg should take place.
23616038816SMartin MatuskaThis allows the pool to
237eda14cbcSMatt Macybe rolled back to a txg which is no longer guaranteed to be consistent.
23816038816SMartin MatuskaPools imported at an inconsistent txg may contain uncorrectable checksum errors.
23916038816SMartin MatuskaFor more details about pool recovery mode, see the
240eda14cbcSMatt Macy.Fl F
24116038816SMartin Matuskaoption, above.
24216038816SMartin MatuskaWARNING: This option can be extremely hazardous to the
243eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
244eda14cbcSMatt Macy.It Fl T
24516038816SMartin MatuskaSpecify the txg to use for rollback.
24616038816SMartin MatuskaImplies
247eda14cbcSMatt Macy.Fl FX .
248eda14cbcSMatt MacyFor more details
249eda14cbcSMatt Macyabout pool recovery mode, see the
250eda14cbcSMatt Macy.Fl X
25116038816SMartin Matuskaoption, above.
25216038816SMartin MatuskaWARNING: This option can be extremely hazardous to the
253eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
254eda14cbcSMatt Macy.El
255eda14cbcSMatt Macy.It Xo
2567877fdebSMatt Macy.Nm zpool
257eda14cbcSMatt Macy.Cm import
25816038816SMartin Matuska.Op Fl Dflmt
25916038816SMartin Matuska.Op Fl F Op Fl nTX
26016038816SMartin Matuska.Op Fl c Ar cachefile Ns | Ns Fl d Ar dir Ns | Ns Ar device
261eda14cbcSMatt Macy.Op Fl o Ar mntopts
26216038816SMartin Matuska.Oo Fl o Ar property Ns = Ns Ar value Oc Ns …
263eda14cbcSMatt Macy.Op Fl R Ar root
264eda14cbcSMatt Macy.Op Fl s
265eda14cbcSMatt Macy.Ar pool Ns | Ns Ar id
266eda14cbcSMatt Macy.Op Ar newpool
267eda14cbcSMatt Macy.Xc
268eda14cbcSMatt MacyImports a specific pool.
269eda14cbcSMatt MacyA pool can be identified by its name or the numeric identifier.
270eda14cbcSMatt MacyIf
271eda14cbcSMatt Macy.Ar newpool
272eda14cbcSMatt Macyis specified, the pool is imported using the name
273eda14cbcSMatt Macy.Ar newpool .
274eda14cbcSMatt MacyOtherwise, it is imported with the same name as its exported name.
275eda14cbcSMatt Macy.Pp
276eda14cbcSMatt MacyIf a device is removed from a system without running
277eda14cbcSMatt Macy.Nm zpool Cm export
278eda14cbcSMatt Macyfirst, the device appears as potentially active.
279eda14cbcSMatt MacyIt cannot be determined if this was a failed export, or whether the device is
280eda14cbcSMatt Macyreally in use from another host.
281eda14cbcSMatt MacyTo import a pool in this state, the
282eda14cbcSMatt Macy.Fl f
283eda14cbcSMatt Macyoption is required.
284eda14cbcSMatt Macy.Bl -tag -width Ds
285eda14cbcSMatt Macy.It Fl c Ar cachefile
286eda14cbcSMatt MacyReads configuration from the given
287eda14cbcSMatt Macy.Ar cachefile
288eda14cbcSMatt Macythat was created with the
289eda14cbcSMatt Macy.Sy cachefile
290eda14cbcSMatt Macypool property.
291eda14cbcSMatt MacyThis
292eda14cbcSMatt Macy.Ar cachefile
293eda14cbcSMatt Macyis used instead of searching for devices.
294eda14cbcSMatt Macy.It Fl d Ar dir Ns | Ns Ar device
295eda14cbcSMatt MacyUses
296eda14cbcSMatt Macy.Ar device
297eda14cbcSMatt Macyor searches for devices or files in
298eda14cbcSMatt Macy.Ar dir .
299eda14cbcSMatt MacyThe
300eda14cbcSMatt Macy.Fl d
301eda14cbcSMatt Macyoption can be specified multiple times.
302eda14cbcSMatt MacyThis option is incompatible with the
303eda14cbcSMatt Macy.Fl c
304eda14cbcSMatt Macyoption.
305eda14cbcSMatt Macy.It Fl D
306eda14cbcSMatt MacyImports destroyed pool.
307eda14cbcSMatt MacyThe
308eda14cbcSMatt Macy.Fl f
309eda14cbcSMatt Macyoption is also required.
310eda14cbcSMatt Macy.It Fl f
311eda14cbcSMatt MacyForces import, even if the pool appears to be potentially active.
312eda14cbcSMatt Macy.It Fl F
313eda14cbcSMatt MacyRecovery mode for a non-importable pool.
314eda14cbcSMatt MacyAttempt to return the pool to an importable state by discarding the last few
315eda14cbcSMatt Macytransactions.
316eda14cbcSMatt MacyNot all damaged pools can be recovered by using this option.
317eda14cbcSMatt MacyIf successful, the data from the discarded transactions is irretrievably lost.
318eda14cbcSMatt MacyThis option is ignored if the pool is importable or already imported.
319eda14cbcSMatt Macy.It Fl l
320eda14cbcSMatt MacyIndicates that this command will request encryption keys for all encrypted
32116038816SMartin Matuskadatasets it attempts to mount as it is bringing the pool online.
32216038816SMartin MatuskaNote that if any datasets have a
323eda14cbcSMatt Macy.Sy keylocation
324eda14cbcSMatt Macyof
325eda14cbcSMatt Macy.Sy prompt
32616038816SMartin Matuskathis command will block waiting for the keys to be entered.
32716038816SMartin MatuskaWithout this flag
328eda14cbcSMatt Macyencrypted datasets will be left unavailable until the keys are loaded.
329eda14cbcSMatt Macy.It Fl m
330eda14cbcSMatt MacyAllows a pool to import when there is a missing log device.
331eda14cbcSMatt MacyRecent transactions can be lost because the log device will be discarded.
332eda14cbcSMatt Macy.It Fl n
333eda14cbcSMatt MacyUsed with the
334eda14cbcSMatt Macy.Fl F
335eda14cbcSMatt Macyrecovery option.
336eda14cbcSMatt MacyDetermines whether a non-importable pool can be made importable again, but does
337eda14cbcSMatt Macynot actually perform the pool recovery.
338eda14cbcSMatt MacyFor more details about pool recovery mode, see the
339eda14cbcSMatt Macy.Fl F
340eda14cbcSMatt Macyoption, above.
341eda14cbcSMatt Macy.It Fl o Ar mntopts
342eda14cbcSMatt MacyComma-separated list of mount options to use when mounting datasets within the
343eda14cbcSMatt Macypool.
344eda14cbcSMatt MacySee
345eda14cbcSMatt Macy.Xr zfs 8
346eda14cbcSMatt Macyfor a description of dataset properties and mount options.
347eda14cbcSMatt Macy.It Fl o Ar property Ns = Ns Ar value
348eda14cbcSMatt MacySets the specified property on the imported pool.
349eda14cbcSMatt MacySee the
350*3ff01b23SMartin Matuska.Xr zpoolprops 7
351eda14cbcSMatt Macymanual page for more information on the available pool properties.
352eda14cbcSMatt Macy.It Fl R Ar root
353eda14cbcSMatt MacySets the
354eda14cbcSMatt Macy.Sy cachefile
355eda14cbcSMatt Macyproperty to
356eda14cbcSMatt Macy.Sy none
357eda14cbcSMatt Macyand the
358eda14cbcSMatt Macy.Sy altroot
359eda14cbcSMatt Macyproperty to
360eda14cbcSMatt Macy.Ar root .
361eda14cbcSMatt Macy.It Fl s
362eda14cbcSMatt MacyScan using the default search path, the libblkid cache will not be
36316038816SMartin Matuskaconsulted.
36416038816SMartin MatuskaA custom search path may be specified by setting the
36516038816SMartin Matuska.Sy ZPOOL_IMPORT_PATH
36616038816SMartin Matuskaenvironment variable.
367eda14cbcSMatt Macy.It Fl X
368eda14cbcSMatt MacyUsed with the
369eda14cbcSMatt Macy.Fl F
37016038816SMartin Matuskarecovery option.
37116038816SMartin MatuskaDetermines whether extreme measures to find a valid txg should take place.
37216038816SMartin MatuskaThis allows the pool to
373eda14cbcSMatt Macybe rolled back to a txg which is no longer guaranteed to be consistent.
374eda14cbcSMatt MacyPools imported at an inconsistent txg may contain uncorrectable
37516038816SMartin Matuskachecksum errors.
37616038816SMartin MatuskaFor more details about pool recovery mode, see the
377eda14cbcSMatt Macy.Fl F
37816038816SMartin Matuskaoption, above.
37916038816SMartin MatuskaWARNING: This option can be extremely hazardous to the
380eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
381eda14cbcSMatt Macy.It Fl T
38216038816SMartin MatuskaSpecify the txg to use for rollback.
38316038816SMartin MatuskaImplies
384eda14cbcSMatt Macy.Fl FX .
385eda14cbcSMatt MacyFor more details
386eda14cbcSMatt Macyabout pool recovery mode, see the
387eda14cbcSMatt Macy.Fl X
38816038816SMartin Matuskaoption, above.
38916038816SMartin MatuskaWARNING: This option can be extremely hazardous to the
390eda14cbcSMatt Macyhealth of your pool and should only be used as a last resort.
391eda14cbcSMatt Macy.It Fl t
392eda14cbcSMatt MacyUsed with
393eda14cbcSMatt Macy.Sy newpool .
394eda14cbcSMatt MacySpecifies that
395eda14cbcSMatt Macy.Sy newpool
39616038816SMartin Matuskais temporary.
39716038816SMartin MatuskaTemporary pool names last until export.
39816038816SMartin MatuskaEnsures that the original pool name will be used
39916038816SMartin Matuskain all label updates and therefore is retained upon export.
40016038816SMartin MatuskaWill also set
40116038816SMartin Matuska.Fl o Sy cachefile Ns = Ns Sy none
40216038816SMartin Matuskawhen not explicitly specified.
403eda14cbcSMatt Macy.El
404eda14cbcSMatt Macy.El
40516038816SMartin Matuska.
406eda14cbcSMatt Macy.Sh SEE ALSO
407eda14cbcSMatt Macy.Xr zpool-export 8 ,
408eda14cbcSMatt Macy.Xr zpool-list 8 ,
409eda14cbcSMatt Macy.Xr zpool-status 8
410