[SOLVED] Expanding RAID10 ZFS pool


New Member
Oct 7, 2023
Hey everyone,

I'm a little bit confused as to expanding RAID10 ZFS pool.

I'm currently having this configuration:

  pool: pool1
 state: ONLINE
        NAME                                    STATE     READ WRITE CKSUM
        pool1                                   ONLINE       0     0     0
          mirror-0                              ONLINE       0     0     0
            ata-WDC_WD160EDGZ-11B2DA0_xxxxxxx1  ONLINE       0     0     0
            ata-WDC_WUH721816ALE6L4_xxxxxxx2    ONLINE       0     0     0
          mirror-1                              ONLINE       0     0     0
            ata-WDC_WUH721816ALE6L4_xxxxxxx3    ONLINE       0     0     0
            ata-ST18000NM003J-2TV102_xxxxxxx4   ONLINE       0     0     0

I've bought 4 more drives (same size) to add 2 to each mirror, but whenever I try to execute 'zpool attach' or 'zpool add' it's giving me very vague errors like "too many arguments".

Is there a way to safely add 2 new drives to each mirror without deleting the whole pool and recreating from scratch? It has more than 32TB of data.
To anyone who'll have the same issue:

It's rather easy.
Just execute those 2 commands:

zpool add mirror /dev/disk/by-id/your-new-disk-1 /dev/disk/by-id/your-new-disk-2
zpool add mirror /dev/disk/by-id/your-new-disk-3 /dev/disk/by-id/your-new-disk-4



The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!