Expanding mirror with limited slot space

seb101

Contributor
Joined
Jun 29, 2019
Messages
142
Hi again,

Is it possible to 'expand' an exisitng mirror pair by one-by-one repalcing with bigger driver? Assuming there is no spare slot space in your NAS (and I appreciate this is risky as you lose all protection for a short time) can you:
  1. Detach one smaller drive.
  2. Replace with larger drive and attach to the mirror.
  3. Wait for resilver to completed.
  4. Detach the other smaller drive.
  5. Replace with larger drive and attach to the mirror.
  6. Wait for resilver to complete.
  7. Expand the pool????

Its the last step I'm unsure of, will ZFS automagically make use of the extra disk space? Or does something have to be done manually? Or can this not be done at all?

Thanks!
 
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Top