Having a bit of a crash course in TrueNAS at the moment :)
I understand that available space is the amount of free space remaining so total space minus used space. So I created a new pool with a mirrored vdev and it reported 929.51 GB raw space. Once created -
root@truenas[~]# zfs list TestVPS-Pool
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool 26.9M 899G 96K /mnt/TestVPS-Pool
I then created a zvol using 80% of 899GB as recommended so 719GB -
root@truenas[~]# zfs list TestVPS-Pool
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool 730G 169G 96K /mnt/TestVPS-Pool
this makes sense because if you add the two together you get back to the 899GB (I'm assuming it reports 730 GB as opposed to 719 GB because of overhead).
But the zvol output I can't make sense of -
root@truenas[~]# zfs list TestVPS-Pool/TestVPS-Zvol
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool/TestVPS-Zvol 730G 899G 56K -
how can the available amount be 899 GB - should it not be 730 GB as it is empty at the moment.
When I start to use the zvol it then shows -
root@truenas[~]# zfs list TestVPS-Pool/TestVPS-Zvol
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool/TestVPS-Zvol 730G 607G 292G -
so the available + the referenced (actual data) still equals 899 GB even though the size of the zvol is 719GB.
Thanks
I understand that available space is the amount of free space remaining so total space minus used space. So I created a new pool with a mirrored vdev and it reported 929.51 GB raw space. Once created -
root@truenas[~]# zfs list TestVPS-Pool
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool 26.9M 899G 96K /mnt/TestVPS-Pool
I then created a zvol using 80% of 899GB as recommended so 719GB -
root@truenas[~]# zfs list TestVPS-Pool
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool 730G 169G 96K /mnt/TestVPS-Pool
this makes sense because if you add the two together you get back to the 899GB (I'm assuming it reports 730 GB as opposed to 719 GB because of overhead).
But the zvol output I can't make sense of -
root@truenas[~]# zfs list TestVPS-Pool/TestVPS-Zvol
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool/TestVPS-Zvol 730G 899G 56K -
how can the available amount be 899 GB - should it not be 730 GB as it is empty at the moment.
When I start to use the zvol it then shows -
root@truenas[~]# zfs list TestVPS-Pool/TestVPS-Zvol
NAME USED AVAIL REFER MOUNTPOINT
TestVPS-Pool/TestVPS-Zvol 730G 607G 292G -
so the available + the referenced (actual data) still equals 899 GB even though the size of the zvol is 719GB.
Thanks