Proxmox ZFS expand pool hdsize

kyesil

Member
Nov 14, 2021
12
5
8
26
Hello
I just setup new pve zfs radiz1 with 3 X 960 GB hdd. I think I made a mistake while setting zfs.
my pool after setup. i see only 34.5GB. i think wrong value hdsize while proxmox setup. How can i expand my pool entire disk? Thank you.

Code:
/# zfs list
NAME               USED  AVAIL  REFER  MOUNTPOINT
rpool             1.98G  34.5G   139K  /rpool
rpool/ROOT        1.98G  34.5G   128K  /rpool/ROOT
rpool/ROOT/pve-1  1.98G  34.5G  1.98G  /
rpool/data         128K  34.5G   128K  /rpool/data
rpool/var-lib-vz   149K  34.5G   149K  /var/lib/vz


Code:
/# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 893.8G  0 disk
|-sda1   8:1    0  1007K  0 part
|-sda2   8:2    0     1G  0 part
`-sda3   8:3    0    19G  0 part
sdb      8:16   0 893.8G  0 disk
|-sdb1   8:17   0  1007K  0 part
|-sdb2   8:18   0     1G  0 part
`-sdb3   8:19   0    19G  0 part
sdc      8:32   0 893.8G  0 disk
|-sdc1   8:33   0  1007K  0 part
|-sdc2   8:34   0     1G  0 part
`-sdc3   8:35   0    19G  0 part
sr0     11:0    1   1.2G  0 rom
 
Last edited:
First you have to extend the size of the third partitions (for example using gparted). Then ZFS should automatically extend the pool in case the autoextend option is set. If not you can force it with the "zpool online -e" command.
 

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!