As mentioned previously, you can assign a hot spare disk to your pool. If the ZFS pool loses a disk, the spare will be automatically attached and the resilvering process will be started.
Let’s consider a mirrored pool consisting of two vdevs and two drives each. Just for clarity, it will be four hard drives. They will be grouped in pairs and each pair will mirror the contents internally. If we have drives A, B, C and D, drives A and B will be one mirrored pair and drives C and D will be the second mirrored pair:
trochej@ubuntuzfs:~$ sudo zpool status ...