Hi!
I've been struggling to understand how zfs and raidz works and how it report available space.
I'm testing a setup where I use Proxmox host to create a couple of VM for my personnal use.
My first project is a freeNAS. I scavenged 3 2TB hard drive from old setup (if everything works fine, i'm planning on investing on real NAS drive).
So I created in my pve a storage zfs pool using the three drives and set them up in a raidz. Until now, everything is fine, I understand that in a raidz, i loose one drive for parity. So I end up with a zpool of 3.52TiB of available space.
Then, i created a FreeNAS VM using the SSD boot drive for the VM boot drive.
Now the part I don't understand. I want to allocate all my zfs pool for the freeNAS, so I go in hardware, add a hard drive, select the zpool (which report as 3.52TiB) and then for the storage space, which is in GiB, I try to input 3500. but it returns this error:
zfs error: cannot create 'mypool/vm-100-disk-0': out of space at /usr/share/perl5/PVE/API2/Qemu.pm line 1334. (500)
After messing around, I find that I cannot create a hard drive bigger than approximately 2600 GiB. Then I go back to the storage of the pve folder, and the 3.52 Tib is almost full.....
I don't understand why I cannot allocate 3500GiB or something like that to the vm.
I've been struggling to understand how zfs and raidz works and how it report available space.
I'm testing a setup where I use Proxmox host to create a couple of VM for my personnal use.
My first project is a freeNAS. I scavenged 3 2TB hard drive from old setup (if everything works fine, i'm planning on investing on real NAS drive).
So I created in my pve a storage zfs pool using the three drives and set them up in a raidz. Until now, everything is fine, I understand that in a raidz, i loose one drive for parity. So I end up with a zpool of 3.52TiB of available space.
Then, i created a FreeNAS VM using the SSD boot drive for the VM boot drive.
Now the part I don't understand. I want to allocate all my zfs pool for the freeNAS, so I go in hardware, add a hard drive, select the zpool (which report as 3.52TiB) and then for the storage space, which is in GiB, I try to input 3500. but it returns this error:
zfs error: cannot create 'mypool/vm-100-disk-0': out of space at /usr/share/perl5/PVE/API2/Qemu.pm line 1334. (500)
After messing around, I find that I cannot create a hard drive bigger than approximately 2600 GiB. Then I go back to the storage of the pve folder, and the 3.52 Tib is almost full.....
I don't understand why I cannot allocate 3500GiB or something like that to the vm.