ZPOOL-REPLACE(8) | System Manager's Manual | ZPOOL-REPLACE(8) |
zpool-replace
—
Replace one device with another in a ZFS storage
pool
zpool |
replace [-fsw ]
[-o
property=value]
pool device
[new_device] |
zpool
replace
[-fsw
] [-o
property=value]
pool device
[new_device]The size of new_device must be greater than or equal to the minimum size of all the devices in a mirror or raidz configuration.
new_device is required if the pool is not redundant. If new_device is not specified, it defaults to old_device. This form of replacement is useful after an existing disk has failed and has been physically replaced. In this case, the new disk may have the same /dev path as the old device, even though it is actually a different disk. ZFS recognizes this.
-f
-o
property=value-s
-w
zpool-detach(8), zpool-initialize(8), zpool-online(8), zpool-resilver(8)
May 15, 2020 | Linux |