table of contents
- bullseye 2.0.3-9
- bullseye-backports 2.1.9-1~bpo11+1
- testing 2.1.9-2
- unstable 2.1.9-3
|ZPOOL-REMOVE(8)||System Manager's Manual||ZPOOL-REMOVE(8)|
remove devices from ZFS storage pool
-npw] pool device…
- Removes the specified device from the pool. This command supports removing
hot spare, cache, log, and both mirrored and non-redundant primary
top-level vdevs, including dedup and special vdevs.
Top-level vdevs can only be removed if the primary pool storage does not contain a top-level raidz vdev, all top-level vdevs have the same sector size, and the keys for all encrypted datasets are loaded.
Removing a top-level vdev reduces the total amount of space in the storage pool. The specified device will be evacuated by copying all allocated space from it to the other devices in the pool. In this case, the
removecommand initiates the removal and returns, while the evacuation continues in the background. The removal progress can be monitored with
status. If an IO error is encountered during the removal process it will be cancelled. The device_removal feature flag must be enabled to remove a top-level vdev, see zpool-features(7).
A mirrored top-level device (log or data) can be removed by specifying the top-level mirror for the same. Non-log devices or data devices that are part of a mirrored configuration can be removed using the
- Do not actually perform the removal ("No-op"). Instead, print the estimated amount of memory that will be used by the mapping table after the removal completes. This is nonzero only for top-level vdevs.
- Stops and cancels an in-progress removal of a top-level vdev.
zpool-add(8), zpool-detach(8), zpool-labelclear(8), zpool-offline(8), zpool-replace(8), zpool-split(8)
|August 9, 2019||OpenZFS|