🌐
GitHub
github.com › openzfs › zfs › discussions › 15232
RAIDZ Expansion feature discussion · openzfs/zfs · Discussion #15232
Expansion does not change the number of failures that can be tolerated without data loss (e.g. a RAID-Z2 is still a RAID-Z2 even after expansion). Beta Was this translation helpful?
Author   openzfs
🌐
Reddit
reddit.com › r/homelab › raidz expansion is officially released.
r/homelab on Reddit: RaidZ Expansion is officially released.
January 14, 2025 - After the expansion completes, old blocks remain with their old data-to- parity ratio (e.g. 5-wide RAIDZ2, has 3 data to 2 parity), but distrib‐ uted among the larger set of disks. New blocks will be written with the new data-to-parity ratio (e.g. ...
🌐
Reddit
reddit.com › r/proxmox › zfs raidz2 pool expansion
r/Proxmox on Reddit: ZFS RAIDZ2 pool expansion
May 25, 2025 -

Hello to all Proxmox wizards 🧙‍♂️

I recently started my journey from ditching Synology and going Proxmox.

I had Proxmox VE 8 and now I upgraded to 9.

For starters I created a ZFS RAIDZ2 pool of 4x Samsung 990 EVO Plus 2 TB (nvme). This is much more than enough storage for VMs and LXCs, I needed a fast and snappy storage for databases, and all other things running on the thing. I have also "enabled" monthly zpool scrubs.

Now I want to also do a tank volume; ZFS RAIDZ2 - 5x 24TB Seagate EXOS; to store media files for Plex and other files that don't need high speed and snappy responses (school stuff, work documents,...)

My question is... let's say down the road I would like to pop another HDD to the tank volume to expand it. On Synology this is simple to achieve, since I use basic RAID6, but as I was looking around ZFS it seems to be a pain in the ass or even impossible to expand an existing volume (before the raidz_expansion).

I noticed that the latest Proxmox Backup 4 offers "live RAIDZ expansion" and I also upgraded the zpool of my nvmes and it said that it enabled the "raidz_expansion" flag.

Since I haven't purchased the HDDs yet I would like to hear your advice on how to implement such a tank volume with future expansions in mind and to prevent my dumbness from costing me time and my nerves?

Also how does typically a zpool expansion work? Do I just pop a new disk in and run a command and everything gets handled or is there some more manual work? How "safe" is the expansion operation if something fails during?

------

Specs of my Proxmox

* I am planning on upgrading memory to 128 GB when adding HDD tank volume; allocating 64 GB of RAM to ARC (I hope it will be okay since the tank volume will store mostly media files for plex and other files that don't need a super high IOPS or read/write)

Thank you in advance for your help 😄

🌐
Louwrentius
louwrentius.com › zfs-raidz-expansion-is-awesome-but-has-a-small-caveat.html
ZFS RAIDZ expansion is awesome but has a small caveat
After the expansion completes, old blocks remain with their old data-to-parity ratio (e.g. 5-wide RAIDZ2, has 3 data to 2 parity), but distributed among the larger set of disks. New blocks will be written with the new data-to-parity ratio (e.g. a 5-wide RAIDZ2 which has been expanded once to ...
🌐
FreeBSD Foundation
freebsdfoundation.org › home › blog › raid-z expansion feature for zfs in the home stretch
RAID-Z Expansion Feature for ZFS In the Home Stretch | FreeBSD Foundation
February 9, 2022 - The name of the existing raidz vdev is “raidz2-0” and “/var/tmp/6” is the name of the new disk. That looks a little different than disk names in production. The point here is to show placement in the command line for the actual name of the disk. Expect it to take a while as it has to move the data around on the disks. This line will report the progress it is making for you: “raidz expand: Expansion of vdev 0 in progress since Wed Jun 9 16:36:19 2021
🌐
mtlynch.io
mtlynch.io › raidz1-to-raidz2
Migrating a ZFS pool from RAIDZ1 to RAIDZ2 · mtlynch.io
July 25, 2025 - The data that exists on the disks prior to the RAIDZ expansion does not automatically restripe from 3x data + 2x parity to 5x data + 2x parity, so it can’t take advantage of the improved storage efficiency of the 7-disk array. The net effect is that you can’t use all of the capacity on your RAIDZ2 pool. You can work ...
🌐
GitHub
github.com › openzfs › zfs › pull › 12225
RAIDZ Expansion feature by ahrens · Pull Request #12225 · openzfs/zfs
Expansion does not change the number of failures that can be tolerated without data loss (e.g. a RAIDZ2 is still a RAIDZ2 even after expansion). A RAIDZ vdev can be expanded multiple times.
Author   openzfs
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox backup server › proxmox backup: installation and configuration
Possible to expand zfs raidz2 Array | Proxmox Support Forum
October 3, 2025 - 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.
Find elsewhere
🌐
Reddit
reddit.com › r/unraid › raidz expansion has arrived !
r/unRAID on Reddit: RAIDZ expansion has arrived !
August 22, 2023 - Are we able to expand our zfs raidz2 array? Or not. ... Not yet. Maybe we should ask unraid developers when they will implement this?🤔 ... I'm not talking about in unraid, I mean in general. If this is a thing, I'll be moving back to Ubuntu server. more replies More replies More replies More replies More replies More replies ... Then I don't see how this replaces unraid... ... Because one disk expansion is now possible and wasn't before.
🌐
Ars Technica
arstechnica.com › gadgets › 2021 › 06 › raidz-expansion-code-lands-in-openzfs-master
ZFS fans, rejoice—RAIDz expansion will be a thing very soon - Ars Technica
June 15, 2021 - With the new code, you’ll be able to attach new disks to an existing RAIDz vdev as well. Doing so expands the vdev in width but does not change the vdev type, so you can turn a six-disk RAIDz2 vdev into a seven-disk RAIDz2 vdev, but you can’t turn it into a seven-disk RAIDz3. Upon issuing your zpool attach command, the expansion begins.
🌐
OpenZFS
openzfs.org › w › images › 5 › 5e › RAIDZ_Expansion_2023.pdf pdf
RAIDZ Expansion 2023
raidz2 4.50G 4.29G 215M - - 60% 95.3% New! Solution · + zpool wait test -t raidz_expand · + zpool status test · pool: test · state: ONLINE · raidz expand: Expansion of vdev 0 copied 4.27G in 0h3m, completed on Wed Jun 9 16:39:31 2021 · config: NAME STATE READ WRITE CKSUM ·
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox backup server › proxmox backup: installation and configuration
[SOLVED] - PBS 4: ZFS raidz2 - live expansion possible? | Proxmox Support Forum
October 22, 2025 - It will went ... but slower as before when expansion (which is even really slow) is done. Remember you are talking about extent a raidz2 pool with a single disk so even assume you have a single vdev.
🌐
Reddit
reddit.com › r/zfs › state of raidz expansion in 2024?
r/zfs on Reddit: State of RAIDZ expansion in 2024?
September 29, 2024 -

Hey guys, I'm quite new to zfs and mass storage of data in general. I am hoping posting here will help both me and other newbs like me in the future. I have a basic setup: a 10TB drive with all my data on it, and 2x 10TB brand new drives in my 5-bay home NAS. The idea is for me to start as cheaply as possible and expand my data storage capabilities over time. I was going to start with Z1 across the 2 new drives, transfer my files from the old 10TB data drive to the new pool, format and add the 10TB itself to the pool, and add 2 more drives to the pool next year as my storage requirements increase over time. What is the state of RAIDZ expansion in 2024? I've read the GitHub PR, the GitHub general discussion, and many how-to articles and watched many tutorials on how to do it, but OpenZFS documentation seems to still behind on this topic. Will pool expansion result in data loss? Will parity be inferior to a pool set up as a 5-drive pool from the start? Can I really start out using zfs with one vdev 2 drives 1 parity and scale that to 50 drives 1 parity? Thanks.

🌐
ServeTheHome
forums.servethehome.com › software platforms › linux admins, storage and virtualization
ZFS array expansion | ServeTheHome Forums
If you DO have backups, or this is your backup for everything on the volume my *personal* path of balanced risk would be: 1. One by one pull AND VERIFY drives from each VDEV leaving one disk redundancy IF you need those drives for step 2 2 A. Assuming the volume is fairly under-filled: Build a new VDEV of at least raidz1 with compression on. If possible with drives you won't be using in the final volume. Verify everything transferred and create the new final volume (finally using the drives from the original volume if desired) and transfer again. If you are short on disks during the transfer (assuming raidz2 or raidz3), you can use a sparse file as a member of the VDEV and then *DELETE IT* before attempting to copy data.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Adding 2 new drives to expand a raidz2 pool | Proxmox Support Forum
September 5, 2025 - Click to expand... IF you read the manual you'll find that it is possible to add a drive (or two, one after another) to an existing RaidZ2 vdev. The search-term is RaidZ-Expansion.
🌐
Reddit
reddit.com › r/zfs › raidz expansion feature (beta?)
r/zfs on Reddit: RAIDZ Expansion feature (BETA?)
April 10, 2022 -

I hope I have all my terminology correct. I knew what I was talking about when I set this up, a year later and I'm a little rusty

I have a raidz2 vdev in a zfs pool made up of 5 16tb exos drives. I am in need of additional storage space in the same vdev. I only have the means to add a few drives, and one at a time most likely.

I know this feature has been right around the corner for a while:

https://github.com/openzfs/zfs/pull/12225

It seems to be in beta now! My data is not so mission critical that I need to await full integration, I can try the beta.
Is it as simple as running zpool attach POOL raidzP-N NEW_DEVICE?
Am I missing anything?
Any warnings I should heed?

🌐
Reddit
reddit.com › r/truenas › raidz2 incremental expansion - now available? or not?
r/truenas on Reddit: RaidZ2 incremental expansion - now available? or not?
August 19, 2024 -

Hello, I'm currently setting up my first home-built NAS server. Moving from two QNAP boxes to a custom build. I'm a photographer and store all my photos on the NAS, for processing and working on in Lightroom.

(14gen i3, 32GB ram, 250GB M.2 for the OS, and a 4-6 Ironwolf drives for storage, TrueNAS Scale 24.04).

I'm trying to plan for future expansion. I'm considering a Raidz2 instead of Raidz1 for increased redundancy, but trying to figure out how frustrating it will be in the future to add storage.

Right now I have 4x 8TB Ironwolf drives, and my understanding is that I could make a RAIDz1 with storage space of ~20TB, or I could make them a RAIDz2 with ~14TB of space. But I know I will need more storage in the future. For instance, I will probably want to have a 5x 8TB RAIDz2 with ~20TB of storage within a year. I'd rather wait for a year to buy another hard drive if possible.

I'm getting conflicting information online about this. Most people seem to say that it's impossible to just add another disk to a RAIDz2 array without wiping all the data and starting again. But this page seems to imply that it is possible to add one disk to make a 4x8TB RAIDz2 to a 5x8TB RAIDz2: https://www.truenas.com/docs/scale/scaletutorials/storage/managepoolsscale/

Can someone please help me understand if this is possible? Thank you!

🌐
FreeBSD
forums.freebsd.org › base system › storage
expanding RAIDZ2 | The FreeBSD Forums
January 19, 2013 - AFAIK 6 disks is better with raidz2 instead of 7 anyway because of the inability to have evenly divided stripes using a 7-disk (5-data, 2-parity) configuration.