Upgrading capacity of VDEV?

I currently have multiple mirrored VDEVs in my pool consisting of two HDDs in each VDEV.

Some of them are 2 x 3TB drives which are old and certainly due for replacing.

If I replaced a 3TB drive in a mirror for a 8TB drive for example and allow it to complete a resilver, could I then swap the other 3TB drive for a 8TB and would the mirror then use the full 16TB?

I am at full capacity in the case so have to do “one in, one out”.

As an aside, could I “merge” VDEVs to reduce disk count if that makes sense?

2 x vdevs of 4 x 3TB drives, replace with 1 x vdev of 2 x 8TB drives for example?

Apologies if I have misunderstood anything. Appreciative of any input.

Cheers.

Yes–once you click the “Expand Pool” button after the replacement.

Not exactly, but you can remove vdevs from the pool (if you have enough space free), and ZFS will move the data to the remaining vdevs.

1 Like

Thank you. Perfect.

Removing the vdevs is more elegant than my hack idea.

Will expand one of the vdevs then once that is done, I can remove one and start freeing up disk capacity.

Love ZFS.