Well this is my first post so let me start by saying “Hello all!” The question I have is I recently got 4 new WD Red 4TB drives (Made sure they were CMR drives) to upgrade a pair of mirrors in a zfs pool of 4 mirrors. I’m wondering the best way to go about this.
OS: Debian Buster (kernel 5.10)
CPU: Ryzen 5 3600 CPU
MB: ASRock Rack x470DU
The disks are all in hot-swap bays in a Norco 2U server chassis
This is the current setup:
root@ifrit:~# zpool status data
pool: data
state: ONLINE
scan: scrub repaired 0B in 00:08:32 with 0 errors on Sun Jun 13 00:32:34 2021
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST1000DM003-1ER162_W4Y6NJ9J ONLINE 0 0 0
ata-ST1000DM003-1CH162_Z1DBCS60 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
ata-ST1000DM003-9YN162_S1D1QRM6 ONLINE 0 0 0
ata-ST1000DM003-1ER162_W4Y6NJ18 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
ata-Hitachi_HUA721010KLA330_GTF002PBJ481BF ONLINE 0 0 0
ata-WDC_WD10EZEX-60M2NA0_WD-WCC3FPP9S2TY ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
ata-WDC_WD15EADS-00R6B0_WD-WCAVY0927527 ONLINE 0 0 0
ata-ST31500541AS_5XW0GCK5 ONLINE 0 0 0
logs
mirror-8 ONLINE 0 0 0
ata-LITEON_CX1-JB512-HP_002547100MFL-part2 ONLINE 0 0 0
ata-LITEON_CX1-JB512-HP_002551102VTQ-part2 ONLINE 0 0 0
cache
ata-LITEON_CX1-JB512-HP_002547100MFL-part1 ONLINE 0 0 0
ata-LITEON_CX1-JB512-HP_002551102VTQ-part1 ONLINE 0 0 0
errors: No known data errors
I’m looking to upgrade mirror-0 and mirror-1. Is it as painstaking as failing out a drive and replacing them one at a time? Or is there a means of just removing the mirror, swapping the drives, and adding the new mirror to the pool?