Growing a mirrored vdev

James Mason

Dabbler
Joined
Jan 21, 2019
Messages
16
Hi

Quick question... As I understand it, if I have a RAIDZ vdev and I increase the capacity of each drive one by one then when all drives are of a higher capacity the vdev size will increase, right?

My question is, does this also work with a mirrored vdev? If I have, say, two 60GB SSDs set up as a mirrored vdev and I replace one with a 120GB SSD (firstly, can I do this?), and then after resilvering, replace the other 60GB drive with a 120GB one then will I now have a 120GB mirrored vdev?

Thanks in advance.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Yes. Although you might have to do it on the command line. I never did that in the UI ...
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Yes, it can be done in the GUI or CLI.
 

James Mason

Dabbler
Joined
Jan 21, 2019
Messages
16
Cheers guys, good to know. I'll probably end up doing this at some point so it's useful to know it's an option. Thanks.
 
Top