[pve-devel] applied: [PATCH installer] fix space calculation for small disks for pve product

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 22 16:29:18 CEST 2023


Am 22/06/2023 um 15:57 schrieb Stoiko Ivanov:
> The convoluted calculation logic in case the disks is 8GB leads to
> datasize becoming 16EiB further down:
> * after calculating and removing the rootsize from $rest, $rest becomes
>   smaller than $space (which should be the minimal non-used space in the
>   volume-group) - this leads to a negative value, which overflows in
>   the `& ~0xFFF` opration.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> tested in a VM with an 8GB disk
> 
>  Proxmox/Install.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list