zfsa-pool-replace(1)
Replace a disk with another
ZFS Assistant 0.7.0NAME
zfsa-pool-replace - Replace a disk with another
SYNOPSIS
zfsa pool replace [GLOBAL OPTIONS] [-h|--help] <POOL> <DEVICE> <NEW_DISK>
DESCRIPTION
Replace a disk with another.
The new disk is erased and ZFS copies the data onto it (a resilver). The old disk stays in the pool until the resilver ends. zfsa pool show shows its progress.
OPTIONS
- -h, --help
Print help (see a summary with '-h')
- <POOL>
The pool
- <DEVICE>
The disk to replace
- <NEW_DISK>
The new disk
EXAMPLES
Replace a failing disk and follow the resilver:
zfsa pool replace tank sdc sdh zfsa pool show tank
SEE ALSO
zfsa(1) for the global options, authorization, confirmations and exit status, zfsa-pool(1).