hdsize seems to be ignored

WoetWoet

New Member
Feb 22, 2020
1
0
1
33
Hi,

I'm trying to install Proxmox on zfs (RAID10) and I specified hdsize to be 100 GB:
zfs_100.png

However, after installation, it seems like it just used the entire disk:
Bash:
root@proxmox:~# zpool status
  pool: rpool
 state: ONLINE
  scan: none requested
config:

    NAME                                            STATE     READ WRITE CKSUM
    rpool                                           ONLINE       0     0     0
      mirror-0                                      ONLINE       0     0     0
        ata-TOSHIBA_MG05ACA800E_10KXKHLRF56E-part3  ONLINE       0     0     0
        ata-TOSHIBA_MG05ACA800E_10IPKFDIF56E-part3  ONLINE       0     0     0
      mirror-1                                      ONLINE       0     0     0
        ata-TOSHIBA_MG05ACA800E_10KXKHLPF56E        ONLINE       0     0     0
        ata-TOSHIBA_MG05ACA800E_10KXKHLQF56E        ONLINE       0     0     0

errors: No known data errors


root@proxmox:~# zpool get size rpool
NAME   PROPERTY  VALUE  SOURCE
rpool  size      7.36T  -


root@proxmox:~# df -h
Filesystem        Size  Used Avail Use% Mounted on
udev               32G     0   32G   0% /dev
tmpfs             6.3G  9.8M  6.3G   1% /run
rpool/ROOT/pve-1  7.2T  923M  7.2T   1% /
tmpfs              32G   25M   32G   1% /dev/shm
tmpfs             5.0M     0  5.0M   0% /run/lock
tmpfs              32G     0   32G   0% /sys/fs/cgroup
rpool             7.2T  128K  7.2T   1% /rpool
rpool/data        7.2T  128K  7.2T   1% /rpool/data
rpool/ROOT        7.2T  128K  7.2T   1% /rpool/ROOT
/dev/fuse          30M   16K   30M   1% /etc/pve
tmpfs             6.3G     0  6.3G   0% /run/user/0
root@proxmox:~#

Not sure what I'm doing wrong. For the record, I'm trying to achieve the following:

- The server has 4x 8 TB drives and I have a bunch of important files and a bunch more unimportant files I want to store on it.
- To use my space optimally, I'd like a small redundant partition of 1 TB on RAID 10 for the important files and a big RAID 0 partition for the unimportant files.
- Even better would be to be able to start off small and extend these partitions as needed, but that might be difficult.
- These partitions will only hold VM images, the actual files will be stored inside the VMs themselves.

How would I be able to accomplish this?
 
* please post the lsblk output
* only the first 2 disks in a RAID 10 get the reduced size (the second and later pairs are given as a whole to the ZFS pool)