How to add a new vdev to existing pool?

oX9ke

New Member
May 15, 2019
10
1
1
49
I installed Proxmox VE 5.4.3 in a RAIDZ2 configuration with 8x300GB hard drives. This created the following pool:

Code:
NAME         STATE     READ WRITE CKSUM
rpool           ONLINE       0         0           0
    raidz2-0  ONLINE       0         0           0
        sda3    ONLINE      0         0           0
        sdb3    ONLINE       0        0           0
        sdc3    ONLINE       0        0           0
        sdd3    ONLINE       0        0           0
        sde3    ONLINE       0        0           0
        sdf3     ONLINE       0        0           0
        sdg3    ONLINE       0        0           0
        sdh3    ONLINE       0        0           0

Now I would like to add 8x10TB hard drives in a new vdev to this existing pool. Is there a way to do this from the GUI?

I tried to do this from the command line with:
Code:
zpool create -f -o ashift=12 rpool raidz2 /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp

But that gave me an error. Basically I want 1 pool with 2 vdevs.
 
So looks like I had the wrong command. The correct command to add a vdev to an existing pool is:

Code:
zpool add -f -o ashift=12 rpool raidz2 /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp

Code:
add
instead of
Code:
create
 

About

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!