table of contents
- bookworm 2.1.11-1
- bookworm-backports 2.2.6-1~bpo12+3
- testing 2.2.6-2
- unstable 2.2.6-2
ZPOOL-EXPORT(8) | System Manager's Manual | ZPOOL-EXPORT(8) |
NAME¶
zpool-export
—
export ZFS storage pools
SYNOPSIS¶
zpool |
export [-f ]
-a |pool… |
DESCRIPTION¶
Exports the given pools from the system. All devices are marked as exported, but are still considered in use by other subsystems. The devices can be moved between systems (even those of different endianness) and imported as long as a sufficient number of devices are present.
Before exporting the pool, all datasets within the pool are unmounted. A pool can not be exported if it has a shared spare that is currently being used.
For pools to be portable, you must give the
zpool
command whole disks, not just partitions, so
that ZFS can label the disks with portable EFI labels. Otherwise, disk
drivers on platforms of different endianness will not recognize the
disks.
EXAMPLES¶
Example 1: Exporting a ZFS Storage Pool¶
The following command exports the devices in pool tank so that they can be relocated or later imported:
# zpool
export
tank
SEE ALSO¶
March 16, 2022 | OpenZFS |