| Main index | Section 8 | Options |
| zpool
import
[ The numeric identifier is unique, and can be used instead of the pool name when multiple exported pools of the same name are available. | |
| | |
| Reads configuration from the given cachefile that was created with the cachefile pool property. This cachefile is used instead of searching for devices. | |
| | |
|
Uses
device
or searches for devices or files in
dir.
The
| |
| | |
| Lists destroyed pools only. | |
| zpool
import
| |
| | |
| Searches for and imports all pools found. | |
| | |
| Reads configuration from the given cachefile that was created with the cachefile pool property. This cachefile is used instead of searching for devices. | |
| | |
|
Uses
device
or searches for devices or files in
dir.
The
| |
| | |
|
Imports destroyed pools only.
The
| |
| | |
| Forces import, even if the pool appears to be potentially active. | |
| | |
| Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported. | |
| | |
| Indicates that this command will request encryption keys for all encrypted datasets it attempts to mount as it is bringing the pool online. Note that if any datasets have a keylocation of prompt this command will block waiting for the keys to be entered. Without this flag encrypted datasets will be left unavailable until the keys are loaded. | |
| | |
| Allows a pool to import when there is a missing log device. Recent transactions can be lost because the log device will be discarded. | |
| | |
|
Used with the
| |
| | |
| Import the pool without mounting any file systems. | |
| | |
| Comma-separated list of mount options to use when mounting datasets within the pool. See zfs(8) for a description of dataset properties and mount options. | |
| | |
| Sets the specified property on the imported pool. See the zpoolprops(7) manual page for more information on the available pool properties. | |
| | |
| Sets the cachefile property to none and the altroot property to root. | |
| | |
| Rewinds pool to the checkpointed state. Once the pool is imported with this flag there is no way to undo the rewind. All changes and data that were written after the checkpoint are lost! The only exception is when the readonly mounting option is enabled. In this case, the checkpointed state of the pool is opened and an administrator can see how the pool would look like if they were to fully rewind. | |
| | |
| Scan using the default search path, the libblkid cache will not be consulted. A custom search path may be specified by setting the ZPOOL_IMPORT_PATH environment variable. | |
| | |
|
Used with the
| |
| | |
|
Specify the txg to use for rollback.
Implies
| |
| zpool
import
[
If a device is removed from a system without running
zpool
first, the device appears as potentially active.
It cannot be determined if this was a failed export, or whether the device is
really in use from another host.
To import a pool in this state, the
| |
| | |
| Reads configuration from the given cachefile that was created with the cachefile pool property. This cachefile is used instead of searching for devices. | |
| | |
|
Uses
device
or searches for devices or files in
dir.
The
| |
| | |
|
Imports destroyed pool.
The
| |
| | |
| Forces import, even if the pool appears to be potentially active. | |
| | |
| Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported. | |
| | |
| Indicates that this command will request encryption keys for all encrypted datasets it attempts to mount as it is bringing the pool online. Note that if any datasets have a keylocation of prompt this command will block waiting for the keys to be entered. Without this flag encrypted datasets will be left unavailable until the keys are loaded. | |
| | |
| Allows a pool to import when there is a missing log device. Recent transactions can be lost because the log device will be discarded. | |
| | |
|
Used with the
| |
| | |
| Comma-separated list of mount options to use when mounting datasets within the pool. See zfs(8) for a description of dataset properties and mount options. | |
| | |
| Sets the specified property on the imported pool. See the zpoolprops(7) manual page for more information on the available pool properties. | |
| | |
| Sets the cachefile property to none and the altroot property to root. | |
| | |
| Scan using the default search path, the libblkid cache will not be consulted. A custom search path may be specified by setting the ZPOOL_IMPORT_PATH environment variable. | |
| | |
|
Used with the
| |
| | |
|
Specify the txg to use for rollback.
Implies
| |
| | |
|
Used with
newpool.
Specifies that
newpool
is temporary.
Temporary pool names last until export.
Ensures that the original pool name will be used
in all label updates and therefore is retained upon export.
Will also set
| |
# zpool
pool: tank
id: 15451357997522795478
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
tank ONLINE
mirror ONLINE
sda ONLINE
sdb ONLINE
# zpool
| ZPOOL-IMPORT (8) | March 16, 2022 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | There are two major products of Berkeley, CA -- LSD and UNIX. We don't believe this to be strictly by coincidence. | ” |
| — Jeremy S. Anderson | ||