ZPOOL-ATTACH(8) | System Manager's Manual | ZPOOL-ATTACH(8) |
zpool-attach
—
attach new device to existing ZFS vdev
zpool |
attach [-fsw ]
[-o
property=value]
pool device new_device |
Attaches new_device to the existing device. The existing device cannot be part of a raidz configuration. If device is not currently part of a mirrored configuration, device automatically transforms into a two-way mirror of device and new_device. If device is part of a two-way mirror, attaching new_device creates a three-way mirror, and so on. In either case, new_device begins to resilver immediately and any running scrub is cancelled.
-f
-o
property=value-s
-w
zpool-add(8), zpool-detach(8), zpool-import(8), zpool-initialize(8), zpool-online(8), zpool-replace(8), zpool-resilver(8)
May 15, 2020 | OpenZFS |