Possible to expand zfs raidz2 Array

2000gtacoma

New Member
Aug 31, 2025
9
2
3
Just curious. I setup a zfs raidz2 with 6 disks that are 6tb each. So I have 36 tb raw and 24tb usable. The server has 12 bays in it but we initally started with 6 drives. No where near close to full yet. But I was curious is if I needed to expand the capacity of the array, can I added more 6tb drives or do I simply replace the 6tb with larger drives 1 at a time and let the rebuild occur? What's the best way to do this?
Here is my zpool status

root@pbs:~# zpool status
pool: mypool
state: ONLINE
config:

NAME STATE READ WRITE CKSUM
tbpbsbackups ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
wwn-0x5000c500837cd1ef ONLINE 0 0 0
wwn-0x5000c500837d35e7 ONLINE 0 0 0
wwn-0x5000c500837c21e3 ONLINE 0 0 0
wwn-0x5000c500837c2453 ONLINE 0 0 0
wwn-0x5000c5008396914b ONLINE 0 0 0
wwn-0x5000c500837cadef ONLINE 0 0 0
 
can I added more 6tb drives
Six of them in an additional/second vdev? Yes. This has the advantage of doubling the IOPS of the pool. The disadvantage is that there is no automatic re-balancing (yet).

or do I simply replace the 6tb with larger drives 1 at a time and let the rebuild occur?
Yes. That's the "classic" approach. It has the advantage to not require additional disks and space to connect them.

Since OpenZFS 2.3 there is another option, you might have in mind: RaidZ-Expansion. You could just add one/two/three disk to the existing vdev and this would increase the capacity while keeping the redundancy level.

There is no definitive recommendation for one of these three methods as "it depends"...
 
Six of them in an additional/second vdev? Yes. This has the advantage of doubling the IOPS of the pool. The disadvantage is that there is no automatic re-balancing (yet).


Yes. That's the "classic" approach. It has the advantage to not require additional disks and space to connect them.

Since OpenZFS 2.3 there is another option, you might have in mind: RaidZ-Expansion. You could just add one/two/three disk to the existing vdev and this would increase the capacity while keeping the redundancy level.

There is no definitive recommendation for one of these three methods as "it depends"...
Only thing I can possibly see needing is simply more storage. Everything else seems to be running fine now.