New to TrueNAS.
In Virtualization, I have a VM to which I want to add a new zvol that consumes the entirety of a single physical drive. (Please don't question me about this. I have my reasons, and they do not bear on the question.) Prior to the following, I have already defined a zpool that has just this one device.
While adding the disk device to the VM, I go to add a new zvol. I select the zpool from which to allocate the zvol. It then requires that I specify the zvol size. I want it to take all available space in the zpool. I go to the shell and list the zpools with
1) How do I calculate the answer that TrueNAS is looking for in this case?
2) Perhaps TrueNAS could offer the maximum value instead of me having to figure it out.
Thanks for your help!
In Virtualization, I have a VM to which I want to add a new zvol that consumes the entirety of a single physical drive. (Please don't question me about this. I have my reasons, and they do not bear on the question.) Prior to the following, I have already defined a zpool that has just this one device.
While adding the disk device to the VM, I go to add a new zvol. I select the zpool from which to allocate the zvol. It then requires that I specify the zvol size. I want it to take all available space in the zpool. I go to the shell and list the zpools with
zpool list
to get the available space. It says 928G, and that's what I enter. However, the dialog to add the zvol says that it's out of space, even after guessing significantly lower values. So I list the datasets with zfs list
and see that it is listed with a lower value - 899G. I also check the force size
option in all cases since this is a 1-device pool. Nothing works. Always the out of space error. 1) How do I calculate the answer that TrueNAS is looking for in this case?
2) Perhaps TrueNAS could offer the maximum value instead of me having to figure it out.
Thanks for your help!