I have zfs setup as raid-5 using 4 960GB SSD drives.
zpool list shows 3.48TB of total drives and zfs list shows Avail+Used as 2.61 which is what I would expect after you loose one drive for parity and then a little space for metadata etc...
The question I have is that if you look at vm-104 for example it has a 80GB disk allocated and 8GB of memory so a total disk usage of 88GB. However compression is enabled so the actual disk usage is less than 88GB but it appears that ZFS is allocating the full 88GB and reserving the remaining space.
So it would appear that although we are using disk compression we are not able to use the disk space saved because it is being kept as reserved space anyway?
So eventually 'zfs list' will show no remaining space and we won't be able to create new vm's although 'zpool list' will show there is plenty of free space.
I'm sure there is one step I am misunderstanding here.
# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
pmox01_zfs 3.48T 1.02T 2.47T - - 13% 29% 1.00x ONLINE -

zpool list shows 3.48TB of total drives and zfs list shows Avail+Used as 2.61 which is what I would expect after you loose one drive for parity and then a little space for metadata etc...
The question I have is that if you look at vm-104 for example it has a 80GB disk allocated and 8GB of memory so a total disk usage of 88GB. However compression is enabled so the actual disk usage is less than 88GB but it appears that ZFS is allocating the full 88GB and reserving the remaining space.
So it would appear that although we are using disk compression we are not able to use the disk space saved because it is being kept as reserved space anyway?
So eventually 'zfs list' will show no remaining space and we won't be able to create new vm's although 'zpool list' will show there is plenty of free space.
I'm sure there is one step I am misunderstanding here.
# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
pmox01_zfs 3.48T 1.02T 2.47T - - 13% 29% 1.00x ONLINE -




