ZPOOL-REMOVE(8) | System Manager's Manual | ZPOOL-REMOVE(8) |
zpool-remove
—
Remove a device from a ZFS storage pool
zpool |
remove [-npw ]
pool device... |
zpool |
remove -s
pool |
zpool
remove
[-npw
]
pool device...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 zpool
remove
command
initiates the removal and returns, while the evacuation continues in the
background. The removal progress can be monitored with
zpool
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(5).
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 zpool
detach
command.
-n
zpool
remove
-s
poolzpool-add(8), zpool-detach(8), zpool-offline(8), zpool-labelclear(8), zpool-replace(8), zpool-split(8)
August 9, 2019 | Linux |