© Damian Wojsław 2017

Damian Wojsław, Introducing ZFS on Linux, https://doi.org/10.1007/978-1-4842-3306-1_5

5. Advanced Setup

Damian Wojsław

(1)ul. Duńska 27i/8, Szczecin, 71-795 Zachodniopomorskie, Poland

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 ...

Get Introducing ZFS on Linux: Understand the Basics of Storage with ZFS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.